[Kamailio-Devel] dropping 200ok?

Klaus Darilion klaus.mailinglists at pernau.at
Fri Oct 24 15:30:04 CEST 2008


This is somehtin gI like to since years.

Check reply and if there is no matching transcation I want to drop it 
(regardsless of the response code)

For this "drop" must work for every response code

regards
klaus

Daniel-Constantin Mierla wrote:
> Hello,
> 
> wondering if makes sense to drop 200ok, maybe other final replies, too.
> 
> Discussing with some folks around, the following use case came up:
> 
> INVITE
> restart
> 200ok
> 
> Due to restart, INVITE transaction in memory is lost, therefore proper 
> accounting is compromised.
> 
> The 200OK is going just fine based on Via and call completes. In this 
> situation, something like:
> 
> onreply_route {
>     if(!t_check_trans())
>     {
>         drop;
>     }
> }
> 
> could protect. Is anyone seeing side effects or workarounds at least for 
> accounting? Have in mind that the INVITE might have been redirected, so 
> From/To headers might not be relevant for who should pay.
> 
> Cheers,
> Daniel
> 



More information about the Devel mailing list