<p dir="ltr">Try dial as </p>
<p dir="ltr">originate {sip_invite_to_uri=&lt;sip:${<a href="mailto:destination_number%7D@mydomain.org">destination_number}@mydomain.org</a>&gt;}user/<a href="mailto:reg_user@mydomain.org">reg_user@mydomain.org</a> &amp; park</p>
<p dir="ltr">or </p>
<p dir="ltr">&lt;action application=&quot;bridge&quot; data=&quot;{sip_invite_to_uri=&lt;sip:${<a href="mailto:destination_number%7D@mydomain.org">destination_number}@mydomain.org</a>&gt;}user/<a href="mailto:reg_user@mydomain.org">reg_user@mydomain.org</a>&quot;/&gt;<br></p>
<p dir="ltr">Also check sip_invite_req_uri variable. <br>
</p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 15, 2015, 23:50 Tanguy &lt;<a href="mailto:phenix@vfemail.net">phenix@vfemail.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br>
<br>
I have two multi-domains freeswitch servers 1 and 2 and i want to<br>
interconnect them for internal calls<br>
<br>
I read <a href="https://wiki.freeswitch.org/wiki/Connect_Two_FreeSWITCH_Boxes" rel="noreferrer" target="_blank">https://wiki.freeswitch.org/wiki/Connect_Two_FreeSWITCH_Boxes</a> but<br>
it did not fully fit to my need because I want to call from freeswitch1<br>
a specific extension of freeswitch2 on a specific domain ( and not just<br>
default ). In short i want to tell to freeswitch2: Connect me with<br>
extension 1000@domain-name and not just connect me with extension 1000<br>
<br>
My guess is send custom sip headers from freeswitch1 and parse<br>
X-domainname on freeswitch2 dialplan<br>
<br>
&lt;action application=&quot;set&quot; data=&quot;sip_h_X-domainname=somedomain&quot;/&gt;<br>
&lt;action application=&quot;bridge&quot;<br>
data=&quot;sofia/internal/${<a href="mailto:destination_number%7D@freeswitch2.company.com" target="_blank">destination_number}@freeswitch2.company.com</a> &quot;/&gt;<br>
<br>
This will probably work, but is there a clean way to do it without using<br>
non standard headers ?<br>
<br>
Best Regards<br>
<br>
<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" 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>