Re: [SR-Users] load 2 500 000 rows from dialplan

2015-09-24 Thread Javi Gallart
Hello On 24/09/15 11:06, Никитенко Виталий wrote: Hi! I have kamailio-4.2.3. And in table dialplan there is 2 500 000 rows. When i started kamailio i see error ERROR: dialplan [dp_repl.c:74]: repl_exp_parse(): out of shm memory ERROR: dialplan [dp_db.c:393]: build_rule(): failed to compile re

Re: [SR-Users] SIPCapture and Message Queues

2015-07-17 Thread Javi Gallart
Hello, I haven't tested it, but the Kazoo module provides you with an AMQP connector the allows you to publish messages to RabbitMQ. Would that work for you? Javi On 16/07/15 12:52, Grant Bagdasarian wrote: Hello, Would it be possible to send the messages captured by the sipcapture modu

Re: [SR-Users] is_present_hf error on select

2015-03-30 Thread Javi Gallart
eply_error(); } Thanks, Kyle On Fri, Mar 27, 2015 at 8:21 AM, Javi Gallart mailto:jgall...@systemonenoc.com>> wrote: Hi On 27/03/15 16:09, Kyle Kurz wrote: I'm trying to use the is_present_hf function to detect the presence of a user-defined header and getting the follo

Re: [SR-Users] is_present_hf error on select

2015-03-27 Thread Javi Gallart
Hi On 27/03/15 16:09, Kyle Kurz wrote: I'm trying to use the is_present_hf function to detect the presence of a user-defined header and getting the following errors in my Kamailio logs: 2(12149) BUG: [select.c:426]: run_select(): Select structure has not been resolved 2(12149) ERROR: [lvalu

Re: [SR-Users] lua_run seems to be working in asynchronous way

2015-03-09 Thread Javi Gallart
the kamailio sent invite, this is weird, and what is more weird is that i have another kamailio instance connected to same redis and with same setup, and i do see this behavior there. Thank you Best regards 2015-03-06 8:13 GMT+00:00 Javi Gallart mailto:jgall...@systemonenoc

Re: [SR-Users] lua_run seems to be working in asynchronous way

2015-03-06 Thread Javi Gallart
Hello do you mean that the avp you assign inside the lua scripts are not yet ready after "lua_run"? What do you obtain if you print their values? Regards On 06/03/15 00:20, José Seabra wrote: Hi there, I'm using kamailio version 4.2.2 to a short time, and I'm using lua scripts to build some

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-03-05 Thread Javi Gallart
Unless you send the relevant part of your configuration and of the restults the tests I proposed it is really diificult to provide more detailed advice. For instance, is your redis instance in the same machine as Kamailio? Are you using unix sockets or tcp sockets? Can you run kamailio in debig

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Javi Gallart
-cli monitor you are goign to see all the commands sent to redis Javi On 27/02/15 14:30, Yuriy Gorlichenko wrote: What type of info can I provide for deeper analys of this situation? 2015-02-27 14:34 GMT+03:00 Javi Gallart <mailto:jgall...@systemonenoc.com>>: Hello On 27/02/15

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Javi Gallart
Yuriy Gorlichenko <mailto:ovoshl...@gmail.com>>: Now I see that null values recieved after I see this at kamailio log redisc_exec(): Redis error: Server closed the connection 2015-02-27 12:45 GMT+03:00 Javi Gallart mailto:jgall...@systemonenoc.com>>: Hello,

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Javi Gallart
/02/15 10:04, Yuriy Gorlichenko wrote: I will try. I new at redis. Does cli monitor get resul of kamailio request at the cli? 2015-02-27 11:38 GMT+03:00 Javi Gallart <mailto:jgall...@systemonenoc.com>>: Hello can you check with "redis-cli monitor" what is the comman

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Javi Gallart
Hello can you check with "redis-cli monitor" what is the command sent to Redis in that case? Javi On 27/02/15 09:15, Yuriy Gorlichenko wrote: Hello I try to get some replies from redis. Time after time redis request give me null result. But redis bs not disconnected. This happens only with

Re: [SR-Users] Help with dispatcher module

2013-04-08 Thread Javi Gallart
Hello you may try to cast $var(y) to int using this transformation: http://www.kamailio.org/wiki/cookbooks/4.0.x/transformations#sint Regards Javi On 04/09/2013 12:17 AM, julian arsanches wrote: thanks for all support from the forum before hand. i am having an issue with my setup, i am tryi

Re: [SR-Users] How to remove custom header after adding one

2013-02-24 Thread Javi Gallart
Hello you may try to do the remove/add operations in each branch_route Regards Javi -Original Message- From: Mino Haluz Sender: sr-users-boun...@lists.sip-router.org Date: Sun, 24 Feb 2013 19:06:29 To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing

Re: [SR-Users] Use different flags in rtpproxy_manage() based on from which route its called

2012-11-11 Thread Javi Gallart
Hello you can use uac module to generate sip requests from the config file: http://kamailio.org/docs/modules/3.3.x/modules_k/uac.html#id2494432 Regards Javi On 11/11/2012 11:40 AM, Aft nix wrote: On Fri, Nov 9, 2012 at 2:08 PM, Daniel-Constantin Mierla wrote: Hello, On 11/8/12 11:40 AM, A

Re: [SR-Users] Blacklist initialization

2012-10-30 Thread Javi Gallart
Hi Olle What about doing the init stuff in event-route[htable:mod-init] ? Regards Javi --Original Message-- From: Olle E. Johansson Sender: sr-users-boun...@lists.sip-router.org To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List ReplyTo: SIP R

Re: [SR-Users] RTPProxy with kamailio : How to get calls count?

2012-09-14 Thread Javi Gallart
Hello On 09/13/2012 07:09 PM, Mino Haluz wrote: Thank you, setting ulimits worked! And the performance is the same as stated in the document I mentioned! :) One more thing, I found these errors in syslog: Sep 13 18:38:18 perftest kamailio[5268]: ERROR: [parser/sdp/sdp.c:211]: Invalid payload

Re: [SR-Users] DROUTING nub question

2012-08-27 Thread Javi Gallart
Hi maybe this would work. You have a mask like "" (you choose the max length and the content). From the mask you extract as many digits as the length of your number with {s.substr,offset,length}, being length $(rU{s.len}}. Then you prepend the result to you $rU. Hope it helps J

Re: [SR-Users] Best tool for crafting sip messages

2012-08-12 Thread Javi Gallart
Hello you definitely wan to to try sipp (http://sipp.sourceforge.net/). I haven't used sip inspector but have heard good things about it (http://www.sipinspector.com/ ). Regards Javi On Aug 13, 2012, at 7:41 AM, Anton Kvashenkin wrote: Hello, guys. What is the best tool for crafting sip