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:
Mark Spencer
2004-01-25 05:51:49 +00:00
parent a9b3a77cda
commit 785da17231

View File

@@ -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;