hi Bogdan,<br> <br>local_route {<br><br> if ( is_method("BYE") {<br> setflag(1);<br> acc_db_request("Internally generated BYE", "acc");<br> }<br> }<br>
<br>This is the local_route. and line no. 842<br><br><br><br><br><br><div class="gmail_quote">On Fri, Apr 3, 2009 at 9:39 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">could you post the exact content of the line 842 ? (the one reported in the error msg) ?<br>
<br>
Regards,<br>
Bogdan<br>
<br>
PS: be sure you properly closed all the brackets from the previous routes!!!<br>
<br>
<br>
ASHWINI NAIDU wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
hi Bogdan,<br>
<br>
with out index also i am getting the same error.<br>
<br></div><div class="im">
On Fri, Apr 3, 2009 at 8:35 PM, Bogdan-Andrei Iancu <<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>>> wrote:<br>
<br>
Hi Ashwini,<br>
<br>
See <a href="http://www.opensips.org/index.php?n=Resources.DocsCoreRoutes#toc6" target="_blank">http://www.opensips.org/index.php?n=Resources.DocsCoreRoutes#toc6</a><br>
<br>
The local_route does not have an index in definition....<br>
<br>
Regards,<br>
Bogdan<br>
<br>
ASHWINI NAIDU wrote:<br>
<br>
hi all,<br>
<br>
When i try to implement *local_route* in opensips.cfg i get<br>
the following errors<br>
*<br>
debian:/var/www/CDRTool/library# /etc/init.d/opensips start<br>
Not starting opensips: invalid configuration file!<br>
<br>
Apr 3 18:26:11 [6886] CRITICAL:core:yyerror: parse error in<br>
config file, line 842, column 12-13: syntax error<br>
Apr 3 18:26:11 [6886] CRITICAL:core:yyerror: parse error in<br>
config file, line 842, column 12-13: invalid local_route statement<br>
Apr 3 18:26:11 [6886] CRITICAL:core:yyerror: parse error in<br>
config file, line 842, column 13-14:<br>
Apr 3 18:26:11 [6886] ERROR:core:main: bad config file (3<br>
errors)*<br>
<br>
<br>
-- Thanking You,<br>
Ashwini BR Naidu<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br></div>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><div class="im"><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
<br>
<br>
-- <br>
Thanking You,<br>
Ashwini BR Naidu<br>
</div></blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanking You,<br>Ashwini BR Naidu<br>