Pjsip outgoing calls without registration

JA
Javed Ahmed
Mon, Jan 3, 2011 9:35 AM

Hi,

I have a quick question, does pjsip supports outgoing calls without
registration, I tried it in my application but after the app receives 407 ,
it gives error as follows

13:08:59.031 sip_auth_clien  Unable to set auth for tdta05E382B8: can not
find credential for sip.beyondphone.com/Digest

Please help me in this regard.

Hi, I have a quick question, does pjsip supports outgoing calls without registration, I tried it in my application but after the app receives 407 , it gives error as follows 13:08:59.031 sip_auth_clien Unable to set auth for tdta05E382B8: can not find credential for sip.beyondphone.com/Digest Please help me in this regard.
OH
Omar Hussein
Mon, Jan 3, 2011 10:41 PM

Yes it is possible to call without Registration.

Have you setup the credentials for the account. e.g.

cfg.cred_info[0].realm = pj_str(realm);

cfg.cred_info[0].scheme = pj_str("digest");

cfg.cred_info[0].username = pj_str(username);

cfg.cred_info[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD;

cfg.cred_info[0].data = pj_str(password);

On Mon, Jan 3, 2011 at 8:35 PM, Javed Ahmed javed@advoss.com wrote:

Hi,

I have a quick question, does pjsip supports outgoing calls without
registration, I tried it in my application but after the app receives 407 ,
it gives error as follows

13:08:59.031 sip_auth_clien  Unable to set auth for tdta05E382B8: can not
find credential for sip.beyondphone.com/Digest

Please help me in this regard.


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

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

Yes it is possible to call without Registration. Have you setup the credentials for the account. e.g. cfg.cred_info[0].realm = pj_str(realm); cfg.cred_info[0].scheme = pj_str("digest"); cfg.cred_info[0].username = pj_str(username); cfg.cred_info[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; cfg.cred_info[0].data = pj_str(password); On Mon, Jan 3, 2011 at 8:35 PM, Javed Ahmed <javed@advoss.com> wrote: > Hi, > > > > I have a quick question, does pjsip supports outgoing calls without > registration, I tried it in my application but after the app receives 407 , > it gives error as follows > > > > 13:08:59.031 sip_auth_clien Unable to set auth for tdta05E382B8: can not > find credential for sip.beyondphone.com/Digest > > > > Please help me in this regard. > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >