[Users] extra accounting problem

Daniel-Constantin Mierla daniel at voice-system.ro
Fri May 5 20:05:44 CEST 2006


Hello,

On 05/05/2006 02:47 PM, Klaus Darilion wrote:
> Hi!
>
> I want to extra-account several parameters like source IP 
> address:port, received socket, TLS parameters for the incoming 
> connection AND the outgoing connection.
>
> The incoming connection is simple. I just copy the pseudo variables 
> into  the AVPs which are extra accountend.
>
> For accounting the outgoing parameters, I abuse the response. In the 
> default response route I copy the socket info and TLS parameters into 
> other AVPs (which are also marked for extra accounting).
>
> The AVPs which are filled during the request are stored in the 
> database. But the AVPs which are filled in the response do not get 
> filled into the DB.
>
> Is there a limitation within the ACC module?
the avp you fill in reply route are not associated to the transaction 
you want to account - they are in a separate list which is kept only 
during onreply_route processing.

Cheers,
Daniel

>
> regards
> klaus
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list