Caller ID and bridge

Status
Not open for further replies.

maguirej

Gold Partner
Basic Certified
Joined
Jan 22, 2020
Messages
28
Reaction score
4
Can you pass Caller ID information across a bridge?

I currently have a 3cx (Master) bridge setup with (Asterisk). I am able to pass inbound, outbound, and extension calls between the two PBX systems. In short summary, I have the below rules

Bridge 10012 = Prefix 9 (Outbound Parameter "from Dispaly" "Outbound CallerID"
Outbound = Prefix 9 Trunk 1
Trunk 1 = (910012) Prefix for Bridge and bridge number

I am able to pass the inbound caller ID through the bridge, but not the from field through the bridge. Traffic from the Asterisk side of the bridge shows the from field being present, but is represented from +9, and the bridge number.

EXAMPLE:
Contact: <sip:[email protected]:5060;transport=udp>
To: <sip:[email protected]:5060>
From: <sip:[email protected]:5060>;tag=4a1365ae-88bc-4f89-8b7b-26e8a7

07/21/2021 5:27:30 PM - [CM503007]: Call(C:1330): Line:10012<<+9 has joined, contact <sip:[email protected]:5060/udp>

So at this point, I am either getting a +9 or the bridge, but never the submitted from field. Is this even possible?
 
I believe I am placing the trunk number 10012 when I am routing inbound trunks to to the bridge. Trunk 1 is set to route calls "Forward to Outside Number" 9 [prepend] 10012 [trunk number]. I don't know of any other way to prepend 9 and route the calls from the trunk.

Under this pretense all did's would be routed to the bridge and all would show the trunk number assigned.
 
Hi @maguirej

The first thing you need to do is to see in which SIP field the callers name is included when it hits the 3CX PBX. Then you need to set your Inbound parameters of the trunk to read the correct SIP field. In my example the callers name is included in the From: DisplayName so I have the trunk reading this information from there.

1626938541710.png

Then you need to set your Bridge to also use the same Variable
1626938680448.png

The PBX will use this information and will send it across the bridge in the Remote Party ID SIP header so your Asterisk needs to read the callers name and caller ID from the Remote Party ID SIP header and not from the From header which is used by the PBX for authentication purposes.

Hope this helps
 
Ok I read your post again and I am now a bit confused. Do you want to see the callers number on the Asterisk side?
If that is the case then the above apply you will just need to locate in which SIP field the caller ID is included when hitting the PBX and set it up in the Inbound parameters of the trunk in 3CX. Then in the bridge settings you will need to set the OriginatorCallerID variable
1626939748956.png

Again you can read it from the Remote Party ID SIP header in the Asterisk side.
 
Status
Not open for further replies.

Forum statistics

Threads
111,992
Messages
590,171
Members
164,929
Latest member
Cloudstar