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:
Mark Spencer
2003-06-25 16:12:23 +00:00
parent 0bcf4e2787
commit 733f251743

View File

@@ -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 */