[asterisk-commits] chan sip: Call not cancelled after receiving a 422 response (asterisk[14])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Mar 14 10:19:29 CDT 2017
Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/5154 )
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 3859e8f..2435d65 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -23979,6 +23979,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/5154
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia0502d6b02192664cefa4e75bafdd2645ce56099
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 14
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