https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r141565 | murf | 2008-09-06 14:13:16 -0600 (Sat, 06 Sep 2008) | 1 line
This fix comes from Joshua Colp The Brilliant, who, given the trace, came up with a solution. This will most likely will close 13235 and 13409. I'll wait till Monday to verify, and then close these bugs.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@141566
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
transmit_response_reliable(p, "487 Request Terminated", &p->initreq);
}
+ __sip_pretend_ack(p);
+
p->invitestate = INV_TERMINATED;
copy_request(&p->initreq, req);