[Freeswitch-users] Call a remote extension on specific domain

Sergey Safarov s.safarov at gmail.com
Wed Sep 16 06:36:31 MSD 2015


Try dial as

originate {sip_invite_to_uri=<sip:${destination_number}@mydomain.org>}user/
reg_user at mydomain.org & park

or

<action application="bridge" data="{sip_invite_to_uri=<sip:${
destination_number}@mydomain.org>}user/reg_user at mydomain.org"/>

Also check sip_invite_req_uri variable.

On Tue, Sep 15, 2015, 23:50 Tanguy <phenix at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150916/d2727df4/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list