Hi Stewart,
thanks a lot for your explanation.
Our provider is Vodafone and they explained that they do support the arbitrary caller ID.
They also explained, that they use the âFrom userâ option for the CID transmission and the P-Asserted-Identity.
You have to configure your SIP header so that the fields âContactâ, âFromâ and âToâ, respectively, meet the format [email protected], where +49 is your country code (Germany), 4321 is your area code and 998877 is the number of your SIP trunk. Or the format [email protected], where 04321 is your area code.
So, in the SIP trunk configuration of FreePBX webinterface, I filled the field âFrom userâ and the field âContact userâ at pjsip Settings > Advanced with [email protected].
I cannot identify the âToâ field mentioned by Vodafone in the FreePBX webinterface. Do you know where to find it?
On the âAdvancedâ tab of pjsip Settings, I also selected at âSend RPID/PAIâ the option âSend P-Asserted-Identity headerâ. Vodafone told me that you have to assemble the PAI of the area code, the SIP trunk number and the DID. Unfortunately, in FreePBX webinterface you can only enable or disable the PAI option, but you cannot define the PAI number. BTW the notation Vodafone requires doesnât make sense to me, because if you define also the DID, there will be sent always this hard-coded number and not the DID of the appropriate caller, or not?
Further Caller ID settings are at trunk configuration > General at Outbound CallerID. This is set to <04321998877>
The âCID Optionâ below is set to âAllow Any CIDâ.
At âOutbound Routesâ > Route settings the field âRoute CIDâ is left blank, the option âOverride Extensionâ is set to âNoâ.
Finally the configuration of the extensions include at âGeneralâ Outbound CID the format 04321998877123, where 123 is my extension.
The extensionâs tab âAdvancedâ offers the option âSend RPIDâ which is set to âSend P-Asserted-Identity headerâ.
I changed the Caller ID setting in the extensionâs configuration - as you proposed to do - to a different number, which doesnât match my correct number (04321998877123). I guess it is meant to test, if the provider transmits any CID and not only CIDs from within your SIP trunk number range.
The result is a voice saying that âall circuits are busy nowâ.