[asterisk-commits] rmudgett: branch 1.8 r327211 - /branches/1.8/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 8 16:42:02 CDT 2011


Author: rmudgett
Date: Fri Jul  8 16:41:58 2011
New Revision: 327211

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=327211
Log:
INVITE 403 Forbidden response always retransmits the maximum times.

Asterisk sends a 403 Forbidden response if authentication fails for an
INVITE as required.  However, it ignores the ACK and keeps retransmitting
the response.

* Made not delete the to-tag in the dialog so the expected ACK can be
matched with the dialog and stop the retransmissions.

Modified:
    branches/1.8/channels/chan_sip.c

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=327211&r1=327210&r2=327211
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Fri Jul  8 16:41:58 2011
@@ -21958,7 +21958,6 @@
 			}
 			p->invitestate = INV_COMPLETED;
 			sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
-			ast_string_field_set(p, theirtag, NULL);
 			res = 0;
 			goto request_invite_cleanup;
 		}




More information about the asterisk-commits mailing list