I am building a user agent client using nta in stateful mode. I have noticed when I send a successful INVITE, after I generate the ACK for the 200 OK if the remote side happens to retransmit the 200 OK (i.e., perhaps the ACK got lost) that the sofia stack is not resending the ACK.
I am wondering my problem is that I am destroying the ACK transaction directly after I send it. nta_outgoing_t* ack_request = nta_outgoing_tcreate(outgoing_leg, NULL, NULL, NULL, SIP_METHOD_ACK, (url_string_t*) sip->sip_contact->m_url , TAG_END()); nta_outgoing_destroy( ack_request ) ; I do this to avoid a memory leak. However, I need the stack to handle retransmissions of the ACK request for me. Is the solution for me to keep the ACK transaction around for longer? If so, any suggestions as to when I can safely destroy it? ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel