Hi Folks,
I'm having a bit of an issue with the Invite headers sent to extensions. To put this simply, this for the last mile for inbound call i.e. when the call is being delivered to the handset.
For example, X723 calls X719. This can be split into two parts.
Part 1 : X723 -> FusionPBX (No Issues)
Part 2 : FusionPBX -> X719 (Issue)
Here's SIP Trace
Part 1
Part 2:
As it stands, calls work without any issues for directly connected extensions. However, I'm trying implement a Kamailio Proxy and for inbound calls to devices registered behind the proxy, Kamailio sends a 404 Not Found as the Part 2 Invite Header send the TO field as Extn@IP:5060 instead of Extn@pbx.domain.com:5060
Is there a way for me to change this behaviour on FusionPBX side?
I'm having a bit of an issue with the Invite headers sent to extensions. To put this simply, this for the last mile for inbound call i.e. when the call is being delivered to the handset.
For example, X723 calls X719. This can be split into two parts.
Part 1 : X723 -> FusionPBX (No Issues)
Part 2 : FusionPBX -> X719 (Issue)
Here's SIP Trace
Part 1
Code:
2019/05/30 14:25:56.153691 120.233.120.210:19523 -> 110.214.110.149:5060
INVITE sip:719@pbx.domain.com:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.168:9723;branch=z9hG4bK2915884698;rport
From: "723" <sip:723@pbx.domain.com:5060>;tag=310905458
To: <sip:719@pbx.domain.com:5060> <<<<------------------
Call-ID: 0_3488828307@192.168.1.168
CSeq: 1 INVITE
Contact: <sip:723@192.168.1.168:9723>
Part 2:
Code:
2019/05/30 14:25:56.439189 110.214.110.149:5060 -> 120.233.120.210:41995
INVITE sip:719@192.168.1.164:9719 SIP/2.0
Via: SIP/2.0/UDP 110.214.110.149;rport;branch=z9hG4bK1ZeD6yjpejy7D
Route: <sip:719@120.233.120.210:41995>
Max-Forwards: 69
From: "Ivor" <sip:723@pbx.domain.com>;tag=KrDD771rH08mS
To: <sip:719@192.168.1.164:9719> <<<<<<<------------------
Call-ID: dc335d73-fd35-1237-3baa-666331386236
CSeq: 5041386 INVITE
Contact: <sip:mod_sofia@110.214.110.149:5060>
User-Agent: FreeSWITCH-mod_sofia/64bit
Remote-Party-ID: "Ivor" <sip:723@pbx.domain.com>;party=calling;screen=yes;privacy=off
As it stands, calls work without any issues for directly connected extensions. However, I'm trying implement a Kamailio Proxy and for inbound calls to devices registered behind the proxy, Kamailio sends a 404 Not Found as the Part 2 Invite Header send the TO field as Extn@IP:5060 instead of Extn@pbx.domain.com:5060
Is there a way for me to change this behaviour on FusionPBX side?