From: Olle Johansson Date: Mon, 26 Jun 2006 20:41:54 +0000 (+0000) Subject: Issue #7421 - Stop generator on both call legs (patch by tgrman) X-Git-Tag: 1.4.0-beta1~757 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66786a7d532e82fe88cabe418930ee7dabcc0bac;p=thirdparty%2Fasterisk.git Issue #7421 - Stop generator on both call legs (patch by tgrman) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36147 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index ac109beab5..a76079506b 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -12463,6 +12463,7 @@ static int handle_invite_replaces(struct sip_pvt *p, struct sip_request *req, in /* Stop music on hold and other generators */ ast_quiet_chan(replacecall); + ast_quiet_chan(targetcal); if (option_debug > 3) ast_log(LOG_DEBUG, "Invite/Replaces: preparing to masquerade %s into %s\n", c->name, replacecall->name); /* Unlock clone, but not original (replacecall) */