[OpenSIPS-Users] acc not writing INVITE to db
Marcin Groszek
marcin at voipplus.net
Tue Mar 1 00:18:28 UTC 2022
In my case upgrade was not relevant. The issue has been a database
structure. We attempted to use master/master replication between 3 nodes
that included dialog table and written dialog entry has been corrupting
as soon as got written by a mariadb remote cluster node, It worked just
fine with a local cluster node.
I have spent weeks to figure it out. During testing and troubleshooting
the results ware not consistent. It would work once and not work next
test without any changes. It has been very time consuming, and all I got
from debug was that the dialog was not found.
Check your DBG, as Răzvan wrote : CDRs are based on dialog support,
ngrep or log database entries if you see an attempts to be written. If
you use extra_fields database may reject insert if the value for
extra_field is NULL or wrong format depending on type of extra_field.
By no means I am an expert, but if your extra_field is NOT NULL and
value is not supplied the whole insert is rejected.
Hope this helps a bit.
On 2/28/2022 12:48 AM, Saint Michael wrote:
> I have a similar issue, which probably started with an update
> 30% of my calls' CDR do not get written to disk after
>
> OPENSIPSCTL=/usr/local/bin/opensips-cli
> /usr/bin/timeout -k 5 5 ${OPENSIPSCTL} -x mi flat_rotate 2>&1 >>
> /usr/src/cdr.log
>
> any idea what can be happening?
>
>
>
> On Sun, Feb 27, 2022 at 4:44 PM Marcin Groszek <marcin at voipplus.net
> <mailto:marcin at voipplus.net>> wrote:
>
> You may disregard. I have located the issue.
>
> --
> Best Regards:
> Marcin Groszek
> Business Voip Resource.
> http://www.voipplus.net
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Best Regards:
Marcin Groszek
Business Voip Resource.
http://www.voipplus.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220228/fd2ebf72/attachment.html>
More information about the Users
mailing list