Hi team
Is there any way to get correct CDRS when using the dialog module and restarting kamailio?
I have configured the dialog timeout to be 12 hours.
But today while doing IC billing, we stumbled over a call that lasted for a week. Probably due to a stale entry in the database dialogue tables left over after a kamailio restart.
Looking at the logs there definitely was something wrong:
dialog [dlg_req_within.c:211]: bye_reply_cb(): inconsistent dlg timer data on dlg 0x7f153f503778 [956:2612] with clid '35BEFD13@7f33ff47' and tags '7f33ff47+1+75300082+dde85140' '3891401256-2097511021'
acc [acc_cdr.c:229]: db_write_cdr(): fallback to dlg_only search because of message doesn't exist.
Hello,
there are several reasons why this could happen. A user agent that just disappears or has a bug in the signalization, or a bug in the Kamailio dialog module.
Hard to say without more details. If you have a SIP trace running, you can maybe find the call with the call-id (clid) from below. Then you could try to reproduce it after analysing it.
Cheers,
Henning
-----Original Message----- From: Benoît Panizzon benoit.panizzon@imp.ch Sent: Freitag, 12. Mai 2023 11:16 To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: [SR-Users] How to prevent run-away dialogues?
Hi team
Is there any way to get correct CDRS when using the dialog module and restarting kamailio?
I have configured the dialog timeout to be 12 hours.
But today while doing IC billing, we stumbled over a call that lasted for a week. Probably due to a stale entry in the database dialogue tables left over after a kamailio restart.
Looking at the logs there definitely was something wrong:
dialog [dlg_req_within.c:211]: bye_reply_cb(): inconsistent dlg timer data on dlg 0x7f153f503778 [956:2612] with clid '35BEFD13@7f33ff47' and tags '7f33ff47+1+75300082+dde85140' '3891401256-2097511021'
acc [acc_cdr.c:229]: db_write_cdr(): fallback to dlg_only search because of message doesn't exist.
-- Mit freundlichen Grüssen
-Benoît Panizzon- @ HomeOffice und normal erreichbar