Inbound Caller ID Reformat

Status
Not open for further replies.

jcostlow

Gold Partner
Advanced Certified
Joined
Jul 11, 2020
Messages
396
Reaction score
152
Hi Everyone,

We are testing 3CX with Net2Phone SIP trunks to possibly begin selling our customers alongside our current PBX offering. I am trying to setup the caller ID formatting following the directions from: https://www.3cx.com/docs/cid-reformatting/

Net2Phone sends 11 digit caller ID numbers to us and I made the following format rule. But the caller ID still shows 11 digits
Screen Shot 2020-07-15 at 9.45.15 PM.png

Any help is appreciated.

Here is the setup:
3CX Version: 16.0.619 Professional Annual
Server OS: Debian 9
Server is on premise and firewall check has passed
 
You receive 11 digits but what is your goal ? a 10 digits format?
 
Is the CID coming in +1 or just 1?
 
Hi @jcostlow

As mentioned in the guide:
These rules will not rewrite the incoming “From:Display” value, i.e. if the call has been received with +18135910130, the display will still show this number, while the “core part” of the number to be dialed has been updated.

Make sure that your inbound parameters are configured correctly and that you are reading the number from the correct SIP field. The PBX will reformat the From: User Part so make sure you are reading the number from there.
 
You receive 11 digits but what is your goal ? a 10 digits format?
@aws2p - Sorry, I thought I had mentioned my end goal. Sometimes I type faster than I think :) We are wanting to just see ten digits on the caller ID.

Is the CID coming in +1 or just 1?
@kieferschild - The caller ID only comes in with the 1. I only see the plus one on P-Asserted-Identity in the capture.
Hi @jcostlow

As mentioned in the guide:


Make sure that your inbound parameters are configured correctly and that you are reading the number from the correct SIP field. The PBX will reformat the From: User Part so make sure you are reading the number from there.

@YiannisH_3CX - It is currently defaulted to to use the From: User part.
 
Can you send us a screenshot of your Inbound parameters and an example of an inbound Invite (change the numbers and hide the IPs)?

I tested your reformatting patterns and it should work as you have it set up.
 
Here is the inbound parameters that are set at the moment:
Annotation 2020-07-16 091934.png

Here is a screenshot of the invite.
Annotation 2020-07-16 092737.png

Thanks
 
1594928216122.png

This is what I use, replace 501 with your area code if you want 7 digit numbers. rules 2 and 3 remove +1 and 1 from other area codes.
 
  • Like
Reactions: jcostlow
@3cxnub - Thanks for your suggestion. We are wanting 10 digit numbers so I tried your replace pattern of \2 and it worked.
 
@3cxnub

Note: you only need a single (.*) in any given expression, any variables added after this are ignored
1594969710977.png
 
Status
Not open for further replies.

Forum statistics

Threads
111,954
Messages
589,921
Members
164,851
Latest member
DrunkeMeister