[pjsip] Adding Account

Benny Prijono bennylp at pjsip.org
Wed Jul 2 10:55:21 EDT 2008


On Wed, Jul 2, 2008 at 2:57 PM, Lucas Rosa Galêgo <lrgalego at gmail.com> wrote:
> Hi folks,
>
> I was trying to test the PJSUA app and compiled the c modules well under
> ubuntu linux.
> I started the application and try to add an account on my sip server ( an
> Asterisk in the same machine) using the +a option, but I had a error telling
> me that the URI was invalid (the error didn't tell what URI is invalid).
> There is a format especific to enter with the strings in the +a option?
> Anyone has an example working?
>

This works fine:

>>> +a
Your SIP URL: (empty to cancel): sip:bennylp at pjsip.org
URL of the registrar: (empty to cancel): sip:pjsip.org
Auth Realm: (empty to cancel): *
Auth Username: (empty to cancel): bennylp
Auth Password: (empty to cancel): secret
 15:53:11.183    pjsua_acc.c Account sip:bennylp at pjsip.org added with id 2

Cheers
 Benny



More information about the pjsip mailing list