Re: [SR-Users] Freezing development for Kamailio v4.1.0

2013-10-01 Thread Timo Teras
On Mon, 30 Sep 2013 14:46:48 +0200 "Olle E. Johansson" wrote: > > 30 sep 2013 kl. 14:04 skrev Daniel-Constantin Mierla > : > > > Hello, > > > > On 9/30/13 12:08 PM, Timo Teras wrote: > >> On Mon, 30 Sep 2013 11:48:10 +0200 > >> Daniel-Constantin Mierla wrote: > >> > >>> a short reminder that

Re: [SR-Users] Memory leak in 3.3.4

2013-10-01 Thread David Cunningham
Hi Daniel, When I send SIGUSR1 to a worker process nothing is logged. Any ideas there? The following is the output of "sercmd pkg.stats". { entry: 0 pid: 14570 rank: 0 used: 191100 free: 3731504 real_used: 462800 } { entry: 1 pid: 14571 rank: 1 used: 202656

[SR-Users] debugging some error logs

2013-10-01 Thread arun Jayaprakash
Hello, I am seeing some error logs as follows in my log file and would like to know what this means? Could someone help me with this: Oct  1 21:46:34 ip-172-10-30-30 /usr/local/sbin/kamailio[2215]: ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio//kamailio.cfg] l=592 a=5 n=route Oct  1 21:46:34 ip

Re: [SR-Users] Phones losing registration.

2013-10-01 Thread arun Jayaprakash
I think I found the error, but I need  to double check. I was not able to get any log output  in kamailio.log and I noticed that the log file was very large ( I had not set up log rotate ). I cleaned this file and now I am able to view my log outputs. Will this issue in my log file affect the pe

Re: [SR-Users] Phones losing registration.

2013-10-01 Thread Daniel-Constantin Mierla
Hello, if the phone is trying to register, start ngrep on server to see if REGISTER requests are coming and they are replied. Cheers, Daniel On 10/1/13 6:23 PM, arun Jayaprakash wrote: Hi Daniel, when my system is fine and I run kamctl ul show --brief command I am able to see all my register

Re: [SR-Users] Nathelper Error Message

2013-10-01 Thread Daniel-Constantin Mierla
Hello, you execute fix_nated_sdp() for SIP messages that don't have a SDP body. Check in config if there is a body and type sdp -- you can use this function: - http://kamailio.org/docs/modules/stable/modules/sdpops.html#idp86728 Cheers, Daniel On 10/1/13 5:01 PM, Kethzer Docteur wrote: Any

Re: [SR-Users] Phones losing registration.

2013-10-01 Thread arun Jayaprakash
Hi Daniel, when my system is fine and I run kamctl ul show --brief command I am able to see all my registered phones. When the phones lose registration and I run the command I do not see any registered phones but I can see my UA's trying to register. I will work on the suggestions you mentioned

Re: [SR-Users] Phones losing registration.

2013-10-01 Thread Daniel-Constantin Mierla
Hello, first you should clarify what you mean by "phones are losing registration". Do they indicate are not registered? I suggest few things: - add a xlog message at beginning of the request_route block to log method, callid, from, to, r-uri and source ip - when the phones are not registered

[SR-Users] Phones losing registration.

2013-10-01 Thread arun Jayaprakash
Hello, I am running into a problem with my set up. I have Kamailio 4.0 set up with an Asterisk server (ARA). Initially I had three machines; one for Kamailio, one for Asterisk and one for my db. The set up worked fine for about a week after which I saw that my phones were losing registration

Re: [SR-Users] Fwd: kamailio registering on back-end asterisk with username and password

2013-10-01 Thread Stoyan Mihaylov
> > > How do I modify that example to recognize that a request is coming > from the same "user" ? > > Reading, and making experiments :) At least I worked such way. Logic must look like: If you have associated variable with that user - use already selected route. Else, ds_select_dst and associate

[SR-Users] Nathelper Error Message

2013-10-01 Thread Kethzer Docteur
Any help solving this error message from kamailio server 4.0 Oct 1 00:31:07 kmlsvr /usr/local/sbin/kamailio[27166]: ERROR: nathelper [nhelpr_funcs.c:195]: message body has length zero Oct 1 00:31:07 kmlsvr /usr/local/sbin/kamailio[27166]: ERROR: nathelper [nathelper.c:1640]: cannot extract body

[SR-Users] Presence issue between XMPP-SIP clients.

2013-10-01 Thread Nandini madhu
Dear All, I am working on XMPP module of kamailio server (V-4.0.2), intended to achieve File transfer, IM features. Firstly my Kamailio and Jabberd2 servers are on the same machine. I managed to separately make them work. Call setup between SIP clients is working and so with messaging/presence, F

Re: [SR-Users] Memory leak in 3.3.4

2013-10-01 Thread Daniel-Constantin Mierla
Hello, send SIGUSR1 to one of the worker processes (e.g., UDP listener). The main process of kamailio doesn't process SIP messages, so it is not exposed to leaks. You can used 'kamcmd pkg.stats" to see statistics about usage of pkg per each process (older versions have sercmd). 'kamctl ps

Re: [SR-Users] Memory leak in 3.3.4

2013-10-01 Thread David Cunningham
Hi Daniel, What I copied and pasted is all that's listed when I do a kill -SIGUSR1 on the Kamailio master process. How do I get fuller logs? Thanks for your help. On 1 October 2013 21:57, Daniel-Constantin Mierla wrote: > Hello, > > you gave only the first part of memory log output. The chun

Re: [SR-Users] Memory leak in 3.3.4

2013-10-01 Thread Daniel-Constantin Mierla
Hello, you gave only the first part of memory log output. The chunks listed there are from startup, thus not part of a leak, because they are not allocated again at runtime. Can you give the full logs with messages from qm_status? The leaks are typically listed towards the end of those messa

Re: [SR-Users] pkg.stats problem, possible memory leak in websockets.

2013-10-01 Thread Peter Dunkley
Done. The patch is in master and the 4.0 branch. Thanks, Peter On 1 October 2013 08:22, Vitaliy Aleksandrov wrote: > Hello, > > Thank you for the explanation. > Could somebody review the patch in the attachment ? I tried to fix the > problem with a growing tcpconn->refcnt for websocket conn

Re: [SR-Users] regarding topoh hiding

2013-10-01 Thread Premchandiran
Hi Daniel, Thanks for the reply. Below is the log related to topoh hiding. MASK_IP is configured in mask_ip and PRESENCE SERVER IP is the presence server ip address/system address. Oct 1 13:46:00 PLT-RA-RD-W167A Presence: DEBUG: [cfg.y:1805]: yyparse(): loading module topoh.so Oct 1 13:46

Re: [SR-Users] Communicate with Kamailio through external application

2013-10-01 Thread Grant Bagdasarian
Hello, I'll go for the remote Ssh idea for now and keep an eye on future releases. Thank you for your help! Regards, Grant From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Charles Chance Sent: Monday, September 30, 2013 2:57 PM To: Kamaili

Re: [SR-Users] pkg.stats problem, possible memory leak in websockets.

2013-10-01 Thread Vitaliy Aleksandrov
Hello, Thank you for the explanation. Could somebody review the patch in the attachment ? I tried to fix the problem with a growing tcpconn->refcnt for websocket connections. On 30 September 2013 17:14, Vitaliy Aleksandrov mailto:vitalik.v...@gmail.com>> wrote: Could you please share

Re: [SR-Users] regarding topoh hiding

2013-10-01 Thread Daniel-Constantin Mierla
Hello, On 10/1/13 8:09 AM, Premchandiran wrote: Hi All, I have query/observation w.r.t topoh I hiding, before loading topoh module rr module must be loaded . I found that methods like record_route() in rr module must be present in the cfg then only topoh hiding is taking place. Otherwise to