We use: FreePBX 18.104.22.168 - Asterisk Version: 16.15.0
I have the Voice Operator Panel installed on my computer and setup as an pjsip extension. Trust RPID is enabled and Send RPID is Send P-Asserted-Id. Diversion is activated in Advanced Settings.
I’m wanting to setup VOP as multi-line. Now for this to work, the TO field on the incoming call screen needs to display the incoming DID as per the Inbound Route DID set.
There is only ONE trunk. The trunk has a dedicated DID assigned to it as per the VOIP provider.
We have a block of 10 DID’s.
Each DID has it’s own Inbound Route with NO Caller ID number set. ONLY the DID number is set.
The destination for each Inbound Route is to the VOP extension
On the incoming call screen FROM shows the persons callings number. However, the TO field shows the VOP extension number that is setup instead of the Incoming DID number as per Inbound Route.
As per VOP FAQ:
Our application relies on the IP PBX to put the called phone number in the SIP “To” or “Diversion” (RFC5806) or “P-Called-Party-ID” (RFC3455) fields of the INVITE.
For example, using Asterisk, you need to add the “Diversion” or “P-Called-Party-ID” fields using SIPAddHeader() before issuing the Dial() to the VOP extension.
I have searched and read up on quite a number of posts already but haven’t actually come across anything that helped. I’m not very clued up on how to get this done.
Your assistance would greatly be appreciated. Should you require any further information ie. logs etc please feel free to treat me like a total newby and guide me so I can supply the correct information first time around.