I've browsed around the documentation and forums for the solution but cannot see anything relevant to my issue besides threads like No Outbound Calling Inbound Works which do show similar symptoms like call-id: null and rejected error messages, so I'm hoping this is an easy solve and will help future people searching.
What do I set in FusionPBX to make outgoing calls use the domain in the contact instead of the IP?
My provider requires that the contact header contains the exact domain or IP set in the SIP Binding for their trunk. This means when I setup the Gateway to bind everything to my IP 1.2.3.4 it works nicely like:
`Contact: <sip:guid@1.2.3.4:5080;transport=udp;gw=guid>`
but when I change everything to use my domain instead, it still sends the above style of contact, where I need to send
`Contact: <sip:guid@mypbxdomain.com:5080;transport=udp;gw=guid>`
or it gets rejected due to forbidden 403
I tried experimenting with all sorts of values like setting ext-sip-ip to the domain but couldn't figure it out.
What do I set in FusionPBX to make outgoing calls use the domain in the contact instead of the IP?
My provider requires that the contact header contains the exact domain or IP set in the SIP Binding for their trunk. This means when I setup the Gateway to bind everything to my IP 1.2.3.4 it works nicely like:
`Contact: <sip:guid@1.2.3.4:5080;transport=udp;gw=guid>`
but when I change everything to use my domain instead, it still sends the above style of contact, where I need to send
`Contact: <sip:guid@mypbxdomain.com:5080;transport=udp;gw=guid>`
or it gets rejected due to forbidden 403
I tried experimenting with all sorts of values like setting ext-sip-ip to the domain but couldn't figure it out.