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

On Sun, May 10, 2015 at 12:28 AM, Luiz Fernando Softov <fernando@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@softov.com.br

_________________________________________________________________________
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