Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-09-15 Thread Vic Jolin
Yes that is the order we process the flatstore file On Thu, Aug 27, 2020, 4:55 PM Răzvan Crainea, wrote: > Then you should make sure that you execute the rotation in the following > order: > > 1. move the file > 2. run the rotate command > 3. process the CDR file > > Best regards, > > Răzvan

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-09-15 Thread Vic Jolin
Just another question with regards to this, how often should we move and rotate the flatstore files? On Thu, Aug 27, 2020 at 4:55 PM Răzvan Crainea wrote: > Then you should make sure that you execute the rotation in the following > order: > > 1. move the file > 2. run the rotate command > 3.

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-27 Thread Răzvan Crainea
Then you should make sure that you execute the rotation in the following order: 1. move the file 2. run the rotate command 3. process the CDR file Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 8/27/20 11:21 AM, Vic Jolin wrote: Yes we rotate it via

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-27 Thread Vic Jolin
Yes we rotate it via cron. And each process creates a different flatstore file. Is it relative to traffic and number of processes running? On Thu, Aug 27, 2020 at 4:13 PM Răzvan Crainea wrote: > Are you rotating those files or something? Perhaps you're loosing some > CDRs during the rotation

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-27 Thread Răzvan Crainea
Are you rotating those files or something? Perhaps you're loosing some CDRs during the rotation process. Are you dumping all CDRs in a single file, or each process has its own file? Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 8/27/20 11:01 AM, Vic

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-27 Thread Vic Jolin
Hi Razvan, CDRs are generated, but there are missing entries in cdrs, meaning when we see CDRs from our providers we see calls, but we do not see them even in the flatstore file logs On Thu, Aug 27, 2020 at 3:45 PM Răzvan Crainea wrote: > Hi, Vic! > > It is not clear in your report whether

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-27 Thread Răzvan Crainea
Hi, Vic! It is not clear in your report whether there are no CDR files generated, or you're just missing some of them. Could you please clarify? Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 8/7/20 9:50 AM, Vic Jolin wrote: I still need to

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-07 Thread Vic Jolin
I still need to clarify why this is happening. We are missing calls in cdrs On Fri, Aug 7, 2020, 2:30 AM Stas Kobzar, wrote: > Sorry, Vic > I was talking about a different module "db_text". I just did not get the > subject right. > I do not know about flatstore, sorry. > > However, you can

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-06 Thread Stas Kobzar
Sorry, Vic I was talking about a different module "db_text". I just did not get the subject right. I do not know about flatstore, sorry. However, you can still check your permissions for "/var/log/acc". Or, jist temporary use "/tmp" path to make sure this is not a permission problem. On Thu, Aug

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-06 Thread Vic Jolin
Staz, Hi thanks for the reply, I forgot I think to mention about my config loadmodule "db_flatstore.so" modparam("db_flatstore", "flush", 1) modparam("db_flatstore", "suffix", ".log_SERVERIP") loadmodule "acc.so" /* what special events should be accounted ? */ modparam("acc", "early_media", 1)

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-06 Thread Stas Kobzar
By the way, you have to copy "version" flat text storage file too corresponding your opensips version and correct path set in configuration file like: text:///opt/opensips/etc/opensips/db On Thu, Aug 6, 2020 at 1:37 PM Stas Kobzar wrote: > Hello, > > You should create the file with headers. You

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-08-06 Thread Stas Kobzar
Hello, You should create the file with headers. You can copy required storage file from here: https://github.com/OpenSIPS/opensips/tree/master/scripts/dbtext/opensips And, of course, make sure you have good owner and permissions set to the file. On Thu, Aug 6, 2020 at 1:26 PM Vic Jolin wrote:

[OpenSIPS-Users] Flatstore files missing some calls

2020-08-06 Thread Vic Jolin
Hello, What are the reasons why flatstore files are not being created? Im seeing this output in a binary journal file, and not from a normal log file I have my output logs in /var/log/messages (but we do not see it coming here as well) ACC: call ended: