[pjsip] How I can register PJSUA with ASTERISK

Gianluca Crucillà crucilla at gmail.com
Tue Apr 8 08:02:48 EDT 2008


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  ..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080408/e179a75a/attachment.html>


More information about the pjsip mailing list