[Users] accounting of final replies

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Mar 8 21:04:04 CET 2007


Hello,

you can use a failure_route[] to check if the reply was local or remote 
generated and add a special avp that you have in extra accounting.

Cheers,
Daniel


On 03/08/07 15:26, Henning Westerholt wrote:
> Hello all,
>
> i need to do additional accounting for final replies with the acc module, 
> especially distinguish local from forwarded replies. We patched 0.9.5 for 
> this functionality. We add a flag to the message, that is set by tm, and read 
> from the acc module and then added to the log message.
>
> Is this possible in 1.2 with the extra accounting functions and pseudo 
> variables? Or is the approach described above still prefered? 
>
> I know that there exist the t_local_replied() function in tm, and it is 
> perhaps with that possible to log a message in the config file with 
> add_log_request(). But it would be nice if this information could be included 
> in the normal accounting log message.
>
> Thanks,
>
> Henning
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list