[pjsip] Error 403 with SIP Provider
samuelv at users.sourceforge.net
Sat Sep 8 07:41:15 EDT 2007
I resolved the problem, in fact on Nintendo DS there is not thread. So I
must use pjsua_handle_events function to
poll socket buffer.
Like this, the process of registration proceeds fine.
Samuel Vinson a écrit :
> I tested "pjsua" on windows with option : --thread-cnt 0
> I obtained the same problem I have with nintendo ds.
> - PJSUA sended SIP Register
> - SIP Provider answered 401 unauthorized
> - no traffic, PJSUA says account #2 sip:XXXXXX at freephonie.net:
> 100/In Progress
> - PJSUA made call (command m; SIP:phone_number at freephonie.net)
> PJSUA sended SIP Invite
> - SIP Provider answered 100 Trying
> - SIP Provider answerd 403 not registed
> I think there is a problem in registration step when there is not any
> But I don't have any idea to localize the problem. Do you have simple test ?
> I remember that in the mailing list, discussion on select socket.
> Perhaps, it is the problem.
> Samuel Vinson a écrit :
>> With Nintendo DS, I make calls (simpleua) with success to pjsua on
>> But when I try to make calls with my SIP provider (accound + pwd),
>> simpleua or simple_pjsua receive error 403 (unauthorized).
>> So I try to make call with simple_pjsua from windows with my SIP
>> provider, I receive the same message. After investigation, I add one
>> pause (500ms) between pjsua_acc_add and pjsua_call_make_call. In this
>> case, the negotiation is ok and the calling is establishing.
>> So I test the same solution on nintendo DS, but I always receive error
>> 403. If I'm increasing the pause, the problem persists.
>> Do you have idea to resolve the negotiation problem between nintendo
>> ds and SIP Provider ?
> pjsip mailing list
> pjsip at pjsip.org
More information about the pjsip