[OpenSER-Users] The best way to allow just a few destinations based on prefix?

Juha Heinanen jh at tutpro.com
Tue Feb 19 19:43:32 CET 2008


Iñaki Baz Castillo writes:

 > Hi, which would be the more ellegant way to allow users to call just a few 
 > destinations (based on prefix)?

if you use radius, you could return user's allowed prefixes as reply
items when user is authenticated.

if the list is long, this is not very practical and you may need to
implement a separate check for it.  it is quite hard to avoid db query
in that check especially if each domain/user may have its own list.

-- juha




More information about the sr-users mailing list