If I have acc set to log CANCEL'd calls, do I need to set the accounting flag on handling CANCEL request, since it is a new transaction relative to the initial INVITE, or will it get logged automatically?
Thanks,
On 24.10.2009 7:34 Uhr, Alex Balashov wrote:
If I have acc set to log CANCEL'd calls, do I need to set the accounting flag on handling CANCEL request, since it is a new transaction relative to the initial INVITE, or will it get logged automatically?
when the call is canceled, invite can be accounted as failed transaction -- the appropriate flag must be set.
CANCEL itself is special since received cancel is dropped and new ones are created for each branch (hop by hop), if you want to account it you have to use the functions exported by acc module.
Cheers, Daniel