Ignore:
Timestamp:
May 2, 2007 11:29:37 AM (17 years ago)
Author:
bennylp
Message:

PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing follows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c

    r1127 r1242  
    683683     
    684684    if (acc->reg_last_err) { 
    685         info->status = acc->reg_last_err; 
     685        info->status = (pjsip_status_code) acc->reg_last_err; 
    686686        pj_strerror(acc->reg_last_err, info->buf_, sizeof(info->buf_)); 
    687687        info->status_text = pj_str(info->buf_); 
    688688    } else if (acc->reg_last_code) { 
    689689        if (info->has_registration) { 
    690             info->status = acc->reg_last_code; 
     690            info->status = (pjsip_status_code) acc->reg_last_code; 
    691691            info->status_text = *pjsip_get_status_text(acc->reg_last_code); 
    692692        } else { 
    693             info->status = 0; 
     693            info->status = (pjsip_status_code) 0; 
    694694            info->status_text = pj_str("not registered"); 
    695695        } 
    696696    } else if (acc->cfg.reg_uri.slen) { 
    697         info->status = 100; 
     697        info->status = PJSIP_SC_TRYING; 
    698698        info->status_text = pj_str("In Progress"); 
    699699    } else { 
    700         info->status = 0; 
     700        info->status = (pjsip_status_code) 0; 
    701701        info->status_text = pj_str("does not register"); 
    702702    } 
Note: See TracChangeset for help on using the changeset viewer.