summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_sip.c')
-rwxr-xr-xchannels/chan_sip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 8818bde31..ef6963527 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -2804,6 +2804,8 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
ast_moh_stop(ast_bridged_channel(p->owner));
} else {
ast_moh_start(ast_bridged_channel(p->owner), NULL);
+ if (sendonly)
+ ast_rtp_stop(p->rtp);
}
}
}