[OpenSIPS-Users] Forking accounting

ibrahim tunali ibrahim.tunali at voipvoip.com
Thu Feb 12 15:37:05 CET 2009


Hello,

I am dealing with branch routing and multiple leg accounting. I would like
to forward call to several PSTN destinations. I want to account the
certainly which one get the call

I set destination leg avp with below;

branch_route[1]{
     $avp(s:dst_leg)=$rU;
}

The Avp has a few values with branch request username so final response will
create a few Acc rows.

I need to know the winning branch's request username and delete the rest
values of dst_leg avp. Please give me an advise how to handle accounting at
forking.

Another question; When acc records insert to DB for INVITE request, before
or after on_reply_route ?

Best Regards,

Ibrahim TUNALI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090212/399bf171/attachment.htm 


More information about the Users mailing list