<div dir="ltr">Use sip_invite_req_uri<div><a href="https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables">https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables</a><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 10, 2015 at 8:26 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><div><div>Hi Sergey,<br></div>Thanks for your help,<br>it' worked to change the Invite "To:" Uri,<br><br></div>but as I tested, the linksys SPA3000&3102 is not taken the destination from the To Uri nor from the Invite Uri as "INVITE <a href="http://sip:nnnnnn@200.200.200.200:5061" target="_blank">sip:nnnnnn@200.200.200.200:5061</a> SIP/2.0" as "nnnnnn" can be any destination that I want to dial via it's PSTN line.<br><br></div>Do you think that there's an option to change this in FS,<br><br><br><br></div><div>Thanks for your help.<br></div><div>JCM<br></div><div><div><br><br>======<br><div>originate: {sip_invite_to_uri=<<a href="mailto:sip%3A226560600@voip.hablaip.com" target="_blank">sip:226560600@voip.hablaip.com</a>>}user/<a href="mailto:100123@voip.hablaip.com" target="_blank">100123@voip.hablaip.com</a><br><div><div>======<br>INVITE <a href="http://sip:100123@200.200.200.200:5061" target="_blank">sip:100123@200.200.200.200:5061</a> SIP/2.0<br>Via: SIP/2.0/UDP 100.100.100.100;rport;branch=z9hG4bK32ScZ5j0X2NQH<br>Max-Forwards: 69<br>From: "Katty Casa." <sip:Katty <a href="mailto:Casa@voip.hablaip.com" target="_blank">Casa@voip.hablaip.com</a>>;tag=XZvcHv1avcZ5c<br>To: <<a href="mailto:sip%3A226560600@voip.hablaip.com" target="_blank">sip:226560600@voip.hablaip.com</a>><br>Call-ID: 2b0f621f-b9c0-1233-ab8f-000c292ac960<br>CSeq: 79255480 INVITE<br>Contact: <<a href="http://sip:mod_sofia@100.100.100.100:5060" target="_blank">sip:mod_sofia@100.100.100.100:5060</a>><br>======<br>2015-08-10 02:04:49.318695 [DEBUG] switch_ivr_originate.c:2101 Parsing global variables<br>2015-08-10 02:04:49.318695 [DEBUG] switch_event.c:1698 Parsing variable [sip_invite_to_uri]=[<<a href="mailto:sip%3A226560600@voip.hablaip.com" target="_blank">sip:226560600@voip.hablaip.com</a>>]<br>==========<br><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Aug 9, 2015 at 11:43 AM, Sergey Safarov <span dir="ltr"><<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@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 class="h5"><div dir="ltr"><span style="font-size:12.8000001907349px">Special assignment of used port is not required</span><div><span style="font-size:12.8000001907349px">Using dial-string like "</span><span style="font-size:12.8000001907349px">user/</span><a href="mailto:reg_user@mydomain.org" style="font-size:12.8000001907349px" target="_blank">reg_user@mydomain.org</a>" automatically do it</div><span><font color="#888888"><div><br></div></font></span><div><span><font color="#888888">Sergey<br></font></span><div class="gmail_extra"><br><div class="gmail_quote"><span>On Sun, Aug 9, 2015 at 1:34 PM, <span dir="ltr"><<a href="mailto:covici@ccs.covici.com" target="_blank">covici@ccs.covici.com</a>></span> wrote:<br></span><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Also, at least in mine, you have to use port 5061 to dial out.<br>
<div><div><br><br></div></div></blockquote></span></div><br></div></div></div>
<br></div></div><span class="">_________________________________________________________________________<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></span></blockquote></div><br><br clear="all"><br>-- <br><span class=""><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>
</span></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>