[Serusers] uri matching for dial plans

Iqbal iqbal at gigo.co.uk
Thu Jun 16 14:41:27 CEST 2005


confused !

How would I allow 001xyz but block 001242 001246 001264 001268 001340 
etc etc aside from doing a uri = 001xyz && !(uri=001242|001246) kind of 
statement

I have users bound to a package, from here I can setflag on the user, 
which then allows them into various dialing plans, now in this dialing 
plan I need to allow only certain prefixes, eg the 001 route which will 
allow/disallow the numbers mentioned above

once this is done, getting the gateway etc based on the prefix is not a 
problem.

Iqbal

Juha Heinanen wrote:

>you have to make such a dial plan that you are able to convert any
>dialed number to a "canonical" format.  you then can use the canonical
>prefixes for gw selection.
>
>-- juha
>
>
>.
>
>  
>




More information about the sr-users mailing list