[OpenSIPS-Users] How to stop script execution?

Anton Zagorskiy a.zagorskiy at oyster-telecom.ru
Tue Feb 8 12:46:24 CET 2011


Log inspections shows that while I processing first INVITE an original UAc
sends INVITE again, but OpenSIPS doesn't recognize it as already received
and start processing it again (makes a new transaction).

Why that can happens?


> 
> 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
> 
> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list