[Kamailio-Users] Install Documentation

2010-02-08 Thread Kris Amy
Hi All, Just thought that you might want to put down that libpcre is required for lcr in the install document. (Since the other main modules have their requirements listed). Cheers, Kris ___ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.o

[Kamailio-Users] SDP IP address not rewritten

2010-02-08 Thread Vikram Ragukumar
Hello, I am running Kamailio version 1.5 and rtpproxy version 1.2. I have enabled NAT support in Kamailio.cfg. I have a UA behind NAT (UA IP:192.168.2.101), and the UA registers with an Asterisk server (Public IP) through an outbound proxy running Kamailio and rtpproxy with Public IP. Regist

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Daniel-Constantin Mierla
Hello, On 2/8/10 10:46 PM, Dmitri wrote: Hello, No, it is not local, it is reacheable over internet, real dns domain. Waiting for your instructions. just committed to git, so first pull the repository to get the last version. Then, open Makefile.defs file and search for MEMDBG, update the inti

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Daniel-Constantin Mierla
Hello, On 2/8/10 11:09 PM, Dmitri wrote: Hello, The PC has private address on eth0 interface and public on ppp0 default route looks like: default dev ppp0 scope link Tomorrow I'll try to play with ngrep. it is looping on the IP you can see in the Record-Route headers: SUBSCRIBEsip:d...@voic

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Dmitri
Hello, The PC has private address on eth0 interface and public on ppp0 default route looks like: default dev ppp0 scope link Tomorrow I'll try to play with ngrep. BR, Dmitri 08.02.2010 23:59, Daniel-Constantin Mierla пишет: Hello, On 2/8/10 10:46 PM, Dmitri wrote: Hello, No, it is not local,

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Daniel-Constantin Mierla
Hello, On 2/8/10 10:46 PM, Dmitri wrote: Hello, No, it is not local, it is reacheable over internet, real dns domain. why is it looping then? I see many Record Route headers with same IP, should be one since it is no transport layer gatewaying. You can use ngrep to watch the network and see w

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Dmitri
Hello, No, it is not local, it is reacheable over internet, real dns domain. Waiting for your instructions. BR, Dmitri. 08.02.2010 23:27, Daniel-Constantin Mierla пишет: Hello, might be a buffer overflow somewhere else. I will send you some instructions to compile with memory debug one. Mea

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Klaus Darilion
Am 08.02.2010 21:23, schrieb Dmitri: Hello Klaus, Thank you for suggestion. Now I got core, and output of gdb you may see in attached file. Core was about 40M of size. I have to say that i never used kamailio before and this crash is my first experience. This is indeed a bad first-experience

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Daniel-Constantin Mierla
Hello, might be a buffer overflow somewhere else. I will send you some instructions to compile with memory debug one. Meanwhile, this seems to be a particular case (has to be found and fixed anyhow), the SUBSCRIBE is looping. Is voice.djuk.ee a local domain (matching the 'myself' condition)?

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Dmitri
Hello, Updated gdb output in attached file. BR, Dmitri 08.02.2010 22:51, Daniel-Constantin Mierla пишет: Hello, once you are in gdb, run 'bt' to get the backtrace. That is very useful in the first step to see what functions were executed before the crash. Thanks, Daniel On 2/8/10 9:23 P

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Daniel-Constantin Mierla
Hello, once you are in gdb, run 'bt' to get the backtrace. That is very useful in the first step to see what functions were executed before the crash. Thanks, Daniel On 2/8/10 9:23 PM, Dmitri wrote: Hello Klaus, Thank you for suggestion. Now I got core, and output of gdb you may see in at

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Dmitri
Hello Klaus, Thank you for suggestion. Now I got core, and output of gdb you may see in attached file. Core was about 40M of size. I have to say that i never used kamailio before and this crash is my first experience. BR, Dmitri 08.02.2010 21:37, Klaus Darilion пишет: Am 08.02.2010 20:00

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Daniel-Constantin Mierla
On 2/8/10 8:37 PM, Klaus Darilion wrote: Am 08.02.2010 20:00, schrieb Dmitri: Hello, 1. Yes, there is at least 2 times more space than core dump needs. # Try specifying things manually, as user root: echo "/tmp/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern # verify configuration changes

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Klaus Darilion
Am 08.02.2010 20:00, schrieb Dmitri: Hello, 1. Yes, there is at least 2 times more space than core dump needs. # Try specifying things manually, as user root: echo "/tmp/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern # verify configuration changes cat /proc/sys/kernel/core_pattern # se

Re: [Kamailio-Users] change domain at to header

2010-02-08 Thread Daniel-Constantin Mierla
On 2/8/10 10:33 AM, Olivier Taylor wrote: Daniel is always right, even when he is wrong :) Not sure about this one, but when comes to selecting a restaurant in Brussels, you are always right, everytime great food and atmosphere. Thanks again for the FOSDEM 2010 dinner! I uploaded some pictu

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Daniel-Constantin Mierla
Hello, can you please answer/comment all the topics in an email? They are intended to help me (other developers) to troubleshoot. Answering only one means I have to write again the rest ... Thanks, Daniel On 2/8/10 8:17 PM, Dmitri wrote: Hello, No, I do not using those modules. I created de

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Dmitri
Hello, No, I do not using those modules. I created debian modules from latest git sources as well and have same crash. Modules I am using are: grep -e '^loadmodule.*' ./kamailio.cfg loadmodule "db_mysql.so" loadmodule "mi_fifo.so" loadmodule "kex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmo

Re: [Kamailio-Users] problems with mi_xmlrpc command

2010-02-08 Thread Daniel-Constantin Mierla
Hello, On 2/8/10 3:27 PM, Anton Roman wrote: Hi all, I'm trying to send xmlrpc commands to Kamailio with Siremis but I get the error below: Fault Code: 5 Fault Reason: Didn't receive 200 OK from remote server. (HTTP/1.1 400 Bad Request) I get the same error when I manually send the xmlrpc

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Daniel-Constantin Mierla
Hello, are you using siptrace of uac modules? There were some fixes in regard to the interaction of these modules with tm, you would have to use git for now to get the latest 3.0.0 version: http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.0.x-from-git On 2/8/10 8:00 PM, Dmitri wro

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Dmitri
Hello, 1. Yes, there is at least 2 times more space than core dump needs. 2. I could find nothing, unfortunately... I can only see that problem is related to tm.so library: kamailio kernel: [ 1051.432646] kamailio[2678]: segfault at 12 ip 7fa8b592ae43 sp 7fff48ff9f40 error 4 in tm.so[7fa8b

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Dmitri Korotkov
In previous message should be: #directory for the core dump files 08.02.2010 15:48, Dmitri пишет: Hi Klaus, Yes, it is permanent error. And I enabled core dumping in /etc/default/kamailio and specified location in init script, but core was not generated if test "$DUMP_CORE" = "yes" ; th

[Kamailio-Users] problems with mi_xmlrpc command

2010-02-08 Thread Anton Roman
Hi all, I'm trying to send xmlrpc commands to Kamailio with Siremis but I get the error below: Fault Code: 5 Fault Reason: Didn't receive 200 OK from remote server. (HTTP/1.1 400 Bad Request) I get the same error when I manually send the xmlrpc command with curl. On the other hand, mi_xmlrpc m

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread marius zbihlei
Dmitri wrote: There should be #directory for the core dump files in previous message, I made a mistake when composed message 08.02.2010 15:48, Dmitri пишет: Hi Klaus, Yes, it is permanent error. And I enabled core dumping in /etc/default/kamailio and specified location in init script, but co

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Dmitri
There should be #directory for the core dump files in previous message, I made a mistake when composed message 08.02.2010 15:48, Dmitri пишет: Hi Klaus, Yes, it is permanent error. And I enabled core dumping in /etc/default/kamailio and specified location in init script, but core was not gene

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Dmitri
Hi Klaus, Yes, it is permanent error. And I enabled core dumping in /etc/default/kamailio and specified location in init script, but core was not generated if test "$DUMP_CORE" = "yes" ; then # set proper ulimit ulimit -c unlimited directory for the core dump files COREDIR=/tmp [ -d $CORE

Re: [Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Klaus Darilion
Hi Dmitri! Is this bug reproduce-able? If yes, please activate core dumping in /etc/defaults/kamailio and configure location of core file in /etc/init.d/kamailio (search for "core") regards klaus Am 08.02.2010 12:16, schrieb Dmitri: Hello list, I have fresh installation of Debian Squeeze o

[Kamailio-Users] kamailio crashes during connection attempt

2010-02-08 Thread Dmitri
Hello list, I have fresh installation of Debian Squeeze on X86_64. I downloaded source tarball http://www.kamailio.org/pub/kamailio/latest/src/kamailio-3.0.0_src.tar.gz and did 'make deb' there. So, I got following debian packages: kamailio_3.0.0_amd64.deb, kamailio-berkeley-modules_3.0.0_amd6

Re: [Kamailio-Users] change domain at to header

2010-02-08 Thread Daniel-Constantin Mierla
On 2/8/10 10:39 AM, Daniel-Constantin Mierla wrote: On 2/7/10 11:09 AM, Alex Balashov wrote: The application server should not be routing based on To header. Better said "must not do routing based on To header". The best is if you can get that on the application server to be SIP 2.0 RFC3261

Re: [Kamailio-Users] change domain at to header

2010-02-08 Thread Daniel-Constantin Mierla
On 2/7/10 11:09 AM, Alex Balashov wrote: The application server should not be routing based on To header. Better said "must not do routing based on To header". The best is if you can get that on the application server to be SIP 2.0 RFC3261 compliant, but I admit that some times it is pretty

Re: [Kamailio-Users] change domain at to header

2010-02-08 Thread Olivier Taylor
Daniel is always right, even when he is wrong :) Olivier alex pappas a écrit : Hi Daniel, You are right of course ;-) Alex 2010/2/8 Daniel-Constantin Mierla Hello, On 2/7/10 1:03 PM, alex pappas wrote: Hi Adnan, If I understand th

Re: [Kamailio-Users] change domain at to header

2010-02-08 Thread alex pappas
Hi Daniel, You are right of course ;-) Alex 2010/2/8 Daniel-Constantin Mierla > Hello, > > > On 2/7/10 1:03 PM, alex pappas wrote: > > Hi Adnan, > > If I understand the case corectly , then: > > Since you want to change the domain why don't you try the PDT module which > exactly does that jo

Re: [Kamailio-Users] change domain at to header

2010-02-08 Thread Daniel-Constantin Mierla
Hello, On 2/7/10 1:03 PM, alex pappas wrote: Hi Adnan, If I understand the case corectly , then: Since you want to change the domain why don't you try the PDT module which exactly does that job? http://kamailio.org/docs/modules/1.5.x/pdt.html#id2467578 if(prefix2domain("2", "0")) {