<div dir="ltr">Register gateway as regular user<div>And try dial as </div><div>
<p class="p1"><span class="s1">originate {sip_invite_to_uri=<sip:${<a href="mailto:destination_number%7D@mydomain.org">destination_number}@mydomain.org</a>>}user/<a href="mailto:reg_user@mydomain.org">reg_user@mydomain.org</a> & park</span></p><p class="p1"><span class="s1">or </span></p><p class="p1"><span class="s1">
</span></p><p class="p1"><span class="s1"><action application="bridge" data="</span>{sip_invite_to_uri=<sip:${<a href="mailto:destination_number%7D@mydomain.org">destination_number}@mydomain.org</a>>}user/<a href="mailto:reg_user@mydomain.org">reg_user@mydomain.org</a>"/></p><p class="p1"><span class="s1"><br></span></p><p class="p1"><span class="s1"><br></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 8, 2015 at 10:14 AM, Jaime Cruz <span dir="ltr"><<a href="mailto:jaimecm@gmail.com" target="_blank">jaimecm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Everyone,<br><br></div>I'm trying to use a SPA3102 as a PSTN gateway, it is in a remote site with a dinamic IP, I'have it registered in my FS as 100123 user, and my goal is to dial <any pstn number>@<my spa3102> in order to<br></div><div>use my SPA3120 to make the call via his pstn line to the number <any pstn number>.<br><br></div><div>The problem is that all the examples I see has a fixed and well know IP address for the SPA3102 gateway in order to use it in the dial plan,<br></div><div>but in my scenario the IP address for my SPA3102 gateway is dinamyc and unknow.<br><br></div><div>Please any help in order to understand how can I dial any number to my spa3102 gateway will by apreciated.<br></div><div><div><div><div><div><br clear="all"><br>In this example my FS has the IP 100.10.10.10 and the SPA3102 has the dinamic Adsl IP 210.20.20.20<br><br>> sofia status profile internal reg<br>Registrations:<br>=================================================================================================<br>Call-ID: <a href="mailto:2378632f-eb1116d@192.168.0.11" target="_blank">2378632f-eb1116d@192.168.0.11</a><br>User: <a href="mailto:100123@100.10.10.10" target="_blank">100123@100.10.10.10</a><br>Contact: "Local Call" <<a href="http://sip:100123@210.20.20.20:5061" target="_blank">sip:100123@210.20.20.20:5061</a>><br>Agent: Linksys/SPA3000-3.1.20(GW)<br>Status: Registered(UDP)(unknown) EXP(2015-08-08 04:01:04) EXPSECS(61)<br>Ping-Status: Reachable<br>Host: <a href="http://voip.example.com" target="_blank">voip.example.com</a><br>IP: 210.20.20.20<br>Port: 5061<br>Auth-User: 100123<br>Auth-Realm: <a href="http://voip.example.com" target="_blank">voip.example.com</a><br>MWI-Account: <a href="mailto:100123@100.10.10.10" target="_blank">100123@100.10.10.10</a><br>=================================================================================================<br><br></div><div>for example, if I want to dial to the pstn number 222-1234, then I need to send an INVITE <a href="http://2221234@210.20.20.20:5061" target="_blank">2221234@210.20.20.20:5061</a></div><div><br><br><br></div><div>Thanks for your help.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br><br>-- <br><div>Jaime Cruz<br><a href="mailto:jaimecm@gmail.com" target="_blank">jaimecm@gmail.com</a><br><a href="https://www.facebook.com/jaimecruzmendoza" target="_blank">https://www.facebook.com/jaimecruzmendoza</a></div>
</div></font></span></div></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>