[OpenSIPS-Users] Error in opensips.cfg file
Prathibha B
prathibhab.tvm at gmail.com
Mon Aug 21 08:04:51 UTC 2023
if(proto === WSS)
On Mon, 21 Aug 2023 at 13:33, Prathibha B <prathibhab.tvm at gmail.com> wrote:
> Aug 21 08:02:24 [210480] CRITICAL:Traceback (last included file at the
> bottom):
> Aug 21 08:02:24 [210480] CRITICAL: 0. //etc/opensips/opensips.cfg
> Aug 21 08:02:24 [210480] CRITICAL:core:yyerror: parse error in
> //etc/opensips/opensips.cfg:250:16-18: syntax error
> Aug 21 08:02:24 [210480] CRITICAL: if (is_method("REGISTER"))
> Aug 21 08:02:24 [210480] CRITICAL: {
> Aug 21 08:02:24 [210480] CRITICAL: if(proto_wss == WSS) {
> Aug 21 08:02:24 [210480] CRITICAL: ^~~
> Aug 21 08:02:24 [210480] CRITICAL:
> fix_nated_register();
> Aug 21 08:02:24 [210480] CRITICAL: }
> Aug 21 08:02:24 [210480] CRITICAL:core:yyerror: parse error in
> //etc/opensips/opensips.cfg:250:16-18: bare word <proto_wss> found, command
> calls need '()'
> Aug 21 08:02:24 [210480] CRITICAL:core:yyerror: parse error in
> //etc/opensips/opensips.cfg:250:16-18: bad command!)
> Aug 21 08:02:24 [210480] CRITICAL:core:yyerror: parse error in
> //etc/opensips/opensips.cfg:250:22-23: bare word <WSS> found, command calls
> need '()'
> Aug 21 08:02:24 [210480] CRITICAL:core:yyerror: parse error in
> //etc/opensips/opensips.cfg:250:22-23: bad command: missing ';'?
> Aug 21 08:02:24 [210480] CRITICAL:core:yyerror: parse error in
> //etc/opensips/opensips.cfg:250:24-25: bad command!)
> Aug 21 08:02:24 [210480] CRITICAL:core:yyerror: parse error in
> //etc/opensips/opensips.cfg:256:3-5: syntax error
> Aug 21 08:02:24 [210480] CRITICAL:core:yyerror: parse error in
> //etc/opensips/opensips.cfg:256:3-5:
> Aug 21 08:02:24 [210480] ERROR:core:parse_opensips_cfg: bad config file (8
> errors)
> Aug 21 08:02:24 [210480] ERROR:core:main: failed to parse config file
> (null)
> Aug 21 08:02:24 [210480] NOTICE:core:main: Exiting....
>
> --
> Regards,
> B.Prathibha
>
--
Regards,
B.Prathibha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230821/47120a7e/attachment.html>
More information about the Users
mailing list