[OpenSIPS-Users] Local_route problem
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Sun Apr 5 14:47:17 CEST 2009
Hi Ashwini,
what was the problem? some missing bracket as I suspected?
Regards,
Bogdan
ASHWINI NAIDU wrote:
> Hi Bogdan,
>
> I have fixed the problem.
>
>
> On Sat, Apr 4, 2009 at 10:53 AM, ASHWINI NAIDU
> <ashwini.naidu at gmail.com <mailto:ashwini.naidu at gmail.com>> wrote:
>
> hi Bogdan,
>
> local_route {
>
> if ( is_method("BYE") {
> setflag(1);
> acc_db_request("Internally generated BYE", "acc");
> }
> }
>
> This is the local_route. and line no. 842
>
>
>
>
>
>
> On Fri, Apr 3, 2009 at 9:39 PM, Bogdan-Andrei Iancu
> <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>> wrote:
>
> could you post the exact content of the line 842 ? (the one
> reported in the error msg) ?
>
> Regards,
> Bogdan
>
> PS: be sure you properly closed all the brackets from the
> previous routes!!!
>
>
> ASHWINI NAIDU wrote:
>
> hi Bogdan,
>
> with out index also i am getting the same error.
>
> On Fri, Apr 3, 2009 at 8:35 PM, Bogdan-Andrei Iancu
> <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>
> <mailto:bogdan at voice-system.ro
> <mailto:bogdan at voice-system.ro>>> wrote:
>
> Hi Ashwini,
>
> See
> http://www.opensips.org/index.php?n=Resources.DocsCoreRoutes#toc6
>
> The local_route does not have an index in definition....
>
> Regards,
> Bogdan
>
> ASHWINI NAIDU wrote:
>
> hi all,
>
> When i try to implement *local_route* in
> opensips.cfg i get
> the following errors
> *
> debian:/var/www/CDRTool/library#
> /etc/init.d/opensips start
> Not starting opensips: invalid configuration file!
>
> Apr 3 18:26:11 [6886] CRITICAL:core:yyerror: parse
> error in
> config file, line 842, column 12-13: syntax error
> Apr 3 18:26:11 [6886] CRITICAL:core:yyerror: parse
> error in
> config file, line 842, column 12-13: invalid
> local_route statement
> Apr 3 18:26:11 [6886] CRITICAL:core:yyerror: parse
> error in
> config file, line 842, column 13-14:
> Apr 3 18:26:11 [6886] ERROR:core:main: bad config
> file (3
> errors)*
>
>
> -- Thanking You,
> Ashwini BR Naidu
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> <mailto:Users at lists.opensips.org>
> <mailto:Users at lists.opensips.org
> <mailto:Users at lists.opensips.org>>
>
>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>
> --
> Thanking You,
> Ashwini BR Naidu
>
>
>
>
>
> --
> Thanking You,
> Ashwini BR Naidu
>
>
>
>
> --
> Thanking You,
> Ashwini BR Naidu
More information about the Users
mailing list