Re: [SR-Users] MTREE reload question

2012-09-10 Thread Daniel-Constantin Mierla
Hello, On 9/10/12 2:27 PM, Uri Shacked wrote: thanks a lot. so as i undestand, the real_used_size is the right value to calculate size. but, it grows because of fragmentation data. in the core, what does it mean "It is effective if MEM_JOIN_FREE compile option is defined" is there something el

Re: [SR-Users] using kamailio with clients in a nat environment

2012-09-10 Thread Daniel-Constantin Mierla
Hello, the sdp does not show that rtpproxy was engaged. Check your config, you can use debugger module with cfgtrace on to see what actions are executed. Also, probably you have to advertise the public ip address of your ec2 instance -- see second parameter for rtpproxy module functions. Ch

Re: [SR-Users] Memory allocation

2012-09-10 Thread Daniel-Constantin Mierla
Hello, On 9/10/12 6:18 PM, David wrote: Hello, Thanks for the clarification. I do not see get_statistics on the "micommands" page on the wiki. Where in the documentation is this command discussed? Are the stats for all processes or only for the process the responds to the mi command ? pkg.

Re: [SR-Users] Rtpproxy re-INVITE handling

2012-09-10 Thread Spencer Thomason
Hi Daniel, After updating to latest 3.2 git rev, I can't see to reproduce this so I guess it must have been fixed somewhere. My apologies for the run around. For completeness the log with the added debugging is here: http://pastebin.com/8TNE0w7q Thanks, Spencer On Sep 10, 2012, at 12:54 PM,

[SR-Users] Kamailio-Redirect based LCR routing

2012-09-10 Thread Fatima Chahrour~Vanrise Support
Dear Daniel\List, Following up to a previous post where I was able in my testing lab to redirect call with 1st destination of lcr_gw table to another Kamailio(acting as any SBC) with Daniels assist, I need a hand in redirecting the call with multiple contacts , basically based on the lcr routin

Re: [SR-Users] Rtpproxy re-INVITE handling

2012-09-10 Thread Spencer Thomason
Hello, Apologies for the delay, I will update tonight and report back. Thanks, Spencer On Sep 7, 2012, at 1:34 AM, Daniel-Constantin Mierla wrote: > Hello, > > can you apply attached patch to the rtpproxy module and send again the log > messages from kamailio? No need for siptrace, I just wan

Re: [SR-Users] pua 'Could not convert temporary dialog into a dialog' error

2012-09-10 Thread Juha Heinanen
peter, mysql has two table locking modes: READ, which seems to correspond to postgre EXCLUSIVE lock, and WRITE, which seems to correspond to postgre ACCESS EXCLUSIVE lock. the difference seems to be that in postgre table locking can only be done inside transaction whereas in mysql table can be l

[SR-Users] Example required for XMLRPC module.

2012-09-10 Thread SamyGo
Hello, I recently posted email relating to using MI_XMLRPC for kamailio monitoring. As Daniel suggested and as mentioned in module docs Mi-xmlrpc is getting obsolete and don't compile on newer OSs. So I need to use XMLRPC module for pulling statistics from kamailio like get_statistics all: Please c

Re: [SR-Users] Memory allocation

2012-09-10 Thread David
Hello, Thanks for the clarification. I do not see get_statistics on the "micommands" page on the wiki. Where in the documentation is this command discussed? Are the stats for all processes or only for the process the responds to the mi command ? Thanks, David On 2012-09-10 12:10, Daniel-

Re: [SR-Users] Memory allocation

2012-09-10 Thread Daniel-Constantin Mierla
Hello, -m is shared memory, so it is allocated per instance, it does not matter how many children you configure. kamctl fifo get_statistics all - returns internal statistics, including about shared memory kamctl stats - it's an alias to the previous command in the 3.3.x sercmd pkg.stats - to

[SR-Users] Memory allocation

2012-09-10 Thread David
Hello, I originally asked this on IRC, but realized that this is probably better suited for the mailing list : If I set memory usage to 100mb ( -m 100 ) and set 100 children ( children=100 in kamailio.cfg ). Will Kamailio use 100 mb or 10, 000 mb ( 10 gb ) of memory ? Is the memory limit per

Re: [SR-Users] is kamilio support RFC5626 now ?

2012-09-10 Thread Richard Brady
The other thing to consider within the "flow switching part" is the ability to "provide a limited version of a STUN server on the same interface and UDP port" as SIP. That sounds like heavy going. Would it be doable within Kamailio? I think this is a great RFC so would be happy to help with testi

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Uri Shacked
thanks a lot. so as i undestand, the real_used_size is the right value to calculate size. but, it grows because of fragmentation data. in the core, what does it mean "It is effective if MEM_JOIN_FREE compile option is defined" is there something else i need to do except adding to the cfg the mem_jo

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Daniel-Constantin Mierla
On 9/10/12 1:26 PM, Uri Shacked wrote: where is the defragmentation in 3.3.x? i didn't find it on the core cookbook this one: http://www.kamailio.org/wiki/cookbooks/3.3.x/core#mem_join Set it to 1. Cheers, Daniel On Mon, Sep 10, 2012 at 2:14 PM, Uri Shacked >

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Daniel-Constantin Mierla
Hello, On 9/10/12 1:14 PM, Uri Shacked wrote: Thanks, The stuff i sent is from my test server that has 3.3.1 installed. On my prod servers i use 3.2.x. how would you explain that when kamailio starts (on prod with similar data and same cfg) it take around 20% of the shmem, after reload 30%

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Uri Shacked
where is the defragmentation in 3.3.x? i didn't find it on the core cookbook On Mon, Sep 10, 2012 at 2:14 PM, Uri Shacked wrote: > Thanks, > > The stuff i sent is from my test server that has 3.3.1 installed. > > On my prod servers i use 3.2.x. > > how would you explain that when kamailio st

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Uri Shacked
Thanks, The stuff i sent is from my test server that has 3.3.1 installed. On my prod servers i use 3.2.x. how would you explain that when kamailio starts (on prod with similar data and same cfg) it take around 20% of the shmem, after reload 30% and in time (6-8 weeks) it gets up to 39% ? I star

Re: [SR-Users] MTREE reload question

2012-09-10 Thread Daniel-Constantin Mierla
Hello, the used size is pretty much the same after the reload, so doesn't look as leak. If you do 2-3 reloads is shmem:used_size staying around same value? It is clear boost in the fragments, I would say that after start the number of fragments is quite low, because it should contain the good

Re: [SR-Users] using kamailio with clients in a nat environment

2012-09-10 Thread Daniel-Constantin Mierla
Hello, what are you using for rtp relay? Sending here the sip trace of such call (e.g., ngrep) would help to spot if the signaling is updated correctly for nat traversal. Cheers, Daniel On 9/10/12 3:18 AM, David Thomson wrote: hi, I was wondering if in clients in a nat environment need to

Re: [SR-Users] event_route[dialog:failed] and Warning "script writer didn't realese transaction"

2012-09-10 Thread Daniel-Constantin Mierla
Hello, the warning is harmless. I can't say right now what is exact relation between the dialog event route and it, I will have to look at sources -- dialog module registers some callbacks. But at the end, everything should go fine. I would create the dialog only when it is pretty much clear