On 4/14/06, Colin Whittaker <[EMAIL PROTECTED]> wrote: > 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....
This is because nua_ack() should only be used when you get a 2XX to INVITE. This is because SIP protocol (like NUA and NTA as well) treats ACK to a failure response (3XX upwards) as a part of the original INVITE transaction. > Is the nua_handle capable of multiple simultaneous transactions ? Currently, in pretty limited manner. You can do INVITE/CANCEL/ACK in parallel to other 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 ). This affects only to the "successful ACK" case. Failure responses are always ACKed automatically. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------- 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&kid0944&bid$1720&dat1642 _______________________________________________ Sofia-sip-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
