Hi,

I'm not sure that I got your scenario right but you can try to do something like this:

<action application="bridge" data="{sip_req_uri=$1}user/foobar"/> (you may need another var, full list is in Confluence)

Regards,

Alex


On Wed, Jun 27, 2018 at 9:33 PM, Joseph Waite <joelists@tm.net.uk> wrote:
Hi Guys

Were having issues with Asterisk boxes registering to a trunk on our FreeSwitch box.

We are sending the DID number called down the trunk in the to: field, however Asterisk doesn’t seem to like this.

Is there anyway to manipulate the INVITE to be INVITE sip:DID@ instead of what is currently INVITE sip:user@

Im hoping there is something like sip_invite_to_uri, however google is failing me.

Regards

_________________________________________________________________________
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com



--
Alex Sibyakin | Support Engineer
Need commercial support? Contact sales@freeswitch.com for details.