Re: [OpenSIPS-Users] Working with a dataset larger than dialplan will load.

2019-04-22 Thread John Kiniston
Thanks guys, I was moving down the path of using redis as an alternative to the dialplan module and it sounds like that is the right direction to go. Liviu, There were not any additional errors, I'll see if I saved a copy of the VM I was exploring using dialplan on and look at the MySQL side of

[OpenSIPS-Users] opensips-cp 8.2.4 MI page and drop-down Servers

2019-04-22 Thread Albary Franco Pimpao Junior
Hi people,Recently I did a git clone of cp for opensips 2.4.x and setup for just one server with MI conn via json. In order to be successfull in the connection my collegue Frederico helped me and did a workaround in ... mi/lib/functions.inc.php. In function show_boxes it was included before

Re: [OpenSIPS-Users] OpenSIPS 2.4.5 stops responding

2019-04-22 Thread Alexey Kazantsev via Users
And warnings related to memory...   WARNING:core:init_reactor_size: shrinking reactor size from 262144 (autodetected via rlimit) to 13107 (limited by memory of 10% from 4Mb)   WARNING:core:init_reactor_size: use 'open_files_limit' to enforce other limit or increase pkg memory

Re: [OpenSIPS-Users] OpenSIPS 2.4.5 stops responding

2019-04-22 Thread Alexey Kazantsev via Users
Guys helped me to find, but still any ideas are welcome https://opensips.org/pipermail/users/2008-December/001872.html --- BR, Alexey http://alexeyka.zantsev.com/ ___ Users mailing list

Re: [OpenSIPS-Users] OpenSIPS 2.4.5 stops responding

2019-04-22 Thread Alexey Kazantsev via Users
I noticed also that these errors appear in log suddenly, maybe this is the cause of OpenSIPS restart? But I haven't examined SIP traffic yet. Just watch the logs.    ERROR:core:forward_reply: no 2nd via found in reply --- BR, Alexey

Re: [OpenSIPS-Users] OpenSIPS 2.4.5 stops responding

2019-04-22 Thread Alexey Kazantsev via Users
I noticed also that these errors appear in log suddenly, maybe this is the cause of OpenSIPS restart? But I haven't examined SIP traffic yet. Just watch the logs. ERROR:core:forward_reply: no 2nd via found in reply --- BR, Alexey

Re: [OpenSIPS-Users] Integrating with Asterisk in the same box

2019-04-22 Thread David Villasmil
How can it mess up your dns? It’s supposed to be in its own DB. Did you put it all (asterisk and opensips) in the same dB schema? On Mon, 22 Apr 2019 at 12:08, John Tuxies wrote: > This is the first thing that i started with. Tried it in opensips 2.4 with > asterisk 16 but it messed all the db

Re: [OpenSIPS-Users] Integrating with Asterisk in the same box

2019-04-22 Thread John Tuxies
This is the first thing that i started with. Tried it in opensips 2.4 with asterisk 16 but it messed all the db schemas in Mysql. Updates on this page to newer versions it will help a lot On Monday, April 22, 2019, Alexey Kazantsev via Users < users@lists.opensips.org> wrote: > Hello John, > >

Re: [OpenSIPS-Users] Integrating with Asterisk in the same box

2019-04-22 Thread Alexey Kazantsev via Users
Hello John, have you read this tutorial? https://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration-1-8 I hope it has a plenty of information you need. --- BR, Alexey http://alexeyka.zantsev.com/

Re: [OpenSIPS-Users] Integrating with Asterisk in the same box

2019-04-22 Thread John Tuxies
i am looking to have a single box where asterisk and opensips live side by side, but in different ports. Opensips will be in port 5060 and everybody will register to Opensips, while Asterisk will be in a different port and have all the services. The available services on asterisk will be

Re: [OpenSIPS-Users] Integrating with Asterisk in the same box

2019-04-22 Thread Liviu Chircu
On 22.04.2019 10:04, John Tuxies wrote: Thanks for your reply. Since i am stuck in the integration of Opensips with Asterisk how do i proceed then? If i create a user to Opensips, do i have to create the same user to Asterisk as well? It much depends on the setup that you want to achieve. 

Re: [OpenSIPS-Users] Integrating with Asterisk in the same box

2019-04-22 Thread John Tuxies
Thanks for your reply. Since i am stuck in the integration of Opensips with Asterisk how do i proceed then? If i create a user to Opensips, do i have to create the same user to Asterisk as well? On Monday, April 22, 2019, Liviu Chircu wrote: > Hi all. I have an installation of opensips 2.4

Re: [OpenSIPS-Users] Working with a dataset larger than dialplan will load.

2019-04-22 Thread Liviu Chircu
I second this -- strictly discussing implementation, dialplan performs a simple (and costly) iteration over up-to-all matching rules for each lookup, while drouting builds an internal trie structure which will dramatically improve lookup latencies. Still, regarding the original problem:  are

Re: [OpenSIPS-Users] async and event handlers

2019-04-22 Thread Liviu Chircu
Hi, John! Some answers below: My question is this: Can I use async() or launch() as a wrapper for a cache_store() function call made from within an event handler? Calling async() or launch() from an event handler SHOULD work (see below).  Unfortunately, the "cache_" family of functions do not

Re: [OpenSIPS-Users] async() and config actions call stack

2019-04-22 Thread Liviu Chircu
Hi Vitalii, Indeed - we have thought about this alternative ever since we introduced "resume route".  However, the amount of work required to make this happen is immense, and would retard the development of other, potentially much more useful features.  It is our belief that, for the moment,

Re: [OpenSIPS-Users] Integrating with Asterisk in the same box

2019-04-22 Thread Liviu Chircu
Hi all. I have an installation of opensips 2.4 with control panel, in a Debian 8 server. I would like to integrate my Opensips installation with an Asterisk 16. For the time being it has to be in the same box. So it would enhance with Incoming/outgoing Trunks, IVR, Voicemail, Conference,etc.

Re: [OpenSIPS-Users] WebRTC and mid_registrar issue

2019-04-22 Thread Liviu Chircu
Hi Terry, Currently, mid-registrar is incompatible with topology hiding, as they both attempt to edit the "Contact" header field. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 09.04.2019 14:01, Terry Walters wrote: I have a working OpenSIPS deployment running as a

Re: [OpenSIPS-Users] Fwd: Opensips SNGTC Module

2019-04-22 Thread Liviu Chircu
Hi Angel, Sorry for missing out on this one -- the sngtc_server daemon should be aware of all cards present on the network (IIRC, it auto-detects them).  Similarly, the sngtc library and OpenSIPS module will auto-detect sngtc_server and make requests to it. It may sound like too good to be