Hi,

I noticed that in opensips script gflags and MI commands gflags is off by 1.


if i have this kind of check:


if(is_gflag("1")) {
   xlog("** MAINTANCE MODE \n");
}


and I try to set it on with MI command:

opensipsctl fifo set_gflag 1

it wont work, but this works:

opensipsctl fifo set_gflag 2

is this intended? If it is, I think documentation should mention it?

Tested this with 2.4.x

Regards,
Arto Kuiri

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to