Hi to all,I have some troubles with acc_db module and acc_cdrs table.
First scenario:
Alice calls Bob and after a while, when a call is established, Alice hangs up, sending a BYE. The acc_cdrs table is filled up with the right data:
* src_user, src_domain, src_ip are from Alice account (the caller)
* dst_user etc etc are from Bob account (the callee)
In this scenario all works as expected: the src data are from who starts the call, and the dst data are from who receives the call.
In the following scenario src and dst data are inverted.
Alice calls Bob and after a while, when a call is established, Bob hangs up, sending a BYE. The acc_cdrs table now is:
* src_user, src_domain, src_ip are from Bob account (the callee that sends the BYE message)
* dst_user etc etc are from Alice account (the caller that receives the BYE)
This is the intended behavior or I’m missing something? How I can record the CDR data with the right CALLER and CALLEE data ?