<div dir="ltr"><div>Hi Brian, It's to use a linksys SPA3000&3102 as a gateway to the PSTN line, that this device can connect to.<br></div><div>but us I tested this device is taken the phone number to dial from the invite sip uri (and not from the To Uri).<br><br></div><div>Thanks<br></div><div>JCM<br></div><div><strong></strong></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 9, 2015 at 7:20 AM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</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">Why would you ever need to set the <span style="font-size:12.8000001907349px">sip_invite_to_uri?</span></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Sun, Aug 9, 2015 at 4:50 AM, Sergey Safarov <span dir="ltr"><<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@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">Register gateway as regular user<div>And try dial as </div><div>
<p><span>originate {sip_invite_to_uri=<sip:${<a href="mailto:destination_number%7D@mydomain.org" target="_blank">destination_number}@mydomain.org</a>>}user/<a href="mailto:reg_user@mydomain.org" target="_blank">reg_user@mydomain.org</a> & park</span></p><p><span>or </span></p><p><span>
</span></p><p><span><action application="bridge" data="</span>{sip_invite_to_uri=<sip:${<a href="mailto:destination_number%7D@mydomain.org" target="_blank">destination_number}@mydomain.org</a>>}user/<a href="mailto:reg_user@mydomain.org" target="_blank">reg_user@mydomain.org</a>"/></p><p><span><br></span></p><p><span><br></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><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><font color="#888888"><br></font></span></div><span><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></div></div>_________________________________________________________________________<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" 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" target="_blank">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>
<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" 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" target="_blank">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><br clear="all"><div><br></div></div></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font face="courier new, monospace" size="1"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="monospace, monospace" size="2"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font face="monospace, monospace" size="2"><b>T:</b><a href="tel:%2B19184209001" value="+19184209001" target="_blank">+19184209001</a> | <b>F:</b><a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></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><br clear="all"><br>-- <br><div class="gmail_signature">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>