Hello,
I am considering to release v4.1.1 out of branch 4.1 this week on
Thursday -- there were couple of fixes since we did v4.1.0. If there are
any open issues that should get addresses, reply here. Also, for
developers, if there are patches only on master branch that should be
pushed on 4.1 as well, do it as soon as possible.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hello all,
I am installing Kamailio-4.1.0 on my system. I get this error while creating 'kamdbctl' file.
[root@ss3 sbin]# ./kamdbctl create
ERROR: DATABASE ENGINE NOT SPECIFIED, PLEASE SETUP ONE IN THE CONFIG SCRIPT.
Can some one please help in solving this error. Any help will be appreciated.
Cheers,
Kamilio Newbie.
Hello all,
I am installing Kamailio-4.1.0 on my system. I get this error while creating 'kamdbctl' file.
Can some one please help in solving this error. Any help will be appreciated.
Cheers,
Kamilio Newbie.
When using nat_uac_test("3"), there is a particular REGISTER message that
my kamailio server receives where the source and via addresses are
different, but this function seems to return false (and then no nat
correction is applied). I have included the register message below. Is
there an obvious reason this is not triggering the nat_uac_test? Or can
anyone share how they would usually debug a situation like this? Any
help/advice would be appreciated.
Thank you!
Example captured Register message:
REGISTER sip:test1.test.com:5060 SIP/2.0
Call-ID: 3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx
CSeq: 1418 REGISTER
From: "Joe" <sip:xxxyyyzzzz@test1.test.com>;tag=2163936191
To: "Joe" <sip:xxxyyyzzzz@test1.test.com>
Via: SIP/2.0/UDP
96.xxx.xxx.xxx:33745;rport;branch=z9hG4bKf5s1p`n3TRv5TZx5RXy.RVv+JPz8Nat*UX!8KRx4SRx
Via: SIP/2.0/UDP
192.xx.xxx.xxx:33745;branch=z9hG4bKeb263246c44095f072d8167dd0c7987a343134;rport
Max-Forwards: 70
User-Agent: SIPAUA/0.1.001
Contact: "Joe" <sip:xxxyyyzzzz@192.xx.xxx.xxx:33745;transport=udp>
Expires: 3600
Authorization: Digest username="xxxyyyzzzz",realm="test1.test.com
",nonce="UsDqxVLA6ZlvIrO3TsqCtm9X3vqY8405",uri="sip:test1.test.com:5060
",response="769d1e6f2fd36cf040503f9f079279a0"
Content-Length: 0
Associated lines from kamailio log:
[kamailio]# grep 3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxxkamailio.log
Dec 30 03:33:45 sip-01 kamailio[20489]: INFO: <script>:
3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx|start|recieved UDP request
REGISTER sip:test1.test.com
Dec 30 03:33:45 sip-01 kamailio[20489]: INFO: <script>:
3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx|log|source
96.xxx.xxx.xxx:33745
Dec 30 03:33:45 sip-01 kamailio[20489]: INFO: <script>:
3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx|log|from
sip:xxxyyyzzzz@test1.test.com
Dec 30 03:33:45 sip-01 kamailio[20489]: INFO: <script>:
3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx|log|to
sip:xxxyyyzzzz@test1.test.com
Dec 30 03:33:45 sip-01 kamailio[20489]: INFO: <script>:
3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx|log|originated from
external sources
Dec 30 03:33:45 sip-01 kamailio[20489]: INFO: <script>:
3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx|end|issued new auth
challenge to new registration attempt
Dec 30 03:33:45 sip-01 kamailio[20495]: INFO: <script>:
3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx|start|recieved UDP request
REGISTER sip:test1.test.com:5060
Dec 30 03:33:45 sip-01 kamailio[20495]: INFO: <script>:
3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx|log|source
96.xxx.xxx.xxx:33745
Dec 30 03:33:45 sip-01 kamailio[20495]: INFO: <script>:
3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx|log|from
sip:xxxyyyzzzz@test1.test.com
Dec 30 03:33:45 sip-01 kamailio[20495]: INFO: <script>:
3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx|log|to
sip:xxxyyyzzzz@test1.test.com
Dec 30 03:33:45 sip-01 kamailio[20495]: INFO: <script>:
3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx|log|originated from
external sources
Dec 30 03:33:45 sip-01 kamailio[20495]: DEBUG: <script>:
3b0400ca43e28f78f3e6dc945a084b88(a)192.xx.xxx.xxx|log|authenticated
xxxyyyzzzz(a)test1.test.com via cached SIP creds
Hello all,
I am currently using Kamailio-3.1.1 installed on a fedora machine. I want to install updated version Kamailio-4.1.x. Can someone give me some link where I can find about installation steps and pre-requisites etc.
Thanks for helping.
Regards,
Kamailio Newbie :)
Hi
kamailio version 3.2.0
16M configured has private memory
and 4G as shared memory.
using sqlops to query the DB.
the DB was down and kamailio crashed after some time with the following log
under
1. /var/log/messages
"kernel: kamailio[PID]: segfault at 5 ip 00007fdacc65e175 sp
00007fff85897810 error 4 in tm.so[7fdacc630000+79000]"
2./var/log/kamailio
" /usr/local/sbin/kamailio[12033]: ERROR: <core> [db_query.c:156]: error
while submitting query
/usr/local/sbin/kamailio[12033]: ERROR: sqlops [sql_api.c:580]: cannot do
the query
/usr/local/sbin/kamailio[12055]: : <core> [pass_fd.c:293]: ERROR:
receive_fd: EOF on 14
/usr/local/sbin/kamailio[11966]: ALERT: <core> [main.c:785]: child
process 12034 exited by a signal 11
/usr/local/sbin/kamailio[11966]: ALERT: <core> [main.c:788]: core was
generated"
(core was not generated due to lack of permissions on linux..... but now it
is ok)
So, anyone has an idea where to start?
BR,
Uri
Hi List
is there any option with lcr module to authenticate gateways with digest
method for outbound calls?, or whats the best practice for that scenario.
i have a sip user from my sip provider, it register with uac module for
incoming calls, but i want outbound calls too
Best Regards
On Mon, Dec 30, 2013 at 6:08 PM, Jr Richardson <jmr.richardson(a)gmail.com> wrote:
>>
>> Hello,
>>
>> you should enable core dumping - that should be via running 'ulimit -c
>> unlimited' before you start rtpproxy.
>>
>> If you get the coredump, then grab the backtrace with gdb, it should
>> show where rtpproxy crashed. With that info, maybe we can spot a fix for it.
>>
>> Hopefully rtpproxy package is with debug symbols, if not, the look for a
>> rtpproxy-dbg package and install it if found.
>>
>> Cheers,
>> Daniel
>>
>> On 20/12/13 18:59, Jr Richardson wrote:
>>> Hi All,
>>> root@sip-router3-ve206:/etc/kamailio# kamailio -V
>>> version: kamailio 4.1.0 (x86_64/linux) 350d2e
>>> Doing some testing, can't seem to get rtpproxy to not segfault. I've
>>> loaded version from deb-squeeze pkg, from source
>>> http://b2bua.org/chrome/site/rtpproxy-1.2.1.tar.gz and from
>>> git://sippy.git.sourceforge.net/gitroot/sippy/rtpproxy
>>> <http://sippy.git.sourceforge.net/gitroot/sippy/rtpproxy> (which
>>> should be the latest) but all versions segfault as soon as a call sets up.
>>> I've configured each versions control socket for both udp or unix,
>>> kamailio starts and sees the rtpproxy fine with no errors, but when a
>>> call hits, rtpproxy segfaults.
>>> I've run rtpproxy in the forground with degug and get this response
>>> (IP's washed x.x.x):
>>> ------------------
>>> DBUG:handle_command: received command "7505_12 USIEc0,101
>>> 0adb2f8449b8c9026f993a0a7db9ab5d(a)x.x.x.76 x.x.x.76 23388 as33dd7c98;1"
>>> INFO:handle_command: new session
>>> 0adb2f8449b8c9026f993a0a7db9ab5d(a)x.x.x.76, tag as33dd7c98;1 requested,
>>> type strong
>>> Segmentation fault
>>> ------------------
>>> root@sip-router3-ve206:/etc/kamailio# more /etc/default/rtpproxy
>>> # Defaults for rtpproxy
>>> # The control socket.
>>> CONTROL_SOCK="unix:/var/run/rtpproxy/rtpproxy.sock"
>>> # To listen on an UDP socket, uncomment this line:
>>> #CONTROL_SOCK="udp:127.0.0.1:7722 <http://127.0.0.1:7722>"
>>> # Additional options that are passed to the daemon.
>>> EXTRA_OPTS="-l x.x.x.20"
>>> kamailio.cfg:
>>> loadmodule "rtpproxy.so"
>>> modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722
>>> <http://127.0.0.1:7722>")
>>> inside route[]
>>>
>>> add_path_received();
>>> rtpproxy_manage("cwei");
>>> record_route();
>>> Any guidance on further identifying the issue?
>>> Thanks.
>>> JR
>
> I'm not very familiar with gdb, but did manage to get a core dump and
> here are the results:
> -------------------------------------------
> root@rtpproxy:/usr/src/rtpproxy-git# gdb
> /usr/src/rtpproxy-git/rtpproxy -c /usr/src/rtpproxy-git/core
> GNU gdb (GDB) 7.0.1-debian
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/src/rtpproxy-git/rtpproxy...done.
> [New Thread 11256]
> warning: Can't read pathname for load map: Input/output error.
> Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
> Loaded symbols for /lib/libpthread.so.0
> Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/libm.so.6
> Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/libc.so.6
> Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging
> symbols found)...done.
> Loaded symbols for /lib64/ld-linux-x86-64.so.2
> Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols
> found)...done.
> Loaded symbols for /lib/libnss_compat.so.2
> Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/libnsl.so.1
> Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols found)...done.
> Loaded symbols for /lib/libnss_nis.so.2
> Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
> found)...done.
> Loaded symbols for /lib/libnss_files.so.2
> Core was generated by `./rtpproxy -f -l x.x.x.x -s udp:x.x.x.x 7722 -p
> /var/run/rtpproxy/rtp'.
> Program terminated with signal 11, Segmentation fault.
> #0 create_twinlistener (cf=0x7fff957ec2d0, ia=0x0, port=<value
> optimized out>, fds=<value optimized out>)
> at rtpp_command.c:97
> 97 fds[i] = socket(ia->sa_family, SOCK_DGRAM, 0);
> (gdb) bt
> #0 create_twinlistener (cf=0x7fff957ec2d0, ia=0x0, port=<value
> optimized out>, fds=<value optimized out>)
> at rtpp_command.c:97
> #1 create_listener (cf=0x7fff957ec2d0, ia=0x0, port=<value optimized
> out>, fds=<value optimized out>)
> at rtpp_command.c:143
> #2 0x000000000040967d in handle_command (cf=0x7fff957ec2d0,
> controlfd=<value optimized out>,
> cmd=0x7f73bf148d00, dtime=<value optimized out>) at rtpp_command.c:837
> #3 0x000000000040bc9d in process_commands (cf=0x7fff957ec2d0,
> controlfd_in=3, dtime=<value optimized out>)
> at rtpp_command_async.c:63
> #4 0x000000000040bd75 in rtpp_cmd_queue_run (arg=<value optimized
> out>) at rtpp_command_async.c:92
> #5 0x00007f73bff6e8ca in start_thread () from /lib/libpthread.so.0
> #6 0x00007f73bfa53b6d in clone () from /lib/libc.so.6
> #7 0x0000000000000000 in ?? ()
> (gdb)
> ---------------------------------------------------------------------------------
> I could not find an rtpproxy debug package and the install notes do
> not tell how to compile with debugging symbols.
>
> Thanks.
>
> JR
So apparently rtpproxy doesn't like to be told to use 2 interfaces in
the flags (ie or ei) when only 1 interface is actually enabled for
use. This was a case of RTFM! RTPProxy seems to be working fine, once
I got the correct config parameters in kamailio.
Thanks.
JR
--
JR Richardson
Engineering for the Masses
Hi,
does anybody know if it is possible to use Kamailio's built-in maintenance
tools with the db schema as tables in Cassandra?
I'm trying to create the "subscriber" table in a Cassandra cluster and
maintain it using kamctl options for new users and passwords. I tried
modifying the DBENGINE in kamctlrc to DB_CASSANDRA, CASSANDRA, DBCASSANDRA,
without luck.
Regards,
--
Carlos
http://caruizdiaz.com
+595981146623