Strip (0)

Status
Not open for further replies.

Christian klarer

Bronze Partner
Basic Certified
Joined
Jan 30, 2019
Messages
39
Reaction score
5
Hi there
I'm struggeling with stripping digits out bound. The goal ist to strip the 0 in brackets on numbers with formatting +41 (0) 12 345 67 89 where the zero wuld be used for the national call.
3cx strips the brackets but not the 0 in between so the call doesnt work. I guess I'd have to do a outbound replace pattern with regex but I'm not sure. Any help would be appreciated
 
I think enabling the E164 processing should do the trick.

Another solution would be the following. It's not ideal since you should do this for every different pattern (I really miss the Asterisk pattern matching and I don't think you can use regex).

in your case you should put an outbound rule on top of the others with these added settings:
  1. Calls to numbers starting with prefix: 00410
  2. Strip digits: 5
  3. Prepend: 0041
We enabled E164 Processing so 3CX automagically converts all the numbers from "+41" to "0041" (as example) so you don't need to worry about the "+" prefix.

Hope this helps
 
Hi davide
Thanks for the quick reply. I have E164 active and this does work... The problem is only with the zeros between bracket in the middle of a number e.g. click to call from a website
 
I think what david.bonavita ment is an outbound rule like this:
1594993753666.png
 
  • Like
Reactions: davide.bonavita
Why are numbers being stored (or dialled) in that format to begin with? It is one thing to indicate, on paper, a phone number in a format, that can be dialled as a national number, or internationally. The fact that the zero is in brackets, which are meant for a human to read, and not a machine to interpret, has me confused.

If the numbers are stored locally, not in a mobile phone, then the number would simply have a zero (local required national access code) and no country code, as that would never have to be used. If the number were stored in a device that may be used in another country, then the + and county code would prefix the number, and not the zero, as it would not be needed.

Are people actually dialling numbers in this manner, +, county code, zero, then number, or is this a large database that was acquired elsewhere, that you are attempting to use?
 
Why are numbers being stored (or dialled) in that format to begin with? It is one thing to indicate, on paper, a phone number in a format, that can be dialled as a national number, or internationally. The fact that the zero is in brackets, which are meant for a human to read, and not a machine to interpret, has me confused.

If the numbers are stored locally, not in a mobile phone, then the number would simply have a zero (local required national access code) and no country code, as that would never have to be used. If the number were stored in a device that may be used in another country, then the + and county code would prefix the number, and not the zero, as it would not be needed.

Are people actually dialling numbers in this manner, +, county code, zero, then number, or is this a large database that was acquired elsewhere, that you are attempting to use?

It happened to us as well since we have customers all over the world so basically all of our calls are with the international country code. The agents are aware that they need to prepend the country code before the actual number they have on their CRM but not everybody know they should remove the 0 for some countries (e.g. Uruguay, Ecuador and Argentina). Some other countries like Mexico have two or even three digits long local area codes that need to be removed (e.g. 01 or 044) if you call from other countries. I wasn't aware of that and I couldn't understand why the same call was working with Skype but not with all the other VoIP providers. I had to open a support ticket with the provider just to understand this, and create the appropriate outbound rules on 3CX
 
Thanks everyone for the input, its mainly for calls off websites, so customers can just click on the tel links with the browser extension or if no link just copy the whole thing without removing any digits. Here is an example website.
https://www.esi-group.com/company/worldwide/germany
1595225599570.png

I will give it a shot with the outbound rule....
 
Outbound rules will work if the numbers are all (consistently) in the same format, same number of digits, that require stripping and replacing. Which may not be the case for all international calls.
 
Status
Not open for further replies.

Forum statistics

Threads
111,954
Messages
589,921
Members
164,852
Latest member
priya