<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hey all,<div class=""><br class=""></div><div class="">I¡¯m trying call transfer function in freeswitch using att_xfer app, the dialplan looks like:<br class=""></div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">[features.xml]</div><div class=""><div class=""> <extension name="att_xfer"></div></div><div class=""><div class=""> <condition field="destination_number" expression="^att_xfer$"></div></div><div class=""><div class=""> <action application="read" data="3 6 'tone_stream://%(10000,0,350,440)' digits 300000 #"/></div></div><div class=""><div class=""> <action application="set" data="origination_cancel_key=#"/></div></div><div class=""><div class=""> <action application="set" data="attxfer_cancel_key=#"/></div></div><div class=""><div class=""> <action application="set" data="attxfer_hangup_key=*"/></div></div><div class=""><div class=""> <action application="set" data="attxfer_conf_key=0"/></div></div><div class=""><div class=""> <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/></div></div><div class=""><div class=""> <action application="att_xfer" data="user/${digits}"/></div></div><div class=""><div class=""> </condition></div></div><div class=""><div class=""> </extension></div></div><div class=""><br class=""></div><div class="">[default.xml]</div><div class=""> <extension name=¡°inbound_call¡±></div><div class=""> ...</div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> <action application="bind_meta_app" data="4 b s execute_extension::att_xfer XML features¡±/></div></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> ¡</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> </extension></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> <extension name=¡°outbound_call¡±></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> ...</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> <action application="bind_meta_app" data="4 a s execute_extension::att_xfer XML features¡±/></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> ¡</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> </extension></div></div></blockquote><div class=""><br class=""></div><div class="">The transfer should work on receiver leg in inbound call and caller leg in outbound call when I push *4, and it works correctly in my test.</div><div class="">But an annoying problem occurred. When I tried to hangup after transfer(set as *) in outbound call, the transferred user would not hangup correctly and turned into a 3-way call.</div><div class="">I had considered if my dialplan has some problems, but the same function works well in inbound call and transferred user could hangup after a *.</div><div class=""><br class=""></div><div class="">Any suggestion about this problem would be appreciated.</div><div class=""><br class=""></div><div class="">Regards.</div><div class=""><br class=""></div><div class="">P.S.: System Information:</div><div class="">FreeSWITCH: Version 1.8.7+git~20190702T200609Z~6047ebddfc~64bit (git 6047ebd 2019-07-02 20:06:09Z 64bit)</div><div class="">PBX: Asterisk 15.7.4</div><div class="">Client: Bria 5</div></body></html>