[Users] Difference between method and is_method

Rodrigo P. Telles telles-listas at devel-it.com.br
Wed Nov 1 20:53:18 CET 2006


Hi Folks,

Today I realised something strange in openser-1.1.0-notls.
I'm trying to mach any ACKs to do something (e.g. logging) but its doesn't work at all.

I'm using "method" like this:

If (method=="ACK") {
	xlog("L_ALERT","ACK received\n");
};

and I it doesn't work, but...

if (is_method("ACK")) {
	xlog("L_ALERT","ACK received\n");
};

works perfectly!
I could not find anything about it in archive mail list neither in doc.

Rodrigo P. Telles




More information about the Users mailing list