Hello, I having trouble figuring this out, may I request a little help.
I have Outbound Caller ID set in my extensions and "Caller ID in From" set in the gateway and outbound calls work just fine here is a snip of the invite going to my SIP trunk:
INVITE sip:0123456789@myprovider.co.uk SIP/2.0.
From: "01636xxxxxx" <sip:01636xxxxxx@myprovider.co.uk>;tag=Q2vZvH22ByHNQ.
To: <sip:0123456789@myprovider.co.uk>.
Now if I forward an extension to the same PSTN number and call the extension from another extension, the invite to the SIP provider looks like this:
INVITE sip:0123456789@myprovider.co.uk SIP/2.0.
From: "Adrian WP52"" <sip:202@my.fusionpbx.co.uk>;tag=1vSQe0a6eQggB.
To: <sip:0123456789@myprovider.co.uk>.
The domain in the from header is no longer my SIP provider it is the tenant domain. So instead of sending a proxy authenticate the SIP trunk just returns a 403 relay forbidden.
I can't work out how to keep the myprovider.co.uk as the domain for an outgoing call when it is forwarded from an internal extension.
I have Outbound Caller ID set in my extensions and "Caller ID in From" set in the gateway and outbound calls work just fine here is a snip of the invite going to my SIP trunk:
INVITE sip:0123456789@myprovider.co.uk SIP/2.0.
From: "01636xxxxxx" <sip:01636xxxxxx@myprovider.co.uk>;tag=Q2vZvH22ByHNQ.
To: <sip:0123456789@myprovider.co.uk>.
Now if I forward an extension to the same PSTN number and call the extension from another extension, the invite to the SIP provider looks like this:
INVITE sip:0123456789@myprovider.co.uk SIP/2.0.
From: "Adrian WP52"" <sip:202@my.fusionpbx.co.uk>;tag=1vSQe0a6eQggB.
To: <sip:0123456789@myprovider.co.uk>.
The domain in the from header is no longer my SIP provider it is the tenant domain. So instead of sending a proxy authenticate the SIP trunk just returns a 403 relay forbidden.
I can't work out how to keep the myprovider.co.uk as the domain for an outgoing call when it is forwarded from an internal extension.