[Freeswitch-users] att_xfer+loopback

Anthony Minessale anthony.minessale at gmail.com
Wed Nov 12 06:26:15 PST 2008


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 at domain.com"/>
   <action application="transfer" data="my_outbound"/>
 </condition>
</extension>



On Wed, Nov 12, 2008 at 4:38 AM, x y <fs_ask_sy at citromail.hu> wrote:

>
> 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<http://ad.adverticum.net/b/cl,1,2201,295040,360471/click.prm>- a kötelező biztosítások kiindulópontja!
>
> _______________________________________________
> 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081112/68c4b34c/attachment-0002.html 


More information about the FreeSWITCH-users mailing list