Hello,<br><br>    First off going to thank you guys ahead of time, I&#39;m currently running into the following issue:<br><br>I&#39;m trying to account for internal calls, i.e. example scenarios such as:<br><br>UA1 and UA2 are both on P1<br>
<br>UA1 calls UA2 so, effectively: UA1 -&gt; P1 -&gt; UA2<br><br>Now the problem I&#39;m running into is with the direction of the calls, I am having trouble accounting for both sides of the call, i.e. I store an avp such as: $avp(s:account-id)<br>
<br>Obviously the AVP is going to be set to one account_id, and my problem is that the Callee is what ends up &quot;being accounted&quot; for not, the &quot;Caller&quot;.<br><br>Another scenario I would like some insight on and having problems with is:<br>
<br>UA1 is on P1, UA2 is on P2<br><br>UA1 calls P1 -&gt; P2 -&gt; UA2<br><br>same type scenario, only one end of the call (Callee is being accounted for) -- how can I accurately account using kamailio acc module for both sides of the call for both users?<br>
<br>Any thought / input on this is very much appreciated, thanks!<br>