[Kamailio-Users] Accounting: How to avoid a fraudulent BYE with lower CSeq?

Iñaki Baz Castillo ibc at aliax.net
Thu Dec 18 15:28:42 CET 2008


2008/12/18 Alex Hermann <alex at speakup.nl>:
> On Thursday 18 December 2008, Iñaki Baz Castillo wrote:
>> Hi, first of all I'm sorry for this cross-posting, but I think it
>> could be interesting for any SIP proxy with accounting capabilities.
>
>> But I think this is too complex, isn't it?
> It is complex, but not impossible.
>
>
> I think is is feasable to do accounting on the proxy _IF_ you can trust your
> gateways and make use of that trust.
>
> Start accounting on receipt of a 200 OK on an INVITE request.
>
> Stop accounting:
> 1) On 200 OK (or maybe 481 or other response) from the gateway in response to
> a BYE.
> 2) On BYE from the gateway

Is it feasible with the acc module? Can the acc be stoped depending on
the response? is it valid to set the acc flag in on_reply_route?

-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the Users mailing list