Try dial as originate {sip_invite_to_uri=<sip:${destination_number}@mydomain.org>}user/ reg_user@mydomain.org & park or <action application="bridge" data="{sip_invite_to_uri=<sip:${ destination_number}@mydomain.org>}user/reg_user@mydomain.org"/> Also check sip_invite_req_uri variable. On Tue, Sep 15, 2015, 23:50 Tanguy <phenix@vfemail.net> wrote:
Hello
I have two multi-domains freeswitch servers 1 and 2 and i want to interconnect them for internal calls
I read https://wiki.freeswitch.org/wiki/Connect_Two_FreeSWITCH_Boxes but it did not fully fit to my need because I want to call from freeswitch1 a specific extension of freeswitch2 on a specific domain ( and not just default ). In short i want to tell to freeswitch2: Connect me with extension 1000@domain-name and not just connect me with extension 1000
My guess is send custom sip headers from freeswitch1 and parse X-domainname on freeswitch2 dialplan
<action application="set" data="sip_h_X-domainname=somedomain"/> <action application="bridge" data="sofia/internal/${destination_number}@freeswitch2.company.com "/>
This will probably work, but is there a clean way to do it without using non standard headers ?
Best Regards
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org