Misc. Dialplan Tools att xfer
From FreeSWITCH Wiki
[edit]
Attended Transfer
Make an attended transfer
Usage:
att_xfer <channel_url>
Example:
Make a dialplan feature which read the number to make an attended transfer
<extension name="att_xfer">
<condition field="destination_number" expression="^att_xfer$">
<action application="read" data="3 4 sounds/getdigits.wav attxfer_callthis 30000 #"/>
<action application="att_xfer" data="sofia/default/${attxfer_callthis}"/>
</condition>
</extension>
Then bind this feature to dtmf 3
<action application="bind_meta_app" data="3 a a execute_extension::att_xfer XML features"/>
During call press *3 to activate the feature. Feed it the number then it will make the call.
If you hang up (after the other leg answered and you decided what to do), then it will transfer the call and bridge them together.
If the other leg hang up thus indicating it doesn't want the transfer then you get it back.
If you press dtmf 0 then it will convert it to a threeway, hangup and complete the transfer.
See also bind_meta_app and read
