[Freeswitch-users] att_xfer+loopback

x y fs_ask_sy at citromail.hu
Fri Nov 7 07:13:58 PST 2008


            Wich is working with loopback, is transfer:

    <extension name="xfer">
      <condition field="destination_number" expression="^xfer$">
        <action application="read" data="1 15 /opt/freeswitch/sounds/en/us/callie/misc/8000/transfer2.wav callednumber 7000 #"/>
        <action application="transfer" data="-bleg 664${callednumber}"/>
      </condition>
    </extension>


    <extension name="loop">
      <condition field="destination_number" expression="^664([0-9]{4})$">
        <action application="bridge" data="loopback/669$1"/>
      </condition>
    </extension>

(I know there is no need on that loopback in the loop extension, it's just an experimental config about loopback and transfers.)

Attended transfer is still a mistery for me. Btw, keeping up experimenting with att_xfer i have found the sofia method a little instable too. It sometimes acts like the user channel i said before.
Here is the code that I use:

    <extension name="loop">
      <condition field="destination_number" expression="^664([0-9]{4})$">
        <action application="bridge" data="loopback/669$1"/>
      </condition>
    </extension>

Viktor





Hirdetés (x)      

Váltson most olcsóbb kötelezőre a biztosítás-hu-val. www.biztositas.hu - a kötelező biztosítások kiindulópontja!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081107/4de9e80a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list