[OpenSIPS-Users] How to stop script execution?
Dave Singer
dave.singer at wideideas.com
Tue Feb 8 17:16:35 CET 2011
Anton,
My bet is that since the first one was dropped, a transaction was
never created and thus the transaction cleanup doesn't happen either.
If you want it to it do the automatic cleanup it might work to create
a transaction prior to the reply, then use t_reply and finally drop.
Dave
On Tue, Feb 8, 2011 at 3:46 AM, Anton Zagorskiy
<a.zagorskiy at oyster-telecom.ru> wrote:
> 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
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list