QUESTION Formatting CID on forwarded outbound calls

atsak

Guru
Joined
Sep 7, 2009
Messages
2,473
Reaction score
487
When I receive a call to a ring group which forwards calls to my various desk phones and cell phones, the CID passed inbound is in NXXNXXXXXX format. However, most of my outbound carriers need the format 1 NXXNXXXXXX (in other words the number needs to have the 1 inserted as it passes to my cell phone so it doesn't get interpreted as an international call).

Does anyone know how to do this?
 
I think you can fix this with whatever outbound international prefix you require. From the US, it is 01, from Europe it is 00, for example.
 
Both your inbound and outbound routing should be 'normalized' such that the + (the meta character for international calling (011 in NANP land 00 in most of the rest of the world)) is transparently transposed to both your individual carriers and the users in your locale. That way it always works.

Example

Carrier A accepts e164 , +13235551212 (LA) will work as will +442075551212 (London) - no problem
Carrier B only does NXXNXXNXXX for NANP , remove the +1
Carrier C accepts 1NXXNXXXXXX or NXXNXXXXXX , but not e164, remove the +

User Granny only dials NXXXXXX, prepend NPA to it
User Mum likes NXXNXXXXXX because that's what is used there , prepend 1 if necessary
User Dad has been to the big city so uses 1NXXNXXXXXX


So the normalized number is always

+(COUNTRYCODE)(AREACODE)(SUBSCRIBER)

Build outbound routes to suite your carriers , each might be differeent

Transpose Inbound calls , stripping + if necessary, adding 1 if NANP and that's what the user expects and stripping +1 if you live in the boonies.

The end result is the phone displays a locale specific and understandable CallerID(Num) to the user and she can call that number back. You will reverse engineer all the way back to e164 as necessary

The best place to start is in your inbound context, use something like the e164 one in extensions.conf reworked for your particular locale . 10 or 11 digits to suit in NANP land

Simklarly your outbound routes should accept both 10 and eleven digit dialing to make any out of towners happy.
 
Last edited:

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top