[SR-Users] Kamailio accepts and stores XCAP XML document from jitsi but rejects it on retrieval

2014-05-28 Thread Alex Villací­s Lasso
I am trying to set up XCAP support for SIP SIMPLE, and using jitsi as the sample client. The kamailio database was previously configured using ODBC and kamailio-4.1.3 and was apparently working correctly. I was following the guide at http://nil.uniza.sk/instant-messaging/simple/configuring-xcap-su

Re: [SR-Users] Problems migrating from rtpproxy/rtoproxy.so to rtpproxy-ng/rtpengine

2014-05-28 Thread Richard Fuchs
On 05/28/14 13:31, LAA wrote: > Hi all, > > I'm currently running a pilot with kamailio 4.1.3 stable, and I would > like to test WebRTC Capabilities. Websockets Support is runnig OK, and > now I'm trying to deal with calls between WebTRC and legacy softphones. > I have installed rtpengine (as it a

[SR-Users] Problems migrating from rtpproxy/rtoproxy.so to rtpproxy-ng/rtpengine

2014-05-28 Thread LAA
Hi all, I'm currently running a pilot with kamailio 4.1.3 stable, and I would like to test WebRTC Capabilities. Websockets Support is runnig OK, and now I'm trying to deal with calls between WebTRC and legacy softphones. I have installed rtpengine (as it a replacement for old mediaproxy-ng), and i

Re: [SR-Users] Interpreting messages in log

2014-05-28 Thread Daniel Ciprus
It's coming from debugger and you can read about details here : http://kamailio.org/docs/modules/stable/modules/debugger.html Basically your kamailio is telling you what line of config file is being executed. On 05/28/2014 12:55 PM, Gilbert T. Gutierrez, Jr. wrote: Can someone help me interp

Re: [SR-Users] Interpreting messages in log

2014-05-28 Thread Gilbert T. Gutierrez, Jr.
Never mind I should look before I post. Sorry for the clutter. Gilbert On 5/28/2014 9:55 AM, Gilbert T. Gutierrez, Jr. wrote: Can someone help me interpret what I a seeing in my log? Gilbert May 28 09:53:09 faxsvr /usr/sbin/kamailio[1811]: ERROR: *** cfgtrace: c=[//etc/kamailio/kamailio

[SR-Users] Interpreting messages in log

2014-05-28 Thread Gilbert T. Gutierrez, Jr.
Can someone help me interpret what I a seeing in my log? Gilbert May 28 09:53:09 faxsvr /usr/sbin/kamailio[1811]: ERROR: *** cfgtrace: c=[//etc/kamailio/kamailio.cfg] l=521 a=5 n=route May 28 09:53:09 faxsvr /usr/sbin/kamailio[1811]: ERROR: *** cfgtrace: c=[//etc/kamailio/kamailio.cfg] l=665 a

[SR-Users] app_python not able to import from Router

2014-05-28 Thread Örn Arnarson
Hello, I've tried installing kamailio both from deb and from source (4.0.4 in both cases) on Ubuntu server 14.04. In both cases, I'm having problems with importing from the Router module in python, which I presume is made available when invoked from kamailio with the python module loaded. Here's

Re: [SR-Users] Has Kamailio 4.1.3 ability like Asterisk permit/deny

2014-05-28 Thread Daniel-Constantin Mierla
Hello, permission module is the one to use -- you can add the IP addresses to the database, in 'address' table, then you can use allow_source_address() function in kamailio.cfg. The default kamailio.cfg has a sample usage, search for WITH_IPAUTH. Cheers, Daniel On 28/05/14 16:00, Yasin Cane

Re: [SR-Users] Location issue

2014-05-28 Thread Igor Potjevlesch
Hello Daniel, Does it mean that the UAC sends its REGISTER just during the period where Kamailio is restarting and, without response from Kamailio, the UAC changes its Call-ID? I will try to use “db_op_ruid” during the next scheduled restart as it looks to be more efficient for the DB usage

[SR-Users] Has Kamailio 4.1.3 ability like Asterisk permit/deny

2014-05-28 Thread Yasin Caner
Hello all; After wasting my time to search asterisk ability permit/deny ip for Kamailio , i decided to consult you. Is there a module or a way to do permit/deny ip for users. As you know asterisk can do that easily . I found permisson module and permisson.conf but it doesn't work with db

Re: [SR-Users] Location issue

2014-05-28 Thread Daniel-Constantin Mierla
Hello, typically the de-synchronization happens when the call-id is changed, because there are various modes on matching the contact in the database. Using ruid avoids this. Another option is to use: http://kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.db_check_update But

Re: [SR-Users] Location issue

2014-05-28 Thread Igor Potjevlesch
Hello Daniel, “db_mode” is set to 1 and “db_op_ruid” has the default value. So I guess 0. Do you think that setting “db_ops_ruid” to 1 will solve the issue? I took a wireshark capture while the problem occured and saw that Kamailio make an UPDATE request whereas the location database had

Re: [SR-Users] Help with load balancing Kamalio based on DNS

2014-05-28 Thread Daniel-Constantin Mierla
Hello, what you can do is to route the messages to the other proxy if there is no contacts in the local location table, something like: if(!lookup("location") { if(src_ip==_THE_OTHER_KAMAILIO_IP_) { send_reply("404", "Not found"); exit; } $du = "sip:_THE_OTHER_KAMAI

Re: [SR-Users] Crash Kamailio 4.1.3

2014-05-28 Thread Igor Potjevlesch
Hello Daniel, Here is the result of p *msg : $3 = {id = 128120, pid = 2414, tval = {tv_sec = 1401265832, tv_usec = 5951}, fwd_send_flags = {f = 0 '\000', blst_imask = 0 '\000'}, rpl_send_flags = {f = 0 '\000', blst_imask = 0 '\000'}, first_line = {type = 1, len = 48, u = {request = {method =

Re: [SR-Users] Crash Kamailio 4.1.3

2014-05-28 Thread Daniel-Constantin Mierla
Hello, can you give the output in gdb for: set print elements 2000 p *msg Cheers, Daniel On 28/05/14 11:48, Igor Potjevlesch wrote: hello, Kamailio 4.1.3 crashed today, with an segmentation fault error : kernel: kamailio[2406]: segfault at 18 ip 00495792 sp 7fff3d9d2d80 error 4

Re: [SR-Users] Location issue

2014-05-28 Thread Daniel-Constantin Mierla
Hello, what is the value for db_mode parameter? Can you try with db_ops_ruid set to 1: http://kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.db_ops_ruid Also, does database server logs point any error? Cheers, Daniel On 28/05/14 11:35, Igor Potjevlesch wrote: Hello, I’m run

[SR-Users] Crash Kamailio 4.1.3

2014-05-28 Thread Igor Potjevlesch
hello, Kamailio 4.1.3 crashed today, with an segmentation fault error : kernel: kamailio[2406]: segfault at 18 ip 00495792 sp 7fff3d9d2d80 error 4 in kamailio[40+275000] Here is the result of BT : #0 0x00495792 in pv_get_strval (msg=0x7fad2cf8a530, param=0x7fad3858c288, r

[SR-Users] Help with load balancing Kamalio based on DNS

2014-05-28 Thread Veerabhara Gundu
Hi All, This question might have addressed, but not able to find correct answer in archives and I have spent enough time, so posting here. I want to load balance between 2-3 kamailio servers based on DNS, I don't need to worry about media just trying IM with SIP messages. Configured two servers

[SR-Users] Location issue

2014-05-28 Thread Igor Potjevlesch
Hello, I'm running Kamailio 4.1.3 and having a strange issue. After a restart of Kamailio, some username are still in memory and updated accordingly with usual re-REGISTER flow. But the entries in location db is deleted. Kamailio tries to do a SQL UPDATE which fails because of that. So, fo