I am new to the FreePBX world. Our office has recently got a VOIP line from Vodafone.
We need to forward all the calls received on this Vodafone number to an external landline number in a another Country, this is a rather basic function, so, instead of buying an expensive PBX, I decided to try with the FreePBX first.
I have got the FreePBX installed and incoming and outgoing calls are working as expected, I can even forward calls to the correct destination, but somehow I couldn’t get the caller ID displayed correctly on the remote side.
Let’s say the office VOIP line is 1111 and the remote number is 2222, and my mobile phone is 3333, if I call 1111 on my mobile, the 2222 rings, but the caller ID is displayed as “1111”, which is not what I want, I want 3333 to be displayed.
So, I called Vodafone, they said that they authenticates the outbound calls via the SIP header, that is:
1, the “from” tag in the SIP header has to be “5800 or 5801”
2, add a “P asserted Identity” to the header and assigned a value of “5800 or 5801”
So, I enabled “send PAI” on the FreePBX UI, it did then send the P-asserted-Identity, but it just simply copies it from the “From” tag, which doesn’t work at all.
I need to somehow find a way to modity and fix the “P-asserted-Identity” value to “5800 or 5801”
A lot of the threads suggested to change the dialplan in the extension_custom.conf, which i did, but it did not work, it appears that the dialplan did not take effect at all.
By the way, I am using Chan-PJSIP, would it be the cause why the dialplan doesn’t work?
Would someone help me to change the dialplan for Chan-PJSIP? I’d really appreciate it.