[pjsip] How I can register PJSUA with ASTERISK

Christian Beer chbeer at web.de
Tue Apr 8 08:26:12 EDT 2008


Hi Gianluca,

for my asterisk the Real was "asterisk" without quotes. Try that and  
ensure that the user is added to asterisks sip.conf.


Greets,
Christian

Am 08.04.2008 um 14:02 schrieb Gianluca Crucillà:

>
> Hi all,
>
> sorry for my english..
>
> one question: how i can register pjsua (pjproject-0.8.0) with the  
> Asterisk PBX ?
>
> I tried with cmd "+a" but Asterisk answered with a 404 Not Found.
>
> After the "+a" cmd i answered so:
>
> Your SIP URL: sip:192.168.167.166:5060   (my IP URL)
> URL of the registrar: sip:192.168.1.167:5060  (Asterisk IP URL)
> Auth Realm: sip:192.168.1.167:5060  (Asterisk IP URL)
> Auth Username: 9253 (username that Asterisk waits)
> Auth Password: 1000
>
> Then i see two SIP-message ( the register request and the answer  
> from Asterisk)
>
> In the 2 side (in PJSUA and in ASTERISK) i can see that the register  
> request don't have the username..
>
> Asterisk can't register a peer that it don't have the username in  
> the register request .
>
> Thanks  ..
>
>
> _______________________________________________
> 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/20080408/b259eee2/attachment.html>


More information about the pjsip mailing list