Re: [OpenSIPS-Users] pkmem statistics for version 3.1

2021-05-28 Thread Federico Edorna
enSIPS_eBootcamp_2021/ > > On 4/30/21 7:34 PM, Federico Edorna wrote: > > Hello! moving from 2.4 to 3.1 I've found something strange in pkmem stats. > MI is showing zero values for the first 7 processes > > > *opensips-cli -x mi get_statistics pkmem: -o output_type=lines > *pk

[OpenSIPS-Users] pkmem statistics for version 3.1

2021-04-30 Thread Federico Edorna
Hello! moving from 2.4 to 3.1 I've found something strange in pkmem stats. MI is showing zero values for the first 7 processes *opensips-cli -x mi get_statistics pkmem: -o output_type=lines*pkmem:1-used_size: 0 pkmem:1-real_used_size: 0 pkmem:1-max_used_size: 0 pkmem:1-free_size: 0

Re: [OpenSIPS-Users] multiple sub interfaces - opensips crashes

2020-11-03 Thread Federico Edorna
quivalent? > > On Tue, Nov 3, 2020 at 3:42 PM Federico Edorna > wrote: > >> If it helps, we are using pgbouncer <https://www.pgbouncer.org/> to >> avoid opening a lot of connections to db. Pgbouncer acts as a db server for >> opensips with full workers connections a

Re: [OpenSIPS-Users] multiple sub interfaces - opensips crashes

2020-11-03 Thread Federico Edorna
If it helps, we are using pgbouncer to avoid opening a lot of connections to db. Pgbouncer acts as a db server for opensips with full workers connections and opens just a few (on demand) to real db server. It helps a lot when you have backup/standby opensips, not

Re: [OpenSIPS-Users] interaction between fix_nated_contact(), topology_hiding() and serial forking

2020-10-29 Thread Federico Edorna
Hello! I had a similar problem some time ago, when I moved from 2.2 to 2.4 version. In my case Opensips is acting as a "register proxy", it validates IP/port from the outside world using permissions module and it maps to a username/password to a UAS in the internal network. I use it for UAC's that

Re: [OpenSIPS-Users] OpenSIPS reopen TCP connectios and sends INVITE, but not BYE. How to change it?

2016-11-14 Thread Federico Edorna
Sorry!, after I added the code, opensips does NOT tries to connect. That is my wanted result On Mon, Nov 14, 2016 at 2:10 PM, Federico Edorna <fedo...@anura.com.ar> wrote: > Right! Actually I've added the code in relay_reply function, not in > reply_route, but I guess it has the

Re: [OpenSIPS-Users] OpenSIPS reopen TCP connectios and sends INVITE, but not BYE. How to change it?

2016-11-14 Thread Federico Edorna
reply_route, but OpenSIPS still tries to connect to the client? > After you added the code in reply_received function, OpenSIPS still tries > to connect? > > Best regards, > > Răzvan Crainea > OpenSIPS Solutionswww.opensips-solutions.com > > On 11/14/2016 06:06 PM, Feder

Re: [OpenSIPS-Users] OpenSIPS reopen TCP connectios and sends INVITE, but not BYE. How to change it?

2016-11-14 Thread Federico Edorna
rid of the TCP SYN message? That happens and the > TCP layer, saying that the data arrived successfully. Why would you like to > prevent that? > > Best regards, > > Răzvan Crainea > OpenSIPS Solutionswww.opensips-solutions.com > > On 11/14/2016 04:05 PM, Federico Edorna wro

Re: [OpenSIPS-Users] OpenSIPS reopen TCP connectios and sends INVITE, but not BYE. How to change it?

2016-11-14 Thread Federico Edorna
Hi Răzvan, related to this topic, it seems that tcp_no_new_conn_bflag is not working on "on_reply" routes I've tried changing modules/tm/t_reply.c (opensips 2.2), using something like this: if (tcp_no_new_conn_bflag) tcp_no_new_conn = 1; in "relay_reply" function and now

Re: [OpenSIPS-Users] Memory leak fifo process

2015-09-14 Thread Federico Edorna
zvan Crainea > OpenSIPS Solutionswww.opensips-solutions.com > > On 09/11/2015 05:07 PM, Federico Edorna wrote: > > Hello, > > in function load_pcres in regex_mod.c, I see that when you allocate memory > to read regex groups, the loop goes up to the max_groups parameter ( &

Re: [OpenSIPS-Users] Memory leak fifo process

2015-09-11 Thread Federico Edorna
un out of pkmemory. Regards On Fri, Sep 4, 2015 at 12:18 PM, Federico Edorna <fedo...@anura.com.ar> wrote: > Hi Team, I've found an issue when I reload regular expresion file for > opensips 1.11.5. > > After executing a few "opensipsctl fifo regex_reload"

[OpenSIPS-Users] Memory leak fifo process

2015-09-04 Thread Federico Edorna
Hi Team, I've found an issue when I reload regular expresion file for opensips 1.11.5. After executing a few "opensipsctl fifo regex_reload", the fifo process runs out of pkmem. This is a small loop where I do a regex_reload and then I print the pkmem for MI FIFO processs: root@toro:~# sudo -u

Re: [OpenSIPS-Users] Dispatcher Order SQL DB - version 1.11.5

2015-08-19 Thread Federico Edorna
://www.opensips-solutions.com On 17.08.2015 21:03, Federico Edorna wrote: Actually the table has the priority column in ver 1.11. Anyway, thanks for your response Bogdan, I will try to find a workarround for this version until we upgrade to 2.x. Thanks Regards Federico On Mon, Aug 17, 2015 at 5

Re: [OpenSIPS-Users] Dispatcher Order SQL DB - version 1.11.5

2015-08-18 Thread Federico Edorna
21:03, Federico Edorna wrote: Actually the table has the priority column in ver 1.11. Anyway, thanks for your response Bogdan, I will try to find a workarround for this version until we upgrade to 2.x. Thanks Regards Federico On Mon, Aug 17, 2015 at 5:56 AM, Bogdan-Andrei Iancu bog

Re: [OpenSIPS-Users] Dispatcher Order SQL DB - version 1.11.5

2015-08-17 Thread Federico Edorna
-Andrei Iancu OpenSIPS Founder and Developerhttp://www.opensips-solutions.com On 14.08.2015 20:49, Federico Edorna wrote: Hello Guys, I'm using dispatcher module with postgres database. The ds_select_dst function in the script file is used like this: ds_select_dst($(var(ds_set){s.int}),8

[OpenSIPS-Users] Dispatcher Order SQL DB - version 1.11.5

2015-08-14 Thread Federico Edorna
Hello Guys, I'm using dispatcher module with postgres database. The ds_select_dst function in the script file is used like this: ds_select_dst($(var(ds_set){s.int}),8); that is, using 8 algorithm (first entry in set is chosen) because I need to use always the same destination in the set while it

Re: [OpenSIPS-Users] Opensips 1.11.3 crash

2015-05-28 Thread Federico Edorna
ping pe on IRC, freenode, #opensips so we can debug this further? Best regards, Răzvan Crainea OpenSIPS Solutionswww.opensips-solutions.com On 05/15/2015 04:12 PM, Federico Edorna wrote: Sure, you have 3 different cores pasted on the following urls: http://pastebin.com/xZ2zqJ0F http

Re: [OpenSIPS-Users] Opensips 1.11.3 crash

2015-05-15 Thread Federico Edorna
Crainea raz...@opensips.org wrote: Hi, Federico! Can you attach the output of the core file on pastebin? Best regards, Răzvan Crainea OpenSIPS Solutionswww.opensips-solutions.com On 05/08/2015 04:51 PM, Federico Edorna wrote: Hi Răzvan, It was happening at least once a day. It started

Re: [OpenSIPS-Users] Opensips 1.11.3 crash

2015-05-08 Thread Federico Edorna
? Best regards, Răzvan Crainea OpenSIPS Solutionswww.opensips-solutions.com On 04/24/2015 05:44 PM, Federico Edorna wrote: Just in case somebody deal with the same issue, the problem seems to be event_xmlrpc module. I tried with the event_datagram to notify the external process and I got

Re: [OpenSIPS-Users] Opensips 1.11.3 crash

2015-04-24 Thread Federico Edorna
. On Mon, Apr 6, 2015 at 4:46 PM, Federico Edorna fedo...@anura.com.ar wrote: Hello, I'm getting core dumps in version 1.11.3. Unlike other opensips we are running without problems, we're using some extra modules in this config because opensips needs to notify an external process (via

Re: [OpenSIPS-Users] Opensips 1.11.3 crash

2015-04-06 Thread Federico Edorna
Hello, I'm getting core dumps in version 1.11.3. Unlike other opensips we are running without problems, we're using some extra modules in this config because opensips needs to notify an external process (via event_xmlrpc) when a terminal registers, and that external process afterwards sends

[OpenSIPS-Users] Dialog Replication Behaviour

2014-09-09 Thread Federico Edorna
Hello, I'm working on a redundant solution with Opensips version 1.11.2 using dialog replication via Binary Interface. I've noticed that the active server sends the binary create command to the backup server only when the dialog is confirmed. The problem I've found is than when a call is canceled