[asterisk-commits] dvossel: branch dvossel/sip_forked_responses r289176 - /team/dvossel/sip_fork...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 28 17:02:25 CDT 2010


Author: dvossel
Date: Tue Sep 28 17:02:21 2010
New Revision: 289176

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=289176
Log:
make sure to build the route from the 200ok response

Modified:
    team/dvossel/sip_forked_responses/channels/chan_sip.c

Modified: team/dvossel/sip_forked_responses/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/sip_forked_responses/channels/chan_sip.c?view=diff&rev=289176&r1=289175&r2=289176
==============================================================================
--- team/dvossel/sip_forked_responses/channels/chan_sip.c (original)
+++ team/dvossel/sip_forked_responses/channels/chan_sip.c Tue Sep 28 17:02:21 2010
@@ -7256,8 +7256,8 @@
 enum match_req_res {
 	SIP_REQ_MATCH,
 	SIP_REQ_NOT_MATCH,
-	SIP_REQ_LOOP_DETECTED,  /* multiple incoming requests containing different branch parameters have been detected */
-	SIP_REQ_FORKED, /* an outgoing request has been forked resulting in multiple separate 200ok responses */
+	SIP_REQ_LOOP_DETECTED, /* multiple incoming requests with same call-id but different branch parameters have been detected */
+	SIP_REQ_FORKED, /* An outgoing request has been forked as result of receiving two differing 200ok responses. */
 };
 
 /*
@@ -7440,6 +7440,7 @@
 	ast_string_field_set(p, our_contact, original->our_contact);
 	ast_string_field_set(p, fullcontact, original->fullcontact);
 	parse_ok_contact(p, req);
+	build_route(p, req, 1);
 
 	transmit_request(p, SIP_ACK, p->ocseq, XMIT_UNRELIABLE, TRUE);
 	transmit_request(p, SIP_BYE, 0, XMIT_RELIABLE, TRUE);




More information about the asterisk-commits mailing list