[SR-Users] ACC_CDRS table with src and dst data are inverted

Emanuele Gambaro emanuele.gambaro at pynlab.com
Tue May 15 16:51:36 CEST 2018


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 ?

Emanuele


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180515/ed2f3264/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180515/ed2f3264/attachment.sig>


More information about the sr-users mailing list