Use gateways where FS registers to the gateway and use user directory entries for where the gateway registers to FS.<div><br></div><div>Use the user/ endpoint syntax or sofia_contact API output for calling to the registered user (gateway).</div>


<div><br></div><div>-Steve</div><div><br></div><div><br><br><div class="gmail_quote">On 25 March 2013 15:23, rdmitry <span dir="ltr">&lt;<a href="mailto:rdmitry0911@gmail.com" target="_blank">rdmitry0911@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
I&#39;ve just faced with a problem of defining a dynamic gateway the same way as<br>
in asterisk sip.conf with &quot;host=dynamic&quot; configuration parameter. So the<br>
question is how to define a gateway to a host behind a nat where host ip and<br>
port become available only after registration of this host on freeswitch.<br>
<br>
Any idea would be very much appreciated, Dmitry<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/dynamic-gateway-declaration-in-freeswitch-Is-it-possible-tp7589006.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/dynamic-gateway-declaration-in-freeswitch-Is-it-possible-tp7589006.html</a><br>



Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</blockquote></div><br></div>