mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 17:53:15 +00:00
Properly handle transfer of application (bug #911)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5400,6 +5400,8 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
|
||||
if (transfer_to) {
|
||||
ast_moh_stop(transfer_to);
|
||||
ast_async_goto(transfer_to,p->context, p->refer_to,1, 1);
|
||||
} else {
|
||||
ast_queue_hangup(p->owner, 0);
|
||||
}
|
||||
}
|
||||
p->gotrefer = 1;
|
||||
|
Reference in New Issue
Block a user