[Kamailio-Devel] [Fwd: [OpenSIPS-Devel] [NEW Functionality] extra accounting from replies]

Iñaki Baz Castillo ibc at aliax.net
Sat Nov 29 21:08:39 CET 2008


2008/11/20 Alex Balashov <abalashov at evaristesys.com>:

> Now, you can simply do:
> modparam("acc", "log_extra",
>     "contactA=$ct;
> contactB=$ct/reply;uaA=$hdr(User-Agent);uaB=$hdr(Server)/reply;src_ipA=$si;src_ipB=$si/reply")
>
> use the "/reply" marker to say you want that PV to be evaluated in the
> context of the reply; by default (without the marker), the evaluation is
> done in the request context.

What about if there is parallel forking with various 183? (imagine the
case in which early-dialgo are accounted).



-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the Devel mailing list