Hi all,
I have a question about nua_cancel().
Should I use the same handle to CANCEL that I use to send the original
INVITE ?
I think yes, but while inter-working with Asterisk PBX, I see this odd
behavior.
I send INVITE, and get back 100, and 180 responses.
Local hangup, so I send CANCEL, the PBX sends back the 487 response to
the INVITE before the 200 response to the CANCEL.
I send the ACK, and the stack gives me a 500 No response to ACK error....
Here is a condensed trace:
nua_cancel( hd )
SIP packet out CANCEL
SIP packet in 487 (INVITE)
nua_r_invite, status 487, phrase Request Terminated
nua_ack( hd )
nua_i_state, status 487, phrase Request Terminated
nua_i_terminated, status 487, phrase Request Terminated
nua_i_error, status 500, phrase No response to ACK
SIP packet in 200 (CANCEL)
nua_r_cancel, status 200, phrase OK
nua_handle_destroy( hd )
SIP packet out ACK
Maybe I should wait for the response to CANCEL before nua_ack() ??? This
seems like a lot of extra checking.
Is the nua_handle capable of multiple simultaneous transactions ?
How does that final ACK get sent ? Is that in response to my
nua_handle_destroy() ? I set the handle parameter NUTAG_AUTOACK( 0 ).
Any thoughts are greatly appreciated.
Thanks,
Colin..
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel