Hi ibrahim,

For paralel forking you do not need multi-leg accounting.  TM will 
select the wining branch (the one that picked up) and acc will use for 
accounting the wining branch. So you do not have to do anything about this.

Regards,
Bogdan

ibrahim tunali wrote:
> 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
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to