cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
208
Views
1
Helpful
1
Replies

Block non numerical URIs in CUBE

dgonzalez1
Level 1
Level 1

Hello, I have to block non numerical URI calls in CUBE.

I know it can be done with translation rules / translation profiles, but I not very suer about the regex I should use to match just non numerical URIs and don't affect any other calls.

Something like that should work:

rule 1 reject /(A-Z)+/

Thank you.

1 Reply 1

You could also 'allow' numeric-only with \d{10} (presuming 10-digits) and then follow that with a reject all. That gives you the ability to also reject non-conforming dial strings.

I think, though, that you could be more granular using a SIP Profile on your CUBE rather than a translation profile. 

Maren