[Kamailio-Devel] dropping 200ok?

Daniel-Constantin Mierla miconda at gmail.com
Fri Oct 24 15:08:10 CEST 2008


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

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the Devel mailing list