[OpenSER-Users] How to visualice a flag in easy way?

Iñaki Baz Castillo ibc at in.ilimit.es
Tue Oct 16 18:50:24 CEST 2007


Hi, for now, the only way to test flags is by $bf (not useful if there are 
enabled some bflags) or doing something as:

 	if (isbflagset(6)) {
 		$var(bflag6) = 1;
 	}
	xlog("L_INFO","--- $var(bflag6) ----\n");

As a suggestion, couldn't be a way to access to the value of a flag like:

       xlog("L_INFO","--- $bf[6] ----\n");

This could be useful to when matching flgas with table fields and so.

Regards.


-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the sr-users mailing list