[Freeswitch-users] Connect two freeswitch boxes with gateway

Sergey Safarov s.safarov at gmail.com
Sun May 10 19:49:28 MSD 2015


Try variable use sip_invite_to_uri
Example
<action application="bridge" data="{sip_invite_to_uri=<sip:${
destination_number}@mydomain.org}user/1000 at mydomain.org"/>

On Sun, May 10, 2015 at 12:28 AM, Luiz Fernando Softov <
fernando at softov.com.br> wrote:

> Hi, i'm trying to do this
>
> B have a gateway registered with user 1001 in A
> and of course, A have a user 1001 registered
>
> B ----> [gateway] ------> A (1001)
>
> So, i'm trying to bridge 1001 when i call (1xxx)
>
> A ----> [bridge user/1001] ------> B
>
> and have this dial-string for user 1001
> {presence_id=${dialed_user}@
> ${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}
>
> In FS B i receive the call, but i want to receive the real destination
> number, like 1002 or 1004
>
> Is there a way to bridge to user, and send the destination number?
> So, in box B, i can transfer to correct user.
>
>
> --
> Luiz Fernando Softov
> http://www.softov.com.br
> fernando at softov.com.br
>
> _________________________________________________________________________
> 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/20150510/188dc15c/attachment.html 


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