summaryrefslogtreecommitdiff
path: root/channels/chan_pjsip.c
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2017-09-19 04:44:28 -0600
committerGeorge Joseph <gjoseph@digium.com>2017-09-20 11:13:47 -0500
commitb6aa728a584ea857fc2b33b8d50348c283ffa185 (patch)
tree848c84db781fe55f2d7628cb3f818588d5f01178 /channels/chan_pjsip.c
parent8830cc05415c0d18ea1a10a43173fb20f79d8f8c (diff)
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
Diffstat (limited to 'channels/chan_pjsip.c')
-rw-r--r--channels/chan_pjsip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c
index 841654c92..84b508b61 100644
--- a/channels/chan_pjsip.c
+++ b/channels/chan_pjsip.c
@@ -1738,6 +1738,8 @@ static int chan_pjsip_indicate(struct ast_channel *ast, int condition, const voi
topology = data;
res = handle_topology_request_change(channel->session, topology);
break;
+ case AST_CONTROL_STREAM_TOPOLOGY_CHANGED:
+ break;
case -1:
res = -1;
break;