Add better support for relaying success or failure of the ast_transfer() API call.
authorJoshua Colp <jcolp@digium.com>
Fri, 3 Apr 2009 16:47:27 +0000 (16:47 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 3 Apr 2009 16:47:27 +0000 (16:47 +0000)
commit2d9c6ef3d501b1fb7ebdd2fa5bc2e530ed55b6c0
tree9a47da9503ee4492361033db1e1d338c3bfd5816
parent547b5c7e90af7d0088cb81a16a0fe8afd156d3a0
Add better support for relaying success or failure of the ast_transfer() API call.

This API call now waits for a special frame from the underlying channel driver to
indicate success or failure. This allows the return value to truly convey whether
the transfer worked or not. In the case of the Transfer() dialplan application this
means the value of the TRANSFERSTATUS dialplan variable is actually true.

(closes issue #12713)
Reported by: davidw
Tested by: file

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@186382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c
channels/chan_sip.c
include/asterisk/frame.h
main/channel.c