[SR-Users] Compiling with db_unixodbc

2013-07-03 Thread Grant Bagdasarian
Hello, I don't know if this has already been reported, but I've downloaded kamailio 4.0.2 and tried to compile it with db_unixodbc. I got the following error: CC (gcc) [M db_unixodbc.so] _con.o _con.c:34:17: fatal error: con.h: No such file or directory compilation terminated.

[SR-Users] Load database table in memory

2013-07-03 Thread Grant Bagdasarian
Hello, I need to query a database for every SIP request coming into Kamailio, but I want this to be handled as fast as possible, so I was thinking of loading the data I need in memory using the HTABLE or MTREE modules. When the SIP request is coming from one of our carriers, the called number

Re: [SR-Users] Load database table in memory

2013-07-03 Thread Alex Balashov
Sure, you can do it that way. However, htable and mtree accommodate relatively primitive data sets. Given sufficient table complexity and/or size, your best bet is to use an in-memory storage backend on the database side itself. In MySQL, this is called:

Re: [SR-Users] Issue with RTP proxy....

2013-07-03 Thread arun Jayaprakash
Carsten, will I need to remove previously installed version of RTP proxy before installing this version? Arun From: Carsten Bock cars...@ng-voice.com To: Daniel-Constantin Mierla mico...@gmail.com; Kamailio (SER) - Users Mailing List

Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-03 Thread Charles Chance
Hi Daniel, Sounds perfect! I will try to test here tomorrow and let you know. Cheers, Charles On 2 July 2013 22:44, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, I pushed a patch in master that detects when the dialog is created by not getting to transaction due to a

Re: [SR-Users] Issue with RTP proxy....

2013-07-03 Thread arun Jayaprakash
Daniel, thank you, I have got it to work on my ec2 instance. I had to open more UDP ports ( opened from 35000 to 65000) and that enabled two way voice communication. Thanks again. Regards, Arun From: Daniel-Constantin Mierla mico...@gmail.com To: arun

Re: [SR-Users] Load database table in memory

2013-07-03 Thread Gary Chen
I am using mtree for the same purpose and it works great. It never expire. I had loaded about 7 millions records in mtree table and there is no performance issue at all. Gary On Wed, Jul 3, 2013 at 7:57 AM, Alex Balashov abalas...@evaristesys.comwrote: Sure, you can do it that way. However,

Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-03 Thread Gary Chen
We need also have a way to timeout all the dead unconfirmed dialog. I have a situation that the SIP message was perfect fine with Bye signal, yet the dialog is still hang with state 1. Gary On Wed, Jul 3, 2013 at 12:25 PM, Charles Chance charles.cha...@sipcentric.com wrote: Hi Daniel,