[OpenSIPS-Users] Error with Loose Route

Deon Vermeulen vermeulen.deon at gmail.com
Tue Sep 28 23:07:28 CEST 2010



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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100928/9ce3824f/attachment-0002.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Complete Routing Script - NAT Traversal.rtf
Type: text/rtf
Size: 20692 bytes
Desc: not available
Url : http://lists.opensips.org/pipermail/users/attachments/20100928/9ce3824f/attachment-0001.bin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100928/9ce3824f/attachment-0003.htm 


More information about the Users mailing list