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?
regards klaus
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@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Wouldn't the new DIALOG module help to address this issue?
Edson.
-----Original Message----- From: users-bounces@openser.org [mailto:users-bounces@openser.org] On Behalf Of Daniel-Constantin Mierla Sent: sexta-feira, 5 de maio de 2006 15:06 To: Klaus Darilion Cc: users openser.org Subject: Re: [Users] extra accounting problem
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@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users