On 27.10.2022 17:55, Saint Michael wrote:
I just need to know how to check for the gflag inside the code this: if (is_gflag("1")) {..} does not work, even if the flag is (1), as I wrote this test from the command line worksopensips-cli -x mi is_gflag 1 true As you can see, unless you can test for the gflag value inside the code, it cannot be used. The module gflag is of a great importance when managing Opensips, because it allows for an orderly shutdown without losing CDR, that is: money. Many thanks.
Script: is_gflag(0) (is bit "0" set?) MI: is_gflag(1) (are all bits in bitmask "1" set?) -- Liviu Chircu www.twitter.com/liviuchircu | www.opensips-solutions.com _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
