[OpenSIPS-Users] How to stop script execution?
Anton Zagorskiy
a.zagorskiy at oyster-telecom.ru
Tue Feb 8 12:18:48 CET 2011
Hi.
I have 2 nested routes:
route -> route[invite] -> route[check]
In the route[check] I need to stop the execution of the script. I wrote:
route[check]
{
sl_send_reply("401", "Forbidden");
drop;
}
But this isn't working.
OpenSIPS replies "401: Forbidden" but continues the execution of the script.
Is this normal?
WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagorskiy at oyster-telecom.ru
www.oyster-telecom.ru
More information about the Users
mailing list