SIP TRUNK

foldedSpace

New Member
Nov 17, 2020
3
0
1
56
Hi,

I have a gateway that works for inbound calls.
Outbound is not working as the SIP carrier requires the INVITE, FROM and TO, to have the domain of the SIP carrier, but its using the proxy address for the INVITE and TO header portion of the trace.
The Gateway has Domain = realm set ,and proxy set which is different to the Domain address
I have set a "context" for the Gateway and extension and the outbound dialplan.
Gateway has pid as required and Caller Id From is set to True.

What do I need to add to the outbound dialplan to make this work?

I have tried ... in the outbound dialplan

<action application="set" data="sip_invite_domain=example.com"/>
<action application="set" data="sip_to_host=example.com"/>

I have also tried:

For the INVITE: <action application="set" data="sip_invite_domain=${example.com <gateway_uuid>}"/>
For the TO: <action application="set" data="sip_req_uri=sip:$1@example.com"/>

These settings in the outbound dialplan do not seem to overide the Proxy Address

Any help would be appreciated in getting the INVITE and To of the sip trace to use the DOMAIN that I set and or from the Gateway?
 
Last edited: