Make a call with authentication but no registration

CM
Chris Maciejewski
Wed, Mar 13, 2013 1:49 PM

Hi,

I am playing with Python pjsua and can make calls using code below:

http://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip-apps/src/python/samples/call.py

However before making a call PJSUA will always REGISTER with a SIP server.

Could someone suggest how to make an outbound call with SIP
authentication (username/password) without registering first?

Regards,
Chris

Hi, I am playing with Python pjsua and can make calls using code below: http://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip-apps/src/python/samples/call.py However before making a call PJSUA will always REGISTER with a SIP server. Could someone suggest how to make an outbound call with SIP authentication (username/password) without registering first? Regards, Chris
JL
Jeff Localphone
Wed, Mar 13, 2013 2:15 PM

Hi Chris,

If you look at the code here:

http://trac.pjsip.org/repos/wiki/Python_SIP/Accounts

you will see that the URI for registering (for incoming calls) is set using
this:

acc_cfg.reg_uri = "sip:pjsip.org"

Failure to set reg_uri will result in the account not registering  :-)

Jeff

On Wed, Mar 13, 2013 at 1:49 PM, Chris Maciejewski chris@wima.co.uk wrote:

Hi,

I am playing with Python pjsua and can make calls using code below:

http://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip-apps/src/python/samples/call.py

However before making a call PJSUA will always REGISTER with a SIP server.

Could someone suggest how to make an outbound call with SIP
authentication (username/password) without registering first?

Regards,
Chris


Visit our blog: http://blog.pjsip.org

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

Hi Chris, If you look at the code here: http://trac.pjsip.org/repos/wiki/Python_SIP/Accounts you will see that the URI for registering (for incoming calls) is set using this: acc_cfg.reg_uri = "sip:pjsip.org" Failure to set reg_uri will result in the account not registering :-) Jeff On Wed, Mar 13, 2013 at 1:49 PM, Chris Maciejewski <chris@wima.co.uk> wrote: > Hi, > > I am playing with Python pjsua and can make calls using code below: > > > http://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip-apps/src/python/samples/call.py > > However before making a call PJSUA will always REGISTER with a SIP server. > > Could someone suggest how to make an outbound call with SIP > authentication (username/password) without registering first? > > Regards, > Chris > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >