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

George Joseph asteriskteam at digium.com
Tue Sep 19 05:49:09 CDT 2017


George Joseph has uploaded this change for review. ( 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.

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



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/33/6533/1

diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c
index 841654c..f880e6e 100644
--- a/channels/chan_pjsip.c
+++ b/channels/chan_pjsip.c
@@ -1738,6 +1738,9 @@
 		topology = data;
 		res = handle_topology_request_change(channel->session, topology);
 		break;
+	case AST_CONTROL_STREAM_TOPOLOGY_CHANGED:
+		res = 0;
+		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: newchange
Gerrit-Change-Id: I4fecbb00a0b8a853da85155065c1a6bddf235e80
Gerrit-Change-Number: 6533
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170919/a95224cf/attachment.html>


More information about the asterisk-code-review mailing list