[OpenSIPS-Users] Blocking Premium and Special Routes

Vlad Paiu vladpaiu at opensips.org
Mon Sep 1 10:34:26 CEST 2014


One alternative would be to use the drouting module to store the prefix 
list for the premium / special services routes, and use do_routing() 
just for matching those prefixes - if you have a match, simply reject 
the call.

Best Regards,

Vlad Paiu
OpenSIPS Developer

On 31.08.2014 03:48, Nick Cameo wrote:
> Hello Everyone,
> We would like to stop users from trying to terminate calls to premium 
> and special
> services routes. Most vendors already block this however, just in case 
> we come
> across one that does not, we would like to address the issue on our side.
> What we have come up with is storing the codes in a MySQL db, and use
> memchached to dip into the table on interval and cache the current 
> info from
> the persistent storage. Finally, use the cachedb module to pull the key
> value pair from the memcached on every call.
> Any other approaches or suggestions would be greatly appreciated. Just
> weighing in our options.
> Thanks in Advance,
> Nick.
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140901/e3bcb0ff/attachment.htm>

More information about the Users mailing list