[Freeswitch-users] Setting SIP request URI in bridge

Pete Kelly pkelly at gmail.com
Fri Apr 8 18:20:46 MSD 2011


Hi

I need to bridge a call to an IP a.b.c.d, however the request URI needs to
be sent to a domain rather than an IP

e.g. the UDP packet is sent to a.b.c.d, but the INVITE looks like "INVITE
sip:12345 at my.domain.com"

This is the syntax I am using for the bridge:

<action application="bridge" data="{sip_invite_req_uri=
sip:12345 at my.domain.com,sip_from_uri=sip:$1 at my.domain.com
,codec_string='G729,PCMU,PCMA'}sofia/mediaserver/12345 at a.b.c.d"/>

however freeswitch just 503's the bridge with "NORMAL_TEMPORARY_FAILURE". If
I remove the sip_invite_req_uri part, the call is bridged fine, but the
INVITE line is incorrect.

Is it possible to do what I need in Freeswitch?

Thanks

Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110408/0dca0938/attachment.html 


More information about the FreeSWITCH-users mailing list