Hi all, Again in the credentials problem, this is *WEIRD*: in my code I have (from de pjsua_simple) pjsua_acc_config cfg; pjsua_acc_config_default(&cfg); cfg.id = pj_str("sip:" SIP_USER "@" SIP_DOMAIN); cfg.reg_uri = pj_str("sip:" SIP_DOMAIN); cfg.cred_info[0].scheme = pj_str("Digest"); cfg.cred_info[0].realm = pj_str(SIP_REALM); cfg.cred_info[0].username = pj_str(SIP_USER); cfg.cred_info[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; cfg.cred_info[0].data = pj_str(SIP_PASSWD); cfg.cred_count = 1; status = pjsua_acc_add(&cfg, PJ_TRUE, &acc_id); and then in the source of PJSIP I've added thi line right in the beginning of the *pjsua_acc_add*() code : PJ_LOG(4,(THIS_FILE, ">>>>>>>>>>>>>>>>>>>>>>>>>> GSD (pjsua_acc_add) cfg.cred_count = %d (cred[0].realm: %s)", cfg->cred_count, cfg->cred_info[0].realm)); And this shows: 13:31:02.423 pjsua_acc.c >>>>>>>>>>>>>>>>>>>>>>>>>> GSD (pjsua_acc_add) cfg.cred_count = 0 (cred[0].realm: (null)) HOW THIS IS POSSIBLE?!?! I've just set the cred_count to 1, and when it enters the function is is 0! Please help! thanks Gabriel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101214/699ecba1/attachment.html>