Handling invalid outbound route

Status
Not open for further replies.

Summer

New Member
Oct 22, 2021
13
0
1
35
What is the best way to handle when a user types a number in wrong which is not covered by the existing outbound routes?

I was thinking to set a catch all (.*) route but that doesn't appear to work if I set the order to something higher than everything else. I may not understand the "Order" property for a dialplan.

Any advise would help a lot :)
 
You shouldn't need to do anything, by default the system will respond with "Temporarily Unavailable".
 
When I dial a invalid number it replies with "Not found".

However what I would really like is a recorded message to let the user know that the number is invalid.
 
Ok, so in the dialplan manager you should be able to set a catch all, the regex would be something like ^[0-9]+$ (see the attached image). Screenshot from 2022-08-12 18-20-49.png
Make sure you set the dialplan order to something like 999 so it will not interfere with other dialplan rules.
 
Ah excellent to hear and thx for the contribution to this thread. I havn't tackled this in the last few days. I'll set aside some time tomorrow and investigate more into it.
 
Status
Not open for further replies.