I came across the same registration problem, coz I had given realm as "*". So in your code it's: accConfig.cred_info[0].realm = pj_str("*"); Change the cred info to your sip provider( In my case it was asterisk) accConfig.cred_info[0].realm = pj_str("astersik"); Once I did as above it did register my account and their was no more credential problem or so. And also change accConfig.reg_uri = pj_str("sip:"SIP_DOMAIN); as mentioned by Tal. On Wed, Sep 16, 2009 at 4:07 AM, Tal Fromm <tal.fromm at gmail.com> wrote: > I think your problem is with the following line: > accConfig.reg_uri = pj_str("sip:"SIP_USER"@"SIP_DOMAIN); > > You should write it like: > accConfig.reg_uri = pj_str("sip:"SIP_DOMAIN); > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090916/aba1a7b9/attachment.html>