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

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

2008/12/18 Andreas Granig <agranig at sipwise.com>:
> Iñaki Baz Castillo wrote:
>>> 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?
> You could do it manually by checking $T_reply_code and using
> acc_db_request() from a failure route.

Yes, but it doesn't explain how to do the accounting when receiving
the 200 OK for the BYE.

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

More information about the Users mailing list