mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Turn off moh on SIP transfer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4449,8 +4449,10 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
|
||||
c = p->owner;
|
||||
if (c) {
|
||||
transfer_to = c->bridge;
|
||||
if (transfer_to)
|
||||
if (transfer_to) {
|
||||
ast_moh_stop(transfer_to);
|
||||
ast_async_goto(transfer_to,p->context, p->refer_to,1, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Always increment on a BYE */
|
||||
|
Reference in New Issue
Block a user