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

Joshua Colp asteriskteam at digium.com
Wed Sep 20 15:32:41 CDT 2017


Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/6532 )

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:
  Joshua Colp: Looks good to me, but someone else must approve; Approved for Submit
  Richard Mudgett: 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



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/6532
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: I4fecbb00a0b8a853da85155065c1a6bddf235e80
Gerrit-Change-Number: 6532
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/ff76ec8b/attachment-0001.html>


More information about the asterisk-code-review mailing list