Hello,
after having fixed my type in the inbound routes (link), now I got stuck at the outbound routes.
If I simple use the following as dialplan expression, all is working fine:
But if I use this one, it is not working:
What I want to achieve is to catch local German numbers in all possible variations. Maybe this regex is not a masterpiece of art but it should be correct and all my tests on online regex tester are OK. Dialing the same phone number as before, I get an error
Any idea what is wrong with my regex?
after having fixed my type in the inbound routes (link), now I got stuck at the outbound routes.
If I simple use the following as dialplan expression, all is working fine:
Code:
^$
Code:
^(|49|\+49|0049|0)[1-9](\d*)$
What I want to achieve is to catch local German numbers in all possible variations. Maybe this regex is not a masterpiece of art but it should be correct and all my tests on online regex tester are OK. Dialing the same phone number as before, I get an error
c7df482e-5673-4ee0-b63c-f9a65a3f310a 2024-03-29 16:06:41.505901 95.07% [INFO] mod_dptools.c:3635 Originate Failed. Cause: INVALID_NUMBER_FORMAT
Any idea what is wrong with my regex?
Last edited: