[OpenSIPS-Users] opensips 1.11.5 error opening new ssl connections with postgres

2015-09-16 Thread Iñigo Belamendia
Hi, >From last monday our OpenSIPS (1.11.5) dies after a restart. The process starts but after few seconds (10") it goes down. In log we can see some access to database (Postgres), but after some queries it refuses new queries execution. An error message appears in log saying there's no authoriza

[OpenSIPS-Users] Table dialog remains empty even after calls. Some error in my config file? Others tables are good.

2015-09-16 Thread Rodrigo Pimenta Carvalho
Dear OpenSIPS-Users, I'm using OpenSIPS 2.2 with SQLite, from commit 97ea216790a20e150d09314aeea360aa48a37b36. I have noticed that my OpenSIPS is recording data only into the following tables: - subscriber - location - missed_calls -acc I need make my OpenSIPS record data into table dia

Re: [OpenSIPS-Users] OpenSips-CP Not Working

2015-09-16 Thread Giovanni Maruzzelli
Check the web server logs sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Sep 16, 2015 9:03 PM, "Muhammad Usman Shahid" < usmanshahidmuham...@gmail.com> wrote: > The following error occurs in Javascript console when I try to login to > Opensips-cp > > POST http://192.168.1.15/

Re: [OpenSIPS-Users] OpenSips-CP Not Working

2015-09-16 Thread Muhammad Usman Shahid
The following error occurs in Javascript console when I try to login to Opensips-cp POST http://192.168.1.15/opensips-cp/web/login.php 500 (Internal Server Error) Please help On Wed, Sep 16, 2015 at 10:38 PM, Muhammad Usman Shahid < usmanshahidmuham...@gmail.com> wrote: > Hello, > > I am trying

[OpenSIPS-Users] OpenSips-CP Not Working

2015-09-16 Thread Muhammad Usman Shahid
Hello, I am trying to run opensips-cp but after I input username and password my browser opens "login.php" but nothing shows. I am using the following tutorial. http://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration Please help. -- Muhammad Usman Shahid. ___

Re: [OpenSIPS-Users] Regarding installing cachedb_mangodb with opensips-1.11

2015-09-16 Thread Sasmita Panda
Hi Liviu, Thank you so much for the reply . I had installed mongod: 3.1 and mongo-c-drive : 0.6 . I had already compiled and install opensips-1.11 with this . There is no error during compilation and installation . My opensips is install in the dir : /usr/sbin/opensips , /usr/etc/opens

[OpenSIPS-Users] Segfault 1.11.5

2015-09-16 Thread Kneeoh
Any ideas on what this may be? I just had a segfault / crash of opensips. Looks like something in the TM module. opensips[17425]: segfault at c ip 7f24be7da046 sp 7fff4cb3bf00 error 4 in tm.so[7f24be799000+64000] I don't see anything else interesting in the logs.

[OpenSIPS-Users] Dynamic routing module handling Re-invite

2015-09-16 Thread Ping Han
Hi, I am using dynamic routing module to route the calls to a "carrier", which is configured to have two gateways (each has 50% weight). The expect behavior is that the one call is routed to gateway 1 and the next call is routed to gateway 2. I have a particular scenario, which is that each call

[OpenSIPS-Users] The "exe" function opens a file and does not close it

2015-09-16 Thread Ping Han
Hi, I am having a problem using the "exec" function to run a curl command. Every time the function is executed it opens a file and never close it. I have example config as follows. I am using Opensips 2.1. -- $var = "http://myserver/var/tmp/test.php";; exec("curl '$var(url)'", , "

Re: [OpenSIPS-Users] What is the frequency that OpenSIPS reads the FIFO file?

2015-09-16 Thread Rodrigo Pimenta Carvalho
Great! Thanks. RODRIGO PIMENTA CARVALHO Inatel Competence Center Software Ph: +55 35 3471 9200 RAMAL 979 De: users-boun...@lists.opensips.org em nome de Razvan Crainea Enviado: quarta-feira, 16 de setembro de 2015 04:10 Para: users@lists.opensips.org Assunt

Re: [OpenSIPS-Users] How to encode HTTP URL params values?

2015-09-16 Thread Andrey Vorobiev
Great thanks. On Wed, Sep 16, 2015 at 11:47 AM, Liviu Chircu wrote: > Hi Andrey, > > You can place the unescaped string into a variable (e.g. "$var"), then use > the {s.escape.user} transformation. > e.g.: > $var(query) = "username=john smith&password=hard,to#guess"; > xlog("after: \"$(v

Re: [OpenSIPS-Users] How to encode HTTP URL params values?

2015-09-16 Thread Liviu Chircu
Hi Andrey, You can place the unescaped string into a variable (e.g. "$var"), then use the {s.escape.user} transformation. e.g.: $var(query) = "username=john smith&password=hard,to#guess"; xlog("after: \"$(var(query){s.escape.user})\"\n"); rest_get("http://localhost/?$(var(query){s.

Re: [OpenSIPS-Users] opensips 2.1 not starting when avp_db_query loading

2015-09-16 Thread Răzvan Crainea
Please open at ticket on the ticketing system[1] for us to keep track of this issue. [1] https://github.com/OpenSIPS/opensips/issues Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 09/16/2015 10:31 AM, Игорь Павлов wrote: Oh, Răzvan. Many thanks! I thoughtthat "

Re: [OpenSIPS-Users] opensips 2.1 not starting when avp_db_query loading

2015-09-16 Thread Игорь Павлов
Oh, Răzvan. Many thanks! I thought that "db_default_url" will be enough for avpops too. Now it working, with modparam("avpops","db_url","...") Is it possible to add some debug information to log when db_url is not specified for this module? С уважением, Павлов Игорь RingCloud 2015

Re: [OpenSIPS-Users] opensips 2.1 not starting when avp_db_query loading

2015-09-16 Thread Răzvan Crainea
You don't have any db_url specified for avpops? Is this generating a core dump? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 09/16/2015 08:34 AM, Игорь Павлов wrote: Hi, I don't understand why my opensips 2.1 not starting with avp_db_query() function. Last

Re: [OpenSIPS-Users] What is the frequency that OpenSIPS reads the FIFO file?

2015-09-16 Thread Răzvan Crainea
Hi, Rodrigo! OpenSIPS reads the file instantly, as soon as you send a command through the FIFO. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 09/15/2015 08:59 PM, Rodrigo Pimenta Carvalho wrote: Hi. The OpenSIPS can read a FIFO file to get requested comman