{"action":"opened","issue":{"url":"https://api.github.com/repos/OpenSIPS/opensips/issues/1460","repository_url":"https://api.github.com/repos/OpenSIPS/opensips","labels_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/1460/labels{/name}","comments_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/1460/comments","events_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/1460/events","html_url":"https://github.com/OpenSIPS/opensips/issues/1460","id":359440030,"node_id":"MDU6SXNzdWUzNTk0NDAwMzA=","number":1460,"title":"glags in 2.4 doesn't work","user":{"login":"nikbyte","id":948963,"node_id":"MDQ6VXNlcjk0ODk2Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/948963?v=4","gravatar_id":"","url":"https://api.github.com/users/nikbyte","html_url":"https://github.com/nikbyte","followers_url":"https://api.github.com/users/nikbyte/followers","following_url":"https://api.github.com/users/nikbyte/following{/other_user}","gists_url":"https://api.github.com/users/nikbyte/gists{/gist_id}","starred_url":"https://api.github.com/users/nikbyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikbyte/subscriptions","organizations_url":"https://api.github.com/users/nikbyte/orgs","repos_url":"https://api.github.com/users/nikbyte/repos","events_url":"https://api.github.com/users/nikbyte/events{/privacy}","received_events_url":"https://api.github.com/users/nikbyte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-12T11:37:24Z","updated_at":"2018-09-12T11:37:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hello team,\r\n\r\ngflags module in 2.4\r\n\r\n# opensipsctl fifo set_gflag 1\r\n# opensipsctl fifo is_gflag 1\r\nTRUE\r\n# opensipsctl fifo is_gflag 2\r\nFALSE\r\n\r\nhowever in script:\r\n$var(zzz1) = is_gflag(\"1\");\r\n$var(zzz2) = is_gflag(\"2\");\r\nxlog(\"$var(zzz1) $var(zzz2)\");\r\n\r\nreturns \"-1 -1\".\r\n\r\ngflags are not available from the script."}}
{"actor":{"display_login":"nikbyte"}}