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_extensi...@${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_callth...@${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<[email protected]> wrote:
> please retest with latest SVN trunk
>
> On Thu, Aug 27, 2009 at 8:19 AM, Anatoliy Kounitskiy
> <[email protected]> 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:[email protected]
> GTALK/JABBER/PAYPAL:[email protected]
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:[email protected]
> iax:[email protected]/888
> googletalk:[email protected]
> pstn:213-799-1400
>
> _______________________________________________
> FreeSWITCH-users mailing list
> [email protected]
> 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: [email protected]
Mobile: +359898913540

_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to