pjsua_acc_config accfg ; pjsua_acc_config_default(&accfg) ; #define SIPUSER "88138" #define SIPDOMAIN "192.168.17.151:5060" #define SIPPSW "sippsw" accfg.id= pj_str("sip:"SIPUSER"@"SIPDOMAIN); accfg.reg_uri=pj_str("sip:"SIPDOMAIN); accfg.cred_count =1 ; accfg.cred_info[0].realm=pj_str(SIPDOMAIN) ; accfg.cred_info[0].scheme= pj_str("digest"); accfg.cred_info[0].username=pj_str(SIPDOMAIN) ; accfg.cred_info[0].data_type =PJSIP_CRED_DATA_PLAIN_PASSWD; accfg.cred_info[0].data=pj_str(SIPPSW); status = pjsua_acc_add(&accfg,PJ_TRUE,&_accid); when i debug it the red part , all accft value is 0?? could someone tell my why PJSIP can't store data in pjsua_acc_config , Best regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150417/7438a4d3/attachment.html>