[Freeswitch-users] Questions about att_xfer

Anatoliy Kounitskiy anatoliy at kounitskiy.com
Thu Aug 27 11:18:53 PDT 2009


Thank you all for the great job :)
Now it works as I wanted!!

Tomorrow I'll  will try to update the wiki :)

But with few words ( I tried to strip the extensions to minimum for
more easy read for users).
In the dialplan I have created the extension showed below:

 <extension name="local_number">
    <condition field="destination_number" expression="^(\d{3})$">
      <action application="set" data="dialed_extension=$1"/>
      <action application="export" data="dialed_extension=$1"/>
      <action application="bind_meta_app" data="1 b s
execute_extension::attented_xfer XML features"/>
      <action application="set" data="transfer_ringback=$${hold_music}"/>
      <action application="set" data="call_timeout=10"/>
      <action application="set" data="hangup_after_bridge=true"/>
      <action application="bridge"
data="user/${dialed_extension}@${domain_name}"/>
    </condition>
  </extension>

In the features.xml file I have extension attented_xfer, that is using
the att_xfer application :

 <extension name="attented_xfer">
      <condition field="destination_number" expression="^attented_xfer$">
        <action application="set" data="continue_on_fail=true"/>
        <action application="read" data="3 4 ivr/ivr-enter_ext.wav
attxfer_callthis 30000 #"/>
        <action application="set" data="origination_cancel_key=#"/>
        <action application="att_xfer"
data="user/${attxfer_callthis}@${domain_name}"/>
      </condition>
    </extension>

Also I have set the the origination cancel key will be # - so if B
wants to cancel the call to C and to go back to A - just uses the #
key :)

Again - thank you very much :) :)

Anatoliy Kounitskiy

On Thu, Aug 27, 2009 at 7:48 PM, Anthony
Minessale<anthony.minessale at gmail.com> wrote:
> please retest with latest SVN trunk
>
> On Thu, Aug 27, 2009 at 8:19 AM, Anatoliy Kounitskiy
> <anatoliy at kounitskiy.com> wrote:
>>
>> Just for information - the idea :
>> A---calls---> B ---att_xfer---> C    , B hangs C up and goes back to A
>> ( I`m sorry C is not answering :) )
>>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org
> pstn:213-799-1400
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Anatoliy Kounitskiy
-------------------------
E-mail: anatoliy at kounitskiy.com
Mobile: +359898913540




More information about the FreeSWITCH-users mailing list