Re: [Kamailio-Users] another instance of kamailio on the same machine

2009-04-03 Thread Juan Perez
thank you all very much, I will try it and let you know - Original Message From: Ovidiu Sas To: Juan Perez Cc: Iñaki Baz Castillo ; users@lists.kamailio.org Sent: Friday, April 3, 2009 4:27:41 PM Subject: Re: [Kamailio-Users] another instance of kamailio on the same machine Do not u

Re: [Kamailio-Users] another instance of kamailio on the same machine

2009-04-03 Thread Ovidiu Sas
Do not use kamctl script. You will need to do more tweaking in order to get that one to work. Just start kamailio from the comand line. Regards, Ovidiu Sas On Fri, Apr 3, 2009 at 5:18 PM, Juan Perez wrote: > > thank you ovidiu > > I do not have an init scrip, I start and stop using the "kamctl

Re: [Kamailio-Users] another instance of kamailio on the same machine

2009-04-03 Thread Iñaki Baz Castillo
El Viernes 03 Abril 2009, Juan Perez escribió: > I do not have an init scrip, I start and stop using the "kamctl stop|start" > which is a bash script.Is this the one that you are referring to? I think "kamctl" just runs "kamailio -f /etc/kamailio/kamailio.cfg" So you cannot use "kamctl" to run ka

Re: [Kamailio-Users] another instance of kamailio on the same machine

2009-04-03 Thread Juan Perez
thank you ovidiu I do not have an init scrip, I start and stop using the "kamctl stop|start" which is a bash script.Is this the one that you are referring to? I intend to listen on the same port but in another IP, each instance will use a different ip, so I have to change the listening ip only.

Re: [Kamailio-Users] another instance of kamailio on the same machine

2009-04-03 Thread Ovidiu Sas
All you need is to follow this simple steps: 1. make a clean install of kamailio 2. define your config files for each service: - kamailio1.cfg - kamailio2.cfg 3. create two seprate init scripts: kamailio1 and kamailio2 4. make sure that each init script is using the appropriate config f

Re: [Kamailio-Users] another instance of kamailio on the same machine

2009-04-03 Thread Iñaki Baz Castillo
El Viernes 03 Abril 2009, Juan Perez escribió: > understood. > > so I just need 2 softlinks? You just need one: /usr/local/install-dir2/sbin2/kamailio2 --> /usr/local/install-dir/sbin/kamailio And you don't need it in fact, but it's nice to have it since in this way you can see two kind

Re: [Kamailio-Users] another instance of kamailio on the same machine

2009-04-03 Thread Juan Perez
understood. so I just need 2 softlinks? - Original Message From: Iñaki Baz Castillo To: users@lists.kamailio.org Sent: Friday, April 3, 2009 3:43:24 PM Subject: Re: [Kamailio-Users] another instance of kamailio on the same machine El Viernes 03 Abril 2009, Juan Perez escribió: > hi

Re: [Kamailio-Users] another instance of kamailio on the same machine

2009-04-03 Thread Iñaki Baz Castillo
El Viernes 03 Abril 2009, Juan Perez escribió: > hi guys , I tried to do it and it wont start > > my setup is: > centos5 > kamailio 1.4 > > I installed kamailio originally in /usr/local/install-dir/ > Now I created a folder named "install-dir2" and created these 3 soft links: > > /usr/local/install

Re: [Kamailio-Users] another instance of kamailio on the same machine

2009-04-03 Thread Juan Perez
hi guys , I tried to do it and it wont start my setup is: centos5 kamailio 1.4 I installed kamailio originally in /usr/local/install-dir/ Now I created a folder named "install-dir2" and created these 3 soft links: /usr/local/install-dir2/etc2/kamailio2/kamailio2.cfg --> /usr/local/install-dir

[Kamailio-Users] Nethelper Causes Kamailio to Crash

2009-04-03 Thread Carlos A. Alvarez
I am running into a situation where the nathelper module is causing openser/kamailio to crash. The crash occurs when opensbc sends and invite to openser with an extra CR in the message body. I already contacted the opensbc folks about this. I just wanted you all to be aware that this could ca

Re: [Kamailio-Users] LCR Configuration Confirmation

2009-04-03 Thread Geoffrey Mina
A couple of other questions regarding LCR. Hopefully they are all simple. I read the overview and exported method docs and didn't find 100% definitive answers to any of this: 1 - If I have 2 gateways with the same group id and the same weight, will the LCR module route in a round-robin fashion b

[Kamailio-Users] LCR Configuration Confirmation

2009-04-03 Thread geoffreymina
Hello, I am modifying my LCR setup and just wanted to get some confirmation that I am following best practices. I am a I am loading up 18,500 routes into the table which all belong to a single group. There will be a single route in a second group which all non-matches will fail over to.

Re: [Kamailio-Users] BIGINT MySQL problems in 1.5.0.

2009-04-03 Thread Daniel-Constantin Mierla
On 04/03/2009 03:39 PM, Alex Balashov wrote: > Daniel, > > Daniel-Constantin Mierla wrote: > >> pseudo-variables can hold only integer or string values. IIRC, >> Henning added bigint inside the mysql module, but that has not >> support to upper level of script variables. > > It does not work wh

Re: [Kamailio-Users] [Kamailio-Devel] BIGINT MySQL problems in 1.5.0.

2009-04-03 Thread Henning Westerholt
On Friday 03 April 2009, Alex Balashov wrote: > [..] > I am not sure I understand the point of BIGINT support if the values > cannot be utilised in virtually any way in script. Can you tell me what > it is? It seems that most other variations on the theme of strings and > integers (e.g. smallint,

Re: [Kamailio-Users] [Kamailio-Devel] BIGINT MySQL problems in 1.5.0.

2009-04-03 Thread Henning Westerholt
On Friday 03 April 2009, Daniel-Constantin Mierla wrote: > > I just installed 1.5.0 and wired it up to a MySQL 5.0.x database, and it > > appears that I am getting empty/null values for BIGINT columns when > > accessing them from script. > [..] > pseudo-variables can hold only integer or string val

Re: [Kamailio-Users] BIGINT MySQL problems in 1.5.0.

2009-04-03 Thread Alex Balashov
Daniel, Daniel-Constantin Mierla wrote: > pseudo-variables can hold only integer or string values. IIRC, Henning > added bigint inside the mysql module, but that has not support to upper > level of script variables. It does not work when the value is printed in a string substitution context e

Re: [Kamailio-Users] Get transaction ID

2009-04-03 Thread Daniel-Constantin Mierla
On 04/02/2009 06:42 PM, kévin l'heveder wrote: > > > 2009/4/2 Daniel-Constantin Mierla > > > please cc to mailing lists ... private emails of such type get > ignored. > > Thanks, > Daniel > > > On 04/02/2009 05:44 PM, kévin l'heveder wrote: > >

Re: [Kamailio-Users] BIGINT MySQL problems in 1.5.0.

2009-04-03 Thread Daniel-Constantin Mierla
Hello, On 04/03/2009 08:54 AM, Alex Balashov wrote: > Greetings, > > I just installed 1.5.0 and wired it up to a MySQL 5.0.x database, and it > appears that I am getting empty/null values for BIGINT columns when > accessing them from script. > > This is true when I do something like this with S