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

George Joseph asteriskteam at digium.com
Wed Sep 20 05:56:51 CDT 2017


George Joseph has uploaded this change for review. ( https://gerrit.asterisk.org/6546


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(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/46/6546/1

diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c
index fd20dae..f86ef00 100644
--- a/channels/chan_pjsip.c
+++ b/channels/chan_pjsip.c
@@ -1729,6 +1729,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/6546
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15.0
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4fecbb00a0b8a853da85155065c1a6bddf235e80
Gerrit-Change-Number: 6546
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/20170920/5a98f815/attachment.html>


More information about the asterisk-code-review mailing list