Account Registration 404 Not Found

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

 



Hello. I have the following information regarding a SIP account:

SIP Registrar: sip.xyz.com
SIP User: 0123456789 (it's a phone number)
SIP Password: abcdefghi1234
SIP Authorization name: 0123456789.1011

When I create the account I first get "401 Unauthorized" and after that I get "404 Not Found" response from server.

account = new MyAccount;
AccountConfig accountConfig;

accountConfig.idUri = "sip:0123456789@xxxxxxxxxxx";
accountConfig.regConfig.registrarUri = "sip:sip.xyz.com";
accountConfig.sipConfig.authCreds.push_back(AuthCredInfo("Digest", "*", "0123456789", 0, "abcdefghi1234"));

What am I doing wrong? Where do I have to put SIP Authorization name? Thanks.
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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