[OpenSIPS-Users] Error with Loose Route

Adam Twardowski adam.twardowski at gmail.com
Wed Sep 29 05:24:43 CEST 2010


You have an extra } on line 342

On Tue, Sep 28, 2010 at 5:07 PM, Deon Vermeulen <vermeulen.deon at gmail.com>wrote:

>
>
> Just realize I forgot to attach my config.
>
> Thanks again for the help.
>
> Regards
>
>
> On 28 Sep 2010, at 11:00 PM, Deon Vermeulen wrote:
>
> Hi List
>
> When I test my config script I get the below error:
>
> Sep 29 00:50:32 [7656] CRITICAL:core:yyerror: parse error in config file,
> line 347, column 9-11: syntax error
> Sep 29 00:50:32 [7656] CRITICAL:core:yyerror: parse error in config file,
> line 347, column 9-11:
> Sep 29 00:50:32 [7656] ERROR:core:main: bad config file (2 errors)
>
> This is the line of the loose route.
>
> *                    # ----  preloaded route checking ---- #*
> *347  -->                if (loose_route()) {*
> *                                   xlog("L_ERR", "Attempt to route with
> preloaded Route's [$fu/$tu/$ru/$ci]");*
> *                                   if (!is_method("ACK")) {*
> *                                          sl_send_reply("403","Preload
> Route denied");*
> *                                          exit;*
> *                                   }*
> *                      }*
>
>
> Attached is my complete config file.
>
> I've been using the Building Telephony systems with OpenSIPS 1.6 book to
> learn how OpenSIPS work.
> I really have no idea why I am getting this error and would really
> appreciate help.
>
> Thank you very much.
>
> Regards
> Deon
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100928/c5a3bcc1/attachment.htm 


More information about the Users mailing list