why configure faild all memory not be setted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux