The closes to what you are asking is acc and xlog modules. -jiri
At 11:27 PM 6/26/2003, Greg Fausak wrote:
I've got a couple situations I'd like to log.
One is this:
if(!(uri==myself))
{
log(1, "domain not mine $uri");
};
In the above example, I'd like to see the uri in
the log file. Another example:
if (!is_user_in("credentials","local"))
{
log(1,"NO local calls permitted for $uri");
rewriteuri("sip:addaline.com-EN_US-error.not_authorized@64.90.42.15");
t_relay();
break;
};
In this example I'd like to see who actually tried to make
a non-authorized call. Is there an printf() like log, and if
there is what variables do I have access to for printing?
---greg
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers