[Users] Multi Call-Legs accounting

Daniel-Constantin Mierla daniel at voice-system.ro
Wed Oct 11 08:42:45 CEST 2006


You have to write A and B in src avp and B and C in dst avp. If you run 
the developement version, check the readme, because the acc module has 
been refurbished.

Cheers,
Daniel


On 10/10/06 12:22, Ricardo Carvalho wrote:
> Is it possible in openser to store in DB B's contact in multi 
> call-legs calls (when A calls B but B forwards blindly in his phone to 
> C)?
> I've configured my openser.cfg script the following way, but it only 
> stores in DB A and C contacts for each forwarded call!!
>
> ------------------------------------------------------------------------------------------------- 
>
> modparam("acc", "multi_leg_enabled", 1)
> modparam("acc", "src_leg_avp_id", 110)
> modparam("acc", "dst_leg_avp_id", 111)
> ...
> route {
>
>       ## populate the avps (for Multi call leg accounting):
>       if (!method=="REGISTER" && !method=="NOTIFY") {
>               avp_write("$from/username", "$avp(i:110)");
>               avp_write("$ruri/username", "$avp(i:111)");
>         };
> .....
> ------------------------------------------------------------------------------------------------- 
>
>
> Regards,
> Ricardo.
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>




More information about the sr-users mailing list