Looks like restart is not getting set in ua_authenticate, so we have a NULL pointer call. I think this is a bug in ua_authenticate() that restart() is not tested before trying to call the function pointer.

Not sure why neither of the restarts are set.....still digging.....

Colin..

Colin Whittaker wrote:
I am working on an inter operation with a switch which requires all setup messages to be authenticated, and uses reliable provisional responses.
Here is their call flow:
sofia-sip   Switch
INVITE
            401
ACK
INVITE(auth)
            100
            183
PRACK
            401
PRACK(auth)
            200 (PRACK)
            200 (INVITE)
ACK

I can't seem to get sofia to send the Authenticated PRACK.
Why is there no nua_r_prack event ? ( This would be useful to get the WWW-Authenticate: header )

The event I do get is a nua_i_state with status 401.
I tried sending the same NUATAG_AUTH() to a nua_authenticate().
The stack appears to crash in ua_authenticate() after doing this ?
Is this the proper thing to do ?

Is this a bug I should be trying to track down, or am I doing something wrong ?

Colin..





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to