From 786d3a9c16744a85ae7c559504bfa23594a51ea5 Mon Sep 17 00:00:00 2001 From: rmudgett Date: Fri, 8 Jul 2011 21:43:49 +0000 Subject: [PATCH] Merged revisions 327211 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r327211 | rmudgett | 2011-07-08 16:41:58 -0500 (Fri, 08 Jul 2011) | 9 lines 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. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@327212 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_sip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 9ab409265..2e7b6f7f9 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -22523,7 +22523,6 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int } p->invitestate = INV_COMPLETED; sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT); - ast_string_field_set(p, theirtag, NULL); res = 0; goto request_invite_cleanup; }