<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">&lt;<a href="mailto:info@daccii.it">info@daccii.it</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I don&#39;t know if it&#39;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">&gt; Hello everyone,<br>
&gt;<br>
&gt; I need some help in my dialplan, I have an FXO gateway and i can<br>
&gt; receive calls from it,<br>
&gt;<br>
&gt; now, if I assign a static IP on it, i can make calls through the fxo<br>
&gt; gateway using this:<br>
&gt;                  &lt;action application=&quot;bridge&quot;<br>
&gt; data=&quot;sofia/&lt;profile&gt;/&lt;destination&gt;@&lt;gw_IP&gt;&quot;/&gt;<br>
&gt;<br>
&gt; I want to know if it is possible to make calls through this gateway if<br>
&gt; it has a variable IP, and how to do it if so;<br>
&gt; the gateway uses SIP accounts to register to FS so i think it might be<br>
&gt; possible to route the call using one of the registered extension<br>
&gt; numbers but I am not sure how so I need some pointers,<br>
&gt;<br>
&gt; Anyone has ideas or knows how to do this?, help is greatly appreciated!<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<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>