OpenSER module gflags

gflags module (global flags) keeps a bitmap of flags in shared memory and may be used to change behavior of server based on value of the flags. Example:

	if (is_gflag("1")) {
	} else {

The benefit of this module is the value of the switch flags can be manipulated by external applications such as web interface or command line tools. The size of bitmap is 32.

The module exports external commands that can be used to change the global flags via OpenSER Management Interface (MI). The MI commands are:
  • set_gflag - set a global flag
  • reset_gflag - reset a global flag
  • is_gflag - test a global flag

Links to documentation of gflags module:
Created by: miconda, Last modification: Sat 17 of Feb, 2007 (22:51 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+