Hello,<br><br>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<br><br>I set destination leg avp with below;<br>

<br>branch_route[1]{<br>&nbsp;&nbsp;&nbsp;&nbsp; $avp(s:dst_leg)=$rU;<br>}<br><br>The Avp has a few values with branch request username so final response will create a few Acc rows.<br><br>I need to know the winning branch&#39;s request username and delete the rest values of dst_leg avp. Please give me an advise how to handle accounting at forking.<br>

<br>Another question; When acc records insert to DB for INVITE request, before or after on_reply_route ?<br><br>Best Regards,<br><br clear="all">Ibrahim TUNALI<br><br>