Re: [Kamailio-Users] 1.5 TLS compile on Solaris 10

2009-06-09 Thread Robert McGilvray
FYI... I was able to compile after updating openssl to 0.9.8k which has support for TLS server_name extensions. On 0.9.8g it was throwing an error while compiling cfg.tab.c : Compiling cfg.tab.c /usr/sfw/bin/gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc -DNAME

Re: [Kamailio-Users] Keep-alive implementation

2009-06-09 Thread Saúl Ibarra
> The only problem with it is when a fuc**ng SIP ALG enabled router takes place. > It will modify the request so it'll look as coming from public IP (NAT cannot > be detected in Kamailio), but most of these infernal routers don't mantain the > keepalive so the input traffic is closed after UDP "con

Re: [Kamailio-Users] Keep-alive implementation

2009-06-09 Thread Iñaki Baz Castillo
El Martes, 9 de Junio de 2009, Alex Balashov escribió: > Iñaki Baz Castillo wrote: > > El Martes, 9 de Junio de 2009, Saúl Ibarra escribió: > >> Nevertheless, I would keep it active, and set ping_nated_only to 1, so > >> you just ping clients which are known to be behind NAT. > > > > The only probl

Re: [Kamailio-Users] Keep-alive implementation

2009-06-09 Thread Alex Balashov
Iñaki Baz Castillo wrote: El Martes, 9 de Junio de 2009, Saúl Ibarra escribió: Nevertheless, I would keep it active, and set ping_nated_only to 1, so you just ping clients which are known to be behind NAT. The only problem with it is when a fuc**ng SIP ALG enabled router takes place. It will m

Re: [Kamailio-Users] Keep-alive implementation

2009-06-09 Thread Iñaki Baz Castillo
El Martes, 9 de Junio de 2009, Saúl Ibarra escribió: > Nevertheless, I would keep it active, and set ping_nated_only to 1, so > you just ping clients which are known to be behind NAT. The only problem with it is when a fuc**ng SIP ALG enabled router takes place. It will modify the request so it'll

Re: [Kamailio-Users] Keep-alive implementation

2009-06-09 Thread Saúl Ibarra
If you are going to 'ping' the server you could deactivate the udp ping by setting natping_interval to 0. http://www.kamailio.org/docs/modules/1.5.x/nathelper.html#id2453019 Nevertheless, I would keep it active, and set ping_nated_only to 1, so you just ping clients which are known to be behind NA

[Kamailio-Users] Maintenance of Modules

2009-06-09 Thread Cristhiano Rovani
Hi, I would like to understand the maintenance of modules of Opensips and Kamailio. The developer is same for two plataforms ? How are made updates ? The modules are compatible between plataforms ? If I get one default module (eg. lcr/carrierroute) of kamailio and put in opensips, this work ? Have

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Pascal Maugeri
OK good news, with the lastest of 1.5 branch I could not reproduced the bug I reported. I've sent something like 3x1000 SIP PUBLISH requests and couldn't get the error (with 1.5.1. after 40-50 req, the bug was reproduced easily). Thanks a lot to both for your help! -pascal On Tue, Jun 9, 2009 at

[Kamailio-Users] Keep-alive implementation

2009-06-09 Thread Ariadne Ramos
I’m trying to implement Keep alive to maintain communication with nated clients. Enabling it in the terminals We eliminate OPTIONS natpings setbflag(7); We want to eliminate setbflag(6); because when this is setted openser send 4 bytes packages to maintain the communication with nated clients.

[Kamailio-Users] 1.5 TLS compile on Solaris 10

2009-06-09 Thread Robert McGilvray
I'm having trouble compiling kam 1.5 on solaris 10 sparc with TLS enabled. It works fine if I don't try and link against ssl. Libaries are installed in /usr/local/lib, includes in /usr/local/include/openssl. I have 1.3 installed on the same machine with TLs and I don't recall any problems compilin

Re: [Kamailio-Users] freeing innername from htable Re: perl module, "pv_sprintf: Memory exhausted!"

2009-06-09 Thread Mik Cheez
Christian, Not sure if this will help you, but it's a good starting point if you want to use Perl. I grab a good deal of information using the headers and AVP's in order to write data to a MSSQL database and do LCR. Here's essentially how I grab the values: #Begin use strict; use OpenSER qw ( lo

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Pascal Maugeri
at least it starts :-) let's see if I get these db errors ... -pascal On Tue, Jun 9, 2009 at 5:28 PM, Pascal Maugeri wrote: > ok I try it again > -pascal > > > On Tue, Jun 9, 2009 at 5:27 PM, Daniel-Constantin Mierla < > mico...@gmail.com> wrote: > >> I mistakenly returned error code even all was

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Pascal Maugeri
ok I try it again -pascal On Tue, Jun 9, 2009 at 5:27 PM, Daniel-Constantin Mierla wrote: > I mistakenly returned error code even all was ok, in the previous commit. > Should be fixed on svn. > > Thanks, > Daniel > > On 06/09/2009 06:22 PM, Pascal Maugeri wrote: > >> I just tried your fix but now

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Daniel-Constantin Mierla
I mistakenly returned error code even all was ok, in the previous commit. Should be fixed on svn. Thanks, Daniel On 06/09/2009 06:22 PM, Pascal Maugeri wrote: I just tried your fix but now the server does not start any more and gives the following error: Jun 9 19:19:20 sandbox /usr/sbin/kam

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Pascal Maugeri
I just tried your fix but now the server does not start any more and gives the following error: Jun 9 19:19:20 sandbox /usr/sbin/kamailio[15982]: INFO:core:init_mod: initializing module xcap_client Jun 9 19:19:20 sandbox /usr/sbin/kamailio[15982]: INFO:core:init_mod: initializing module pua Jun

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Iñaki Baz Castillo
2009/6/9 Pascal Maugeri : > Indeed, yes I have the xcap_client module loaded. > > I believe you found the gulty module : as I have another server without the > xcap_client loaded and it does not give this db error ! http://openser.svn.sourceforge.net/viewvc/openser?view=rev&revision=5871 ;) --

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Pascal Maugeri
Indeed, yes I have the xcap_client module loaded. I believe you found the gulty module : as I have another server without the xcap_client loaded and it does not give this db error ! -pascal > Hi Pascal, do you have loaded xcap_client module? > > -- > Iñaki Baz Castillo > > > __

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Pascal Maugeri
> Do you need anything else ? >> > I hope you still have entire log as I need to see previous sql command sent > by process with pid 15153 (the one that threw the error). Please grep it and > send it to me. > :-( no sorry I haven't keep the entire log. I'm sorry this is my fault as I remember you

Re: [Kamailio-Users] freeing innername from htable Re: perl module, "pv_sprintf: Memory exhausted!"

2009-06-09 Thread Christian Koch
Hello Daniel, Daniel-Constantin Mierla schrieb: unfortunately you cannot use $sht in this way from perl module. The same limitation that prevent calling any function from modules apply here -- the fixup system used at startup, when string parameters are pre-compiled in different forms to speed

Re: [Kamailio-Users] FW: can't send a register packet to openser

2009-06-09 Thread Iñaki Baz Castillo
2009/6/9 vivi : > > > Hi all > > I am using libeXosip and libosip for my applicationi want to run two > instances of libeXosipon same machine, > > But when I using sip_reg to send a register packet to my openser , I can’t > find sip_reg running on background. This question has nothing to

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Daniel-Constantin Mierla
I did a fix for what Inaki reported for xcap_client, you can get latest svn version for 1.5 and try again, maybe that was the issue. Thanks, Daniel On 06/08/2009 04:54 PM, Pascal Maugeri wrote: Daniel, do you want me to do other test ? -pascal On Fri, Jun 5, 2009 at 4:26 PM, Pascal Maugeri m

[Kamailio-Users] FW: can't send a register packet to openser

2009-06-09 Thread vivi
Hi all I am using libeXosip and libosip for my applicationi want to run two instances of libeXosipon same machine, But when I using sip_reg to send a register packet to my openser , I can't find sip_reg running on background. What am I missing? Waiting for your replies..

Re: [Kamailio-Users] freeing innername from htable Re: perl module, "pv_sprintf: Memory exhausted!"

2009-06-09 Thread Daniel-Constantin Mierla
Hello Christian, On 06/09/2009 01:14 PM, Christian Koch wrote: Hello Daniel, Daniel-Constantin Mierla schrieb: Do you call pv_parse_ht_name() from perl? If not, that function is executed only at startup and it is not a cause for leaking. A clean shutdown should free it, but there is not compl

Re: [Kamailio-Users] FW: /etc/init.d/kamailio start can't start

2009-06-09 Thread Iñaki Baz Castillo
2009/6/9 vinod : > Dear Saúl Ibarra : > r...@li:~/tools# ps -ef | grep kamailio > root     30849 30749  0 18:45 pts/7    00:00:00 grep kamailio > > looks like the process is not running . > what's happening! what is hapeening is that you are not doing what lot of mails in this thread are suggestin

Re: [Kamailio-Users] FW: /etc/init.d/kamailio start can't start

2009-06-09 Thread vinod
Dear Saúl Ibarra : r...@li:~/tools# ps -ef | grep kamailio root 30849 30749 0 18:45 pts/700:00:00 grep kamailio looks like the process is not running . what's happening! cheers, vinod -Original Message- From: users-boun...@lists.kamailio.org [mailto:users-boun...@lists.kamaili

Re: [Kamailio-Users] FW: /etc/init.d/kamailio start can't start

2009-06-09 Thread Iñaki Baz Castillo
2009/6/9 vinod : > Dear Saúl Ibarra > I don't modify my configuration file, but I using "'kamailio'" to start > ,then i got the msg : > > Listening on >             udp: 127.0.0.1 [127.0.0.1]:5060 >             udp: 140.125.35.240 [140.125.35.240]:5060 >             tcp: 127.0.0.1 [127.0.0.1]:5060

Re: [Kamailio-Users] freeing innername from htable Re: perl module, "pv_sprintf: Memory exhausted!"

2009-06-09 Thread Christian Koch
Hello Daniel, Daniel-Constantin Mierla schrieb: Do you call pv_parse_ht_name() from perl? If not, that function is executed only at startup and it is not a cause for leaking. A clean shutdown should free it, but there is not complete support for it (some fixup functions have a free function, o

[Kamailio-Users] FW: /etc/init.d/kamailio start can't start

2009-06-09 Thread vinod
Dear Saúl Ibarra I don't modify my configuration file, but I using "'kamailio'" to start ,then i got the msg : Listening on udp: 127.0.0.1 [127.0.0.1]:5060 udp: 140.125.35.240 [140.125.35.240]:5060 tcp: 127.0.0.1 [127.0.0.1]:5060 tcp: 140.125.35.

Re: [Kamailio-Users] siremis

2009-06-09 Thread hh174
Hi Elena, Yes, I got it, just now :) I did disable selinux in the config file and didn't restart the service :( That's all. Thanks anyway to Bruce and you. Olivier Elena-Ramona Modroiu a écrit : Hi Olivier, is it working now? It is about rights as Bruce already suggested. olivier.tay...@g

Re: [Kamailio-Users] Kamailio 1.5.1 on Amazon EC2

2009-06-09 Thread Daniel-Constantin Mierla
Hello, On 06/08/2009 11:28 PM, Pascal Maugeri wrote: Hi We installed Kamailio 1.5.1 on a Amazon EC2 Fedora Core 9 image. As you may know EC2 maps a public IP address to a private IP address of the image, hence there is a kind of NAT. It looks presence does not work because of this. We'll tr

Re: [Kamailio-Users] freeing innername from htable Re: perl module, "pv_sprintf: Memory exhausted!"

2009-06-09 Thread Daniel-Constantin Mierla
Hello, On 06/03/2009 03:01 PM, Christian Koch wrote: Hi Henning, hi Daniel, we did some more investigation and now we think, the problem may occur when accessing the "inner name" of pv's from htable. We included a call to backtrace() in pv_parse_ht_name() (where most of the memory was alloc

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Iñaki Baz Castillo
2009/6/9 Daniel-Constantin Mierla : >> Jun  5 18:21:17 sandbox /usr/sbin/kamailio[15152]: >> ERROR:db_mysql:db_mysql_submit_query: submit_query(): select body,sender >> from presentity where domain='intra.genaker.net ' >> AND username='sipp1' AND event='presence' AND >> et

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Daniel-Constantin Mierla
Hello Pascal, On 06/05/2009 05:26 PM, Pascal Maugeri wrote: OK now I can provide you more feedback regarding this issue and using your patch: Jun 5 18:21:17 sandbox /usr/sbin/kamailio[15152]: ERROR:db_mysql:db_mysql_submit_query: submit_query(): select body,sender from presentity where doma

Re: [Kamailio-Users] [sr-dev] m_dump un-register check fails

2009-06-09 Thread Iñaki Baz Castillo
2009/6/9 Juha Heinanen : > is there a bug tracker available somewhere for sip-router? ops! that's a really good question! -- Iñaki Baz Castillo ___ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/ma

Re: [Kamailio-Users] /etc/init.d/kamailio start can't start

2009-06-09 Thread Iñaki Baz Castillo
2009/6/9 vinod : > Dear pascal : > > I have open the script /etc/init.d/kamailio and look for RUN_KAMAILIO and > change its value to: > > > > RUN_KAMAILIO=yes > > but when I using“ /etc/init.d/kamailio start ” , > > It’s didn’t return any msg about kamailio and I’m still don’t find the > kamailio p

Re: [Kamailio-Users] freeing innername from htable Re: perl module, "pv_sprintf: Memory exhausted!"

2009-06-09 Thread Daniel-Constantin Mierla
Hello Christian, I got your email but I was out in a short vacation. I will check it. Thanks, Daniel On 06/09/2009 10:38 AM, Christian Koch wrote: Hello again, as no one answered our question yet, we would like to ask again if someone is maybe able to take a deeper look in this? We are real

Re: [Kamailio-Users] freeing innername from htable Re: perl module, "pv_sprintf: Memory exhausted!"

2009-06-09 Thread Christian Koch
Hello again, as no one answered our question yet, we would like to ask again if someone is maybe able to take a deeper look in this? We are really stuck here and will also post this issue again on the devel list, maybe someone there is also able to take a look into this. Any help is really app

Re: [Kamailio-Users] /etc/init.d/kamailio start can't start

2009-06-09 Thread Saúl Ibarra
Try this options in your configuration file: debug=6 fork=no log_stderror=yes And start kamailio just by executing 'kamailio', without the init script, so you'll be able to see what happens. -- Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes." ---

Re: [Kamailio-Users] /etc/init.d/kamailio start can't start

2009-06-09 Thread vinod
Dear pascal : I have open the script /etc/init.d/kamailio and look for RUN_KAMAILIO and change its value to: RUN_KAMAILIO=yes but when I using“ /etc/init.d/kamailio start ” , It’s didn’t return any msg about kamailio and I’m still don’t find the kamailio process run in background . Ch

Re: [Kamailio-Users] siremis

2009-06-09 Thread Elena-Ramona Modroiu
Hi Olivier, is it working now? It is about rights as Bruce already suggested. olivier.tay...@gmail.com wrote: [2009-06-08 14:34:52 (GMT)] An exception occurred while executing this script: Error message: #0, SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'sql.sipit.be' (13) Script name