to do what you want you need to use the regular "transfer"
use set to set a variable say my_dest to the string you want to dial
then make an extension with destination_number checks on some keyword like my_outbound
<extension name="ext1">
<condition field="destination_number" expression="my_outbound">
<action application="bridge" data="${my_dest}"/>
</condition>
</extension>
<extension name="ext1">
<condition [any condition]>
<action application="set" data="my_dest=/sofia/profile/user@domain.com"/>
<action application="transfer" data="my_outbound"/>
</condition>
</extension>
Hi!
I see, I have no luck on this att_xfer with loopback channel. So, if it's not possible, is there another way to do the trick? I would like to use att_xfer just like transfer, i mean feed a phone number as a param to it, not a channel url. I tought using loopback channel will do it, but couldn't make it so far.
If anybody interested, I could send a log from a failed att_xfer. I would really appreciate any help on this matter.
Btw, would it be difficult to modify the att_xfer function to accept dialnumber as a param instead of channel url? I don't have any idea about this, so just asking.
Cheers,
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!
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org