If anyone can direct me how to resolve.
I load presence.so,pua.so,purple.so
When I run kamailio I see.
Dec 9 14:36:05 localhost /usr/local/sbin/kamailio[1605]: ERROR: purple
[purple.c:148]: can't import load_tm
Thanks.
Hi Andrei,
I'm observing TCP Recv buffer getting full when we are doing a load run
(30cps) on Proxy with TCP. Basically the congestion is happening on the TCP
connection from SIP Server to Proxy. I beleive kamailio is not processing
the message fast enough, due to this congestion is occuring. Did anyone
observe this behavior? How do we resolve it?
Thanks
Jijo
Hi All,
Trying to upgrade the Kamailio to the latest 3.1 version, but got the issue below when compile it, any help is appreciated.
AppSer01:root@/usr/local/src/kamailio-3.1.0/kamailio$ gmake Q=0 all
Makefile.defs defs skipped
Makefile.defs defs skipped
gmake[1]: Entering directory `/usr/local/src/kamailio-3.1.0/kamailio/modules/db_mysql'
gcc -fPIC -DPIC -g -O9 -funroll-loops -mcpu=ultrasparc -mtune=ultrasparc -Wall -m64 -DNAME='"kamailio"' -DVERSION='"3.1.0"' -DARCH='"sparc64"' -DOS='solaris_' -DOS_QUOTED='"solaris"' -DCOMPILER='"gcc 3.4.6"' -D__CPU_sparc64 -D__OS_solaris -DSER_VER=3001000 -DCFG_DIR='"/usr/local/kamailio-3.1/etc/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DSPARC64_MODE -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -DHAVE_DEVPOLL -DHAVE_SELECT -DHAVE_FILIO_H -DSER_MOD_INTERFACE -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/mysql/include -I/usr/include/mysql -DMOD_NAME='"db_mysql"' -c my_cmd.c -o my_cmd.o -MMD -MP
In file included from ../../globals.h:37,
from ../../pt.h:42,
from ../../counters.h:43,
from mysql_mod.h:39,
from my_cmd.c:40:
../../ip_addr.h:86: error: field `sin6' has incomplete type
../../ip_addr.h: In function `ip_addr_loopback':
../../ip_addr.h:283: warning: implicit declaration of function `htonl'
../../ip_addr.h:286: warning: implicit declaration of function `IN6_IS_ADDR_LOOPBACK'
../../ip_addr.h: In function `sockaddr2ip_addr':
../../ip_addr.h:353: error: dereferencing pointer to incomplete type
../../ip_addr.h: In function `su_getport':
../../ip_addr.h:399: warning: implicit declaration of function `ntohs'
../../ip_addr.h: In function `su_setport':
../../ip_addr.h:418: warning: implicit declaration of function `htons'
gmake[1]: *** [my_cmd.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/kamailio-3.1.0/kamailio/modules/db_mysql'
gmake: *** [modules] Error 1
Thanks,
Kevin
hi guys,
i have installed/Configured kamailio 3.1.1 with db, auth, and everyhting
is up
evean the purple module is loaded
but i don't know how to handl the mod_purple route
i read the purple module wiki page but didn't understand in what place i
should put it
thanks for any help
--
Meftah Tayeb
inum: +883510001288000
Phone: +13602276297
Fax: +12538020313
Hi
I was wondering if you could help, I am trying to match more than one
expression in the dialplan list when a request for an invite is received.
My purpose is to authenticate source ip with the correct prefix so I want to
match both prefix+source ip before allowing to proceed with a specific entry
in dialplan list.
Can that be done using Siremis v2 ?
Thanks!
Phillip
Hi,
Running Kamailio 1.5:
I have two different trunks with one carrier. The IP where I send the
INVITE is the same, but the prefix differs. So in the gw table, I
enter the two lines, - same IP, but with different digits in the 'tag'
column, and different grp_id numbers. I then set up the lcr table and
point to the respective grp_id's in the gw table. Problem: it ignores
the grp_id when I make a call, meaning that when there are two gw's
with the same IP address, it just takes the one that comes first, even
though it doesn't have the grp_id I asked for in the lcr table. Is
this normal behavior? If so, how do I get around this?
Thanks!
--Anders
Hello.
The documentation i see on the web keeps mentioning SERCTL to do management of users and other admin.
Can someone provide a link to more relevant information on that utility or it's python replacement?
I have compiled ser under ubuntu with mysql support, but now i need something that will help me add contacts to the database easily as the docs imply.
The version of ser i pulled using the download information is ser 3.2.0-dev1 according to the sercmd output.
Is the sip-router.org site also where SERCTL can be downloaded? What is the git string to aquire it if so?
thx
Hi,
thanks for these replys. I already saw the nathelper module but I am not sure, which method will store the "received" value. Does the nat_uac_test save the received value?
Best regards,
Bernhard
----- Original Message -----
From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
To: Bernhard Suttner [mailto:bernhard.suttner@winet.ch]
Cc: sr-users(a)lists.sip-router.org
Sent: Tue, 07 Dec 2010 18:59:36 +0100
Subject: Re: [SR-Users] Store Source IP in DB
>
>
> Am 07.12.2010 15:20, schrieb Bernhard Suttner:
> > Hi,
> >
> > I am using Kamailio with usrloc, nathelper and register module (and
> > some other). All the data will be stored within a MySQL database. The
> > contact address will be stored within the database. Is it somehow
> > possible to store the SOURCE-IP of a incoming REGISTER from a phone
> > to Kamailio somewhere in the database? It's just for debugging
> > purposes.
>
> If you are doing NAT traversal, e.g. fix_nated_register(), you will have
> the source IP address of the REGISTER in the location table in the
> "received" column.
>
> regards
> Klaus
>
Hi,
I am using Kamailio with usrloc, nathelper and register module (and some other). All the data will be stored within a MySQL database. The contact address will be stored within the database. Is it somehow possible to store the SOURCE-IP of a incoming REGISTER from a phone to Kamailio somewhere in the database? It's just for debugging purposes.
Best regards,
Bernhard
Kamailio 1.5.4 segmentation faulted today. I was able to determine
with gdb that the error occurred at mediaproxy.c line 1104. Line 1104
is a call to memcpy
Core was generated by `/sbin/kamailio -m 512'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f1469db6bb5 in replace_element (msg=0x77e470,
old_element=<value optimized out>, new_element=0x7fffbd553210) at
mediaproxy.c:1104
1104 memcpy(buf, new_element->s, new_element->len);
1.5.4 is new to our production environment, we were previously running
1.5.2 notls (also no mediaproxy) for more than a year without issue.
1.5.4 notls with mediaproxy has been running in our lab and
preproduction QA environments since March of this year without any real
segmentation faults.
Does anyone have any ideas of what may have caused this, or suggestions
to get around this. I do see that 1.5.5 is available, although there
does not appear to have been too many changes to mediaproxy.c
Thank you in advance
Stagg