<div>Hi Milena!</div><div><br></div>A device with an IP address has either been assigned a static IP by a person, or assigned a dynamic IP by, probably, a DHCP server. If your FXO gateway has been assigned a dynamic IP, then before you can figure out how to get that value in the configuration, you need to determine what that IP is.<div>
<br></div><div>How do you know the IP assigned to your FXO gateway? Does it implement the UPnP standard?</div><div><br></div><div>Just out of curiosity, why not let it have a static IP address?</div><div><br></div><div><br>
</div><div>Mike van Lammeren</div><div><br><br><div class="gmail_quote">On Mon, Jan 25, 2010 at 1:15 PM, Daniele Salvatore Albano <span dir="ltr"><<a href="mailto:info@daccii.it">info@daccii.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I don't know if it's possible to do using plain xml, but you can try<br>
writing some javascript/lua/what-you-want code to acquire parameters<br>
from the registration and use them to do the call<br>
<br>
Milena ha scritto:<br>
<div><div></div><div class="h5">> Hello everyone,<br>
><br>
> I need some help in my dialplan, I have an FXO gateway and i can<br>
> receive calls from it,<br>
><br>
> now, if I assign a static IP on it, i can make calls through the fxo<br>
> gateway using this:<br>
> <action application="bridge"<br>
> data="sofia/<profile>/<destination>@<gw_IP>"/><br>
><br>
> I want to know if it is possible to make calls through this gateway if<br>
> it has a variable IP, and how to do it if so;<br>
> the gateway uses SIP accounts to register to FS so i think it might be<br>
> possible to route the call using one of the registered extension<br>
> numbers but I am not sure how so I need some pointers,<br>
><br>
> Anyone has ideas or knows how to do this?, help is greatly appreciated!<br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>