Re: [OpenSIPS-Users] opensips-cli dlg_end stuck in process

2020-08-27 Thread Liviu Chircu
On 27.08.2020 21:45, Vic Jolin wrote: shell_exec("/usr/local/bin/opensips-cli -x mi dlg_end_dlg 83719145016"); Hi Vic, If you're going to program on top of OpenSIPS 3.0, you might as well do it the right way, by enabling the "httpd" + "mi_http" modules.  Once loaded, you will be able to

[OpenSIPS-Users] opensips-cli dlg_end stuck in process

2020-08-27 Thread Vic Jolin
Hello, I have an outside PHP script that reads the dialog calls and when I try to end a dialog using the dialog id shell_exec("/usr/local/bin/opensips-cli -x mi dlg_end_dlg 83719145016"); it just get stuck in the process ___ Users mailing list

Re: [OpenSIPS-Users] dialogs do not restore on restart

2020-08-27 Thread William Simon
Thank you for the confirmation. I will use the workaround you have given. From: Users on behalf of Liviu Chircu Reply-To: OpenSIPS users mailling list Date: Thursday, August 27, 2020 at 10:30 AM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] dialogs do not restore on restart

Re: [OpenSIPS-Users] dialogs do not restore on restart

2020-08-27 Thread Liviu Chircu
On 08.08.2020 02:08, William Simon wrote: Using opensips 3.0, I have set up the dialog module for db mode 3 (store dialogs at shutdown) with a postgres backend. I have also tested with a local sqlite backend. On shutdown, the active dialogs are saved to the database. But on restart, the

Re: [OpenSIPS-Users] dialogs do not restore on restart

2020-08-27 Thread William Simon
Hello Răzvan, No clustering support, this is a single opensips proxy. I would simply like it to remember its active dialogs if I have to do a brief restart. There are no errors appearing in the log at startup either. Thanks for your reply! On 8/27/20, 3:47 AM, "Users on behalf of Răzvan

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

[OpenSIPS-Users] no more share memory opensips 3.1

2020-08-27 Thread Mario San Vicente
Hello Everyone, I am running a stress test on a server, and around 4200 calls, opensips stops. I get logs for no more share memory. ERROR:tm:build_local: no more share memory ERROR:core:qm_malloc_dbg: not enough free shm memory (0 bytes left, need 6 72), please increase the "-m"

Re: [OpenSIPS-Users] dialogs do not restore on restart

2020-08-27 Thread Răzvan Crainea
Hi, William! Are you using clustering support? Are you seeing any errors during startup? Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 8/8/20 2:08 AM, William Simon wrote: Using opensips 3.0, I have set up the dialog module for db mode 3 (store

Re: [OpenSIPS-Users] topology_hiding and contact port

2020-08-27 Thread Răzvan Crainea
Hi, Yohann! Is there a hard requirement for this? I am asking because the module explicitly removes it if it is the default port, as Contact: and Contact: are 100% equivalent. You might be able to achieve this if you're using the set_advertised_port() function[1] before calling

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] Dialog module behavior

2020-08-27 Thread Denys Pozniak
Hello, Razvan, Thanks for the information. I assumed that the construction of the dialogs (for initial forked SIP INVITEs) would happen by callid and from_tag only. ср, 26 авг. 2020 г. в 12:14, Răzvan Crainea : > Hi, Denys! > > Yes, the upstream proxy should create two different transactions,