[OpenSIPS-Users] bad arguments for command <setflag>

Prathibha B prathibhab.tvm at gmail.com
Thu Aug 31 07:18:55 UTC 2023


Aug 31 06:58:48 [346547] CRITICAL:Traceback (last included file at the
bottom):
Aug 31 06:58:48 [346547] CRITICAL: 0. //etc/opensips/opensips.cfg
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:184:11-17: syntax error
Aug 31 06:58:48 [346547] CRITICAL:      # check if the clients are using
WebSockets or WebSocketSecure
Aug 31 06:58:48 [346547] CRITICAL:      if ($socket_in(proto) == "WS" ||
$socket_in(proto) == "WSS")
Aug 31 06:58:48 [346547] CRITICAL:              setflag(SRC_WS);
Aug 31 06:58:48 [346547] CRITICAL:              ^~~~~~~
Aug 31 06:58:48 [346547] CRITICAL:
Aug 31 06:58:48 [346547] CRITICAL:      # consider the client is behind NAT
- always fix the contact
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:184:17-18: bad arguments for command <setflag>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:193:17-23: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:193:23-24: bad arguments for command <isflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:194:13-19: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:194:19-20: bad arguments for command <setbflag>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:239:16-22: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:239:22-23: bad arguments for command <isflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:239:38-44: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:239:44-45: bad arguments for command
<isbflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:241:21-27: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:241:27-28: bad arguments for command <isflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:241:44-50: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:241:50-51: bad arguments for command
<isbflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:243:22-28: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:243:28-29: bad arguments for command <isflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:243:44-50: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:243:50-51: bad arguments for command
<isbflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:245:22-28: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:245:28-29: bad arguments for command <isflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:245:45-51: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:245:51-52: bad arguments for command
<isbflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:257:16-22: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:257:22-23: bad arguments for command <isflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:257:38-44: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:257:44-45: bad arguments for command
<isbflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:259:21-27: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:259:27-28: bad arguments for command <isflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:259:44-50: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:259:50-51: bad arguments for command
<isbflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:261:22-28: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:261:28-29: bad arguments for command <isflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:261:44-50: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:261:50-51: bad arguments for command
<isbflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:263:22-28: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:263:28-29: bad arguments for command <isflagset>
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:263:45-51: syntax error
Aug 31 06:58:48 [346547] CRITICAL:core:yyerror: parse error in
//etc/opensips/opensips.cfg:263:51-52: bad arguments for command
<isbflagset>
Aug 31 06:58:48 [346547] ERROR:core:parse_opensips_cfg: bad config file (38
errors)
Aug 31 06:58:48 [346547] ERROR:core:main: failed to parse config file (null)
Aug 31 06:58:48 [346547] NOTICE:core:main: Exiting....

-- 
Regards,
B.Prathibha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230831/0775fab6/attachment.html>


More information about the Users mailing list