A call wasn't created or disappeared from CDR list

Status
Not open for further replies.

Zivk

Member
Apr 7, 2019
35
6
8
62
Hi,

We had today a situation of a call that has no row in database table v_xml_cdr, and therefore doesn't appear in the Call Record Details UI.
* We see this call in the FreeSWITCH log
* The call's recording file exists on disk in the correct folder /var/lib/freeswitch/recordings/<domain_name>/archive/2019/Jun/05/<uuid>.mp3.
* We got events for this call via the Event Socket

What could happen?

Thanks.
 

ad5ou

Active Member
Jun 12, 2018
884
197
43
The default method for CDR's to populate the database is to send an HTTP POST to Nginx. It is rare but possible for the web server to error out and not do what it should.

Mark has documented how to bypass the HTTP call in the member documentation.
 

Zivk

Member
Apr 7, 2019
35
6
8
62
So it means we cannot trust the default behavior? OK, thanks.
Where can I find the explanation how to bypass HTTP?
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
If the HTTP POST fails then it will write to the disk automatically. What we have found in the past though is that if the XML is somehow malformed it will fail silently.
 

Zivk

Member
Apr 7, 2019
35
6
8
62
Is there a way to detect cases of failure to write the v_xml_cdr rows, beyond getting feedback from customers who cannot find calls in the CDR UI?
Is there a way to make this part of the system more robust?
 
Status
Not open for further replies.