Issue with Converting Numbers in v20

haba-beton

Premier Customer
Joined
May 31, 2021
Messages
34
Reaction score
4
Hi everyone,

We recently updated to v20, and our provider now only supports numbers in the E.164 format.

Previously, when dialing an international number, we used:
00049...
And then stripped the first 0, resulting in 0049..., which worked fine.

Now, in v20, I have one outbound rule per trunk.
1738863095313.png

In the trunk settings of the "GAR-TEMPLATE-3CX", I configured a transformation rule:
000(.*) -> +\1
1738863133968.png

However, the conversion does not work. When checking SIP traces, the number is still sent as 00049..., without being converted.

What am I doing wrong?
Is there something different in how outbound rules work in v20? Any help would be appreciated!

Thanks in advance!
Sadin Junuzovic
 
In your outbound rule, just strip 3 digits and prepend a +

1738912827764.png

And you dont need to add the extra 0. You can either dial just the number as 0049 or +49

The PBX will still process the call. Dialling a 0 for an outbound line was relevant for analog systems.
 
  • Like
Reactions: haba-beton
What is the purpose of reformatting the incoming numbers inside the trunk if it’s not working?

I would have to create three outbound rules for one trunk, like you mentioned:
  1. 000 -> +
  2. 00 -> +49
  3. 0 -> +498634
And we have over 10 trunks, so it would get quite confusing if I handle this within the inbound trunks.
 
That is to reformat the Caller ID of the number coming in.

So if a number comes in as 030 from Berlin it will show it on the screen of the user as +4930. That is not to reformat the outgoing number you dial. That is done by the outbound rules.
 
  • Like
Reactions: haba-beton
But there are two options inside the trunk to reformat the number: outgoing and incoming. So, what does "outgoing" refer to in this context?
 
Thats to reformat the incoming and outgoing Caller ID. The format of the number being sent, NOT the number being dialled.

So essentially with the outbound reformatting you would reformat the number YOU present to the other person.

https://www.3cx.com/docs/cid-reformatting/
 
  • Like
Reactions: haba-beton
Got it, that makes sense now. I really appreciate the clarification—sorry about that!
 
  • Like
Reactions: haba-beton

Members Online Now

Forum statistics

Threads
111,832
Messages
589,283
Members
164,662
Latest member
DejanMDS