<div dir="ltr">Hi,<div><br></div><div style>It was easy to define the sip_invite_full_to for legB given the information exposed. I&#39;m still unable to send the SIP request to a different host that the one specified in the request URI.</div>
<div style><br></div><div style>Can I send a request to a host that differs from the request URI domain and To header URI domain of legB? If it is possible, any reference to the doc will be much appreciated.</div><div style>
<br></div><div style>Regards.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/16 Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For the most part I&#39;d say yes. I think just having them on the wiki will be useful, even if it&#39;s just the self-explanatory part.<span class="HOEnZb"><font color="#888888"><br>
-MC</font></span><div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 11:56 AM, João Mesquita <span dir="ltr">&lt;<a href="mailto:jmesquita@freeswitch.org" target="_blank">jmesquita@freeswitch.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">MC, will do, although they are pretty self-explanatory, ain&#39;t it?</div><div class="gmail_extra"><br clear="all">

<div>João Mesquita<br>FreeSWITCH™ Solutions<br></div>
<br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 2:29 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


J,<br><br>Thanks for this information. It looks like none of these are on the wiki. Any volunteers out there willing to add these? Even if you don&#39;t know what they do you could add placeholders for them. See <a href="http://wiki.freeswitch.org/wiki/Variable_skeleton" target="_blank">http://wiki.freeswitch.org/wiki/Variable_skeleton</a> for details.<br>



<br>Thanks,<br>MC<div><div><br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 9:32 AM, João Mesquita <span dir="ltr">&lt;<a href="mailto:jmesquita@freeswitch.org" target="_blank">jmesquita@freeswitch.org</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">From sofia_glue.c:<div><br></div><div><div><span style="white-space:pre-wrap">        </span>const char *invite_record_route = switch_channel_get_variable(tech_pvt-&gt;channel, &quot;sip_invite_record_route&quot;);</div>




<div><span style="white-space:pre-wrap">        </span>const char *invite_route_uri = switch_channel_get_variable(tech_pvt-&gt;channel, &quot;sip_invite_route_uri&quot;);</div><div><span style="white-space:pre-wrap">        </span>const char *invite_full_from = switch_channel_get_variable(tech_pvt-&gt;channel, &quot;sip_invite_full_from&quot;);</div>




<div><span style="white-space:pre-wrap">        </span>const char *invite_full_to = switch_channel_get_variable(tech_pvt-&gt;channel, &quot;sip_invite_full_to&quot;);</div><div><span style="white-space:pre-wrap">        </span>const char *handle_full_from = switch_channel_get_variable(tech_pvt-&gt;channel, &quot;sip_handle_full_from&quot;);</div>




<div><span style="white-space:pre-wrap">        </span>const char *handle_full_to = switch_channel_get_variable(tech_pvt-&gt;channel, &quot;sip_handle_full_to&quot;);</div><div><span style="white-space:pre-wrap">        </span>const char *force_full_from = switch_channel_get_variable(tech_pvt-&gt;channel, &quot;sip_force_full_from&quot;);</div>




<div><span style="white-space:pre-wrap">        </span>const char *force_full_to = switch_channel_get_variable(tech_pvt-&gt;channel, &quot;sip_force_full_to&quot;);</div></div><div><br></div><div><br></div><div>Glad to see you using FS José Luis! :-D Welcome.</div>




<div class="gmail_extra"><br clear="all"><div>João Mesquita<br></div>
<br><br><div class="gmail_quote">On Tue, Apr 16, 2013 at 5:19 AM, José Luis Millán <span dir="ltr">&lt;<a href="mailto:jmillan@aliax.net" target="_blank">jmillan@aliax.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">Let me fix an error:<div><br></div><div><br></div><div>This is the message I would like to send to the IP 2.2.2.2 (my proxy)</div><div><div style="font-family:arial,sans-serif;font-size:13px">```</div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="font-size:11px;white-space:pre-wrap;font-family:&#39;dejavu sans mono&#39;,monospace">INVITE <a href="mailto:sip%3Ajmillan@1.2.3.4" target="_blank">sip:jmillan@1.2.3.4</a> SIP/2.0
Via: SIP/2.0/TCP bl23sl8lmku7.invalid;branch=z9hG4bK9420964
To: &lt;<a href="mailto:sip%3Ad@1.2.3.4" target="_blank">sip:jmillan@1.2.3.4</a>&gt;</span>```<span style="font-size:11px;white-space:pre-wrap;font-family:&#39;dejavu sans mono&#39;,monospace">
</span></div><div style="font-family:arial,sans-serif;font-size:13px">```</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Regards.</div>





<div><br></div></div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">2013/4/16 José Luis Millán <span dir="ltr">&lt;<a href="mailto:jmillan@aliax.net" target="_blank">jmillan@aliax.net</a>&gt;</span><br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi all,<div><br></div><div>Every call bridged though a specific &#39;gateway&#39; does rewrite the SIP request URI domain and To URI domain values to the gateway&#39;s &#39;proxy&#39; parameter value.<br>
</div><div><br></div><div>I would like to respect such values and receive in my proxy the SIP messages with their original request URI domain and To URI domain. </div><div><br></div><div>This is, I would like to be able to send a SIP message with the following request URI and To headers, to the IP address 2.2.2.2</div>






<div><br></div><div>```</div><div><span style="font-size:11px;white-space:pre-wrap;font-family:&#39;dejavu sans mono&#39;,monospace">INVITE <a href="mailto:sip%3Ajmillan@1.2.3.4" target="_blank">sip:jmillan@1.2.3.4</a> SIP/2.0
Via: SIP/2.0/TCP bl23sl8lmku7.invalid;branch=z9hG4bK9420964
To: &lt;<a href="mailto:sip%3Ad@1.2.3.4" target="_blank">sip:d@1.2.3.4</a>&gt;</span>```<span style="font-size:11px;white-space:pre-wrap;font-family:&#39;dejavu sans mono&#39;,monospace">
</span></div><div>```</div><div><br></div><div>Is it possible to handle this with FreeSwitch?<br></div><div><br></div><div>I have followed the FS wiki but I&#39;ve been unable to handle this.</div>
<div><br></div><div>Thanks in advance.<span><font color="#888888"><br clear="all"><div><br></div>-- <br>José Luis Millán
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br>José Luis Millán
</font></span></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" 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>
<br></blockquote></div><br></div></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" 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>
<br></blockquote></div><br><br clear="all"><br></div></div><span><font color="#888888">-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>


<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</font></span><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>
<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" 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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>

<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</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" 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">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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>José Luis Millán
</div>