[SR-Users] Globalblacklist - change c-code - how to???

Juha Heinanen jh at tutpro.com
Sun Oct 17 13:57:52 CEST 2010


"Nicolas Rüger" writes:

> I just experienced that the routing logic function "check_blacklist()"
> that refers to globalblacklist table in database does not check the
> caller's URI but checks the callee's URI instead. 
> 
> I want to change that for me, as I need a global blacklist table for
> blacklisting some caller's URIs globally.

you should add a new parameter to check_blacklist() function that
contains the uri the check is done against.  see the other two functions
of the module for examples.

-- juha



More information about the sr-users mailing list