[asterisk-commits] chan sip: Call not cancelled after receiving a 422 response (asterisk[13])
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Tue Mar 14 10:17:14 CDT 2017
    
    
  
Anonymous Coward #1000019 has submitted this change and it was merged. ( https://gerrit.asterisk.org/5155 )
Change subject: chan_sip: Call not cancelled after receiving a 422 response
......................................................................
chan_sip: Call not cancelled after receiving a 422 response
When receiving a 422 response, the invitestate variable must be reset to
INV_CALLING.
ASTERISK-26841
Change-Id: Ia0502d6b02192664cefa4e75bafdd2645ce56099
---
M channels/chan_sip.c
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
  George Joseph: Looks good to me, approved
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, but someone else must approve
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index a0d4144..85796a0 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -23917,6 +23917,7 @@
 	case 422: /* Session-Timers: Session interval too small */
 		xmitres = transmit_request(p, SIP_ACK, seqno, XMIT_UNRELIABLE, FALSE);
 		ast_string_field_set(p, theirtag, NULL);
+		p->invitestate = INV_CALLING;
 		proc_422_rsp(p, req);
 		break;
 
-- 
To view, visit https://gerrit.asterisk.org/5155
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia0502d6b02192664cefa4e75bafdd2645ce56099
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jean Aunis - Prescom <jean.aunis at prescom.fr>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
    
    
More information about the asterisk-commits
mailing list