Either:
sofa/<profile>/<ext gateway regged as>

of if domain was different:

sofa/<profile>/<ext gateway regged as>%<domain gateway regged as>


On Mon, Jan 25, 2010 at 12:15 PM, Daniele Salvatore Albano <info@daccii.it> wrote:
I don't know if it's possible to do using plain xml, but you can try
writing some javascript/lua/what-you-want code to acquire parameters
from the registration and use them to do the call

Milena ha scritto:
> Hello everyone,
>
> I need some help in my dialplan, I have an FXO gateway and i can
> receive calls from it,
>
> now, if I assign a static IP on it, i can make calls through the fxo
> gateway using this:
>                  <action application="bridge"
> data="sofia/<profile>/<destination>@<gw_IP>"/>
>
> I want to know if it is possible to make calls through this gateway if
> it has a variable IP, and how to do it if so;
> the gateway uses SIP accounts to register to FS so i think it might be
> possible to route the call using one of the registered extension
> numbers but I am not sure how so I need some pointers,
>
> Anyone has ideas or knows how to do this?, help is greatly appreciated!
>
> _______________________________________________
> 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
>


_______________________________________________
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



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900