It’s a while that I am struggling with a problem and I was not able to find the solution to make things work properly.
My situation is the following: I have two FreePBX servers, one in the HQ and one in the BO.
The two PBXs are connected between them with a IAX2 Trunk.
In the HQ, the extensions use numbers from 200 to 299
In the BO, the extensions use the same range, so 200-299.
When someone in the HQ wants to call the BO, it calls the 59 2XX.
On HQ site, there is a specific outbound route that matches the 59 prefix and sends the request to the IAX2 Trunk. This outbound route has a intra-company flag.
Then the request arrives on BO site, where I have a specific inbound route, that routes the call to the desired extension.
Everything works well, no problem in the signaling or audio, but I am not able to display the correct callerID on the called device.
The BO PBX sets the CallerID with the name of the extension on BO side, and overrides what it received from the IAX trunk, so the correct CallerID.
I have the same problem from BO to HQ.
Does a solution exist without changing the extensions number on BO side?
Any suggestion is really appreciated.