[Asterisk-code-review] chan pjsip: Ignore AST CONTROL STREAM TOPOLOGY CHANGED for now (asterisk[master])

Jenkins2 asteriskteam at digium.com
Wed Sep 20 15:34:09 CDT 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/6533 )

Change subject: chan_pjsip: Ignore AST_CONTROL_STREAM_TOPOLOGY_CHANGED for now
......................................................................

chan_pjsip: Ignore AST_CONTROL_STREAM_TOPOLOGY_CHANGED for now

chan_pjsip_indicate was missing a case for the recently added
AST_CONTROL_STREAM_TOPOLOGY_CHANGED condition and was returning an
error and causing the call to be hung up instead of just ignoring
it.

ASTERISK-27260
Reported by: Daniel Heckl

Change-Id: I4fecbb00a0b8a853da85155065c1a6bddf235e80
---
M channels/chan_pjsip.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Richard Mudgett: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, but someone else must approve
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c
index 841654c..84b508b 100644
--- a/channels/chan_pjsip.c
+++ b/channels/chan_pjsip.c
@@ -1738,6 +1738,8 @@
 		topology = data;
 		res = handle_topology_request_change(channel->session, topology);
 		break;
+	case AST_CONTROL_STREAM_TOPOLOGY_CHANGED:
+		break;
 	case -1:
 		res = -1;
 		break;

-- 
To view, visit https://gerrit.asterisk.org/6533
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4fecbb00a0b8a853da85155065c1a6bddf235e80
Gerrit-Change-Number: 6533
Gerrit-PatchSet: 4
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170920/c20b0ce3/attachment-0001.html>


More information about the asterisk-code-review mailing list