[Devel] CVS commitlog: sip-server/modules/acc README acc.c acc.h acc_extra.c acc_extra.h acc_logic.c acc_logic.h acc_mod.c acc_mod.h defs.h diam_dict.h diam_tcp.h dict.h sip-server/modules/acc/doc acc.sgml acc_user.sgml

Klaus Darilion klaus.mailinglists at pernau.at
Mon Sep 25 18:49:52 CEST 2006


Maybe we can port the on_send route from ser? Further, I think the 
accounting callback must be called after sending, or at least after the 
TLS handshake.

Is it possible to add a callback handler which is executed right after 
sending the message?

regards
klaus

Bogdan-Andrei Iancu wrote:
> Hi Klaus,
> 
> what you are asking is not directly related to accounting engine itself, 
> but with collecting data you would like to be accounted. The data you 
> mentioned cannot be collected since there is no route to be executed 
> after DNS resolving - just before sending the message out.
> 
> regards,
> bogdan
> 
> Klaus Darilion wrote:
> 
>> Hi Bogdan!
>>
>> I once had the problem to account outgoing connection parameters 
>> (IP;transport;TLS parameters...) of transactions. Can this be done now 
>> with the rewrite?
>>
>> regards
>> klaus
>>
>> Bogdan-Andrei Iancu wrote:
>>
>>> User: bogdan_iancu
>>> Date: 2006/09/22 16:32:34 PDT
>>>
>>>   OpenSER CVS - Commit Details
>>>
>>>   Modified files:
>>>     modules/acc          README acc.c acc.h acc_extra.c 
>>>                          acc_extra.h acc_mod.c acc_mod.h 
>>>                          diam_dict.h diam_tcp.h dict.h     
>>> modules/acc/doc      acc.sgml acc_user.sgml   Added files:
>>>     modules/acc          acc_logic.c acc_logic.h   Removed files:
>>>     modules/acc          defs.h   Commit Log:
>>>   grand ACC restructuring and clean-up:
>>>       - simplify internal logic for preparing and message selection
>>>       - more efficient data collection
>>>       - eliminate the FMT-based accounting; instead of it, a default 
>>> set of
>>>         basic values are all the time accounted; for more, extra 
>>> accounting
>>>         should be used -> this leads to a more selective / flexible / 
>>> performant
>>>         accounting
>>>       - pre-builds sets of names / columns / RADIUS AVPs / DIAMETER 
>>> AVPs instead
>>>         of doing it each time a request is accounted
>>>       - "n/a" string for not found/available values replaced with 
>>> empty string ""
>>>       - eliminated a lot of un-necessary functions - heritage from 
>>> the all TM
>>>         callback design (pre pre-transaction transaction)
>>>       - DB accounting table redesigned
>>>       - accounting logic separated in a new file for a better 
>>> modularity.
>>>       - implemented an accounting environment for storing data; helps 
>>> in reducing
>>>         the number of function's parameters and of internal 
>>> functions; more
>>>         important, useless conversions from str to int and to int 
>>> again are
>>>         eliminated
>>>   
>>
> 




More information about the Devel mailing list