Setting SIP request URI in bridge
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@my.domain.com" This is the syntax I am using for the bridge: <action application="bridge" data="{sip_invite_req_uri= sip:12345@my.domain.com,sip_from_uri=sip:$1@my.domain.com ,codec_string='G729,PCMU,PCMA'}sofia/mediaserver/12345@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
bizarrely, I have removed the definition of a.b.c.d from the local hosts file and moved it to DNS, and it now works. Can anyone explain to me what's happening here? On 8 April 2011 15:20, Pete Kelly <pkelly@gmail.com> wrote:
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@my.domain.com"
This is the syntax I am using for the bridge:
<action application="bridge" data="{sip_invite_req_uri= sip:12345@my.domain.com,sip_from_uri=sip:$1@my.domain.com ,codec_string='G729,PCMU,PCMA'}sofia/mediaserver/12345@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
participants (1)
-
Pete Kelly