Re: [SR-Users] Kamailio v4.1.0 Released - new major version is out

2013-12-04 Thread Olle E. Johansson
A big thank you to all developers for this major new release! And a big welcome to all new developers who contributed to this release too! /O 4 dec 2013 kl. 16:10 skrev Daniel-Constantin Mierla : > Kamailio v4.1.0 is out – a new major release, bringing out as usually a very > large set of ne

Re: [SR-Users] reload to memory is much slower and has problms after upgrade to 3.3.2 and using mem_join=1

2013-12-04 Thread Uri Shacked
The version is 3.3.2 a91b2b-dirty The cpmmand output is: shmem:fragments = 433 shmem:free_size = 2595411760 shmem:max_used_size = 2358563728 shmem:real_used_size = 169936 shmem:total_size = 4294967296 shmem:used_size = 1359869056 Thanks On Wed, Dec 4, 2013 at 10:04 PM, Daniel-Constantin Mi

[SR-Users] 4.0.4 SEGFAULT again

2013-12-04 Thread Kelvin Chua
the previous segfault was fixed, now this is a different, i cannot replicate this consistently. randomly crashes. full backtrace: #0 qm_detach_free (frag=0x27d926b4da0, qm=) at mem/q_malloc.c:269 prev = 0x27d923ad0a8 next = 0x0 #1 qm_malloc (qm=0x27d923ad000, size=48) at mem/q_m

Re: [SR-Users] Logging and debugging

2013-12-04 Thread Aaron Hamstra
All depends on what you are trying to log/debug. If it is route block logic/troubleshooting a good method is to use XLOG items for what you are looking for within your route blocks. Best method I have found... http://kamailio.org/docs/modules/4.0.x/modules/xlog.html -Aaron From:

[SR-Users] Logging and debugging

2013-12-04 Thread Keith
Hi guys, Does anyone have any advice to good Kamailio logging and debugging? When you switch on debugging the file grows quickly and with information that isn't really required. My initial idea is to run through the code and make lots of comments but just wanted other peoples ideas/views. Thanks,

Re: [SR-Users] reload to memory is much slower and has problms after upgrade to 3.3.2 and using mem_join=1

2013-12-04 Thread Daniel-Constantin Mierla
To refresh, what is the version you are using now? Looking at old messages in this thread is about 3.3.2, but memjoin was not there, iirc. Can you give the output for next command? kamctl mi get_statistics shmem: You can walk the shared memory chunks with gdb, but it may take quite a while an

[SR-Users] 407 Proxy Authentication Required

2013-12-04 Thread mohammed alyaseen
Hi all...I need help ... I am using Kamailio as SIP server... I tried to do call between two sip clients (MyMonster)..The clients can register with kamailio without any problems. But when I try to do call between two clients, It doesn't work. Once the kamailio gets the first invite from the cli

Re: [SR-Users] Accounting to mysql resulted in segfault

2013-12-04 Thread Daniel-Constantin Mierla
Would be good to get the core and backtrace, otherwise is hard to track what went wrong. db_mysql discards the query if it is not successful after three retries. The segfault seem to refer to usrloc, not acc. The issue could be combined with libmysqlclient behaviour, iirc kamailio will try to o

Re: [SR-Users] reload to memory is much slower and has problms after upgrade to 3.3.2 and using mem_join=1

2013-12-04 Thread Uri Shacked
Any ideas? On Tue, Nov 26, 2013 at 9:38 AM, Uri Shacked wrote: > mem_join=1 on cfg. > MEMDBG=0 on makefile.def > > > On Mon, Nov 25, 2013 at 10:40 PM, Daniel-Constantin Mierla < > mico...@gmail.com> wrote: > >> Hello, >> >> are you still using mem_join=1? >> >> Cheers, >> Daniel >> >> >> On 11

[SR-Users] Kamailio v4.1.0 Released - new major version is out

2013-12-04 Thread Daniel-Constantin Mierla
Kamailio v4.1.0 is out – a new major release, bringing out as usually a very large set of new features and improvements. You can read detailed release notes at: * http://www.kamailio.org/w/kamailio-v4-1-0-release-notes/ Many thanks to all developers and community members that made possible th

Re: [SR-Users] COR

2013-12-04 Thread Daniel Tryba
On Wednesday 04 December 2013 15:27:31 Keith wrote: > Thanks, but I need to restrict based on registered user, i.e. some users > will be able to dial those numbers others wont. I'd use a simple route/query for this, the barred attribute in usr_preferences can contain a full number or prefix. ro

[SR-Users] Accounting to mysql resulted in segfault

2013-12-04 Thread Daniel Tryba
This morning I had the unpleasant realisation that kamailio (4.0.3) crashed twice while I was running an alter statement on the acc table of a live instance. db_mysql [km_dbase.c:122]: db_mysql_submit_query(): driver error on q uery: Too many connections [db_query.c:132]: db_do_query_internal()

Re: [SR-Users] COR

2013-12-04 Thread Keith
Thanks, but I need to restrict based on registered user, i.e. some users will be able to dial those numbers others wont. Thanks, Keith ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.

Re: [SR-Users] flatstore.rotate not working

2013-12-04 Thread Abdelkader Allam
Hello I am doing it manually with a script which does the renaming (basically it is a unix mv) from glob import glob from time import time,sleep kamcdrroot="/var/log/kamailio/" from datetime import datetime from os import system def mv(fname1,fname2): return system("mv %s %s" % (fname1,fname2

Re: [SR-Users] flatstore.rotate not working

2013-12-04 Thread Daniel-Constantin Mierla
Hello, how you do the files rotation? The readme is saying that has to be done via an external application. Nothing has change in this regard for many years. Cheers, Daniel On 12/4/13 2:31 PM, Abdelkader Allam wrote: Hello Guys, I am using Kamailio 4.1.0. I am trying to get Kamailio to rot

Re: [SR-Users] Considering to release v4.1.0 on Dec 4, 2013

2013-12-04 Thread Daniel-Constantin Mierla
I will start building the release files soon. Once the announcement is out, there is no restriction on branch 4.1. Cheers, Daniel On 12/4/13 10:46 AM, Daniel-Constantin Mierla wrote: Hello, just a note to say that backports to branch 4.1 should be done before 14:00GMT. After that, send an em

[SR-Users] flatstore.rotate not working

2013-12-04 Thread Abdelkader Allam
Hello Guys, I am using Kamailio 4.1.0. I am trying to get Kamailio to rotate the cdr log through command kamcmd flatstore.rotate but it keeps sending log to the renamed files, I use the following parameter (i tried to set flush to 1 and 0, same result, i have also tried in debug and normal mode

Re: [SR-Users] IPv4, IPv6, RTPProxy and Kamailio

2013-12-04 Thread Daniel-Constantin Mierla
Maybe you look at all debug messages. Try with debug=2 even for WITH_DEBUG enabled. Otherwise, the cfgtrace just prints for each executed action the config file name, line and action id/name If that is too complex for you to look at and compare with the config file logic and see where is goi

[SR-Users] (no subject)

2013-12-04 Thread Abdelkader Allam
Hello Guys, I am using Kamailio 4.1.0. I am trying to get Kamailio to rotate the cdr log through command kamcmd flatstore.rotate but it keeps sending log to the renamed files, I use the following parameter #!define WITH_ACCFILE # - acc params - /* what special events should be accoun

Re: [SR-Users] COR

2013-12-04 Thread Daniel-Constantin Mierla
Hello, perhaps userblacklist module gives what you look for. Cheers, Daniel On 12/2/13 3:40 PM, Keith wrote: Hi, I want to build in a Class of Restriction in Kamailio so I can allow/deny calls to numbers (countries) based on the caller CLI. Ideally I want to do this in the db but not sure t

Re: [SR-Users] IPv4, IPv6, RTPProxy and Kamailio

2013-12-04 Thread Mark Zeman
We are using WITH_DEBUG, so we did see the cfgtraces, but they are wholly incomprehensible to us, I'm sorry to say. On Wed 04 Dec 2013 01:11:26 PM CET, Daniel-Constantin Mierla wrote: > > On 12/3/13 5:17 PM, Mark Zeman wrote: >> The SIP packets are fine - we are able to establish SIP session with

Re: [SR-Users] "new_t: out_of_mem" errors, yet core.shmmem reports >60% shmmem free

2013-12-04 Thread Daniel-Constantin Mierla
Hello, do you have mem_join set in the config file? I saw there is quite a lot of fragments, which means that there could demand for large size of memory, but available packets have lower size. mem_join should help in this case. Cheers, Daniel On 12/3/13 5:10 PM, elact...@jamailca.com wrote

Re: [SR-Users] Trouble getting Siremis up and running

2013-12-04 Thread Daniel-Constantin Mierla
Hello, the git doesn't include the phpopenbiz framework. You have to take the tarball with distribution of siremis 4.0 and extract the openbiz directory from there and place it in the folder were you downloaded git. Cheers, Daniel On 12/1/13 1:20 AM, Mark D. Montgomery II wrote: I just did a

Re: [SR-Users] IPv4, IPv6, RTPProxy and Kamailio

2013-12-04 Thread Daniel-Constantin Mierla
On 12/3/13 5:17 PM, Mark Zeman wrote: The SIP packets are fine - we are able to establish SIP session with a secured control channel as easily as with an unsecured one. As long as the RTPProxy doesn't get involved (i.e. as long as it's IPvX-IPvX and not IPv4-IPv6) everything works! With the RTPP

Re: [SR-Users] How to build Kamailio without FUTEX reference (to use PTHREAD_MUTEX or POSIX_SEM instead)

2013-12-04 Thread Daniel-Constantin Mierla
Hello, On 12/3/13 4:20 PM, Sotas Development wrote: Hi, I want to build a Kamailio version without the usage of futex. First of all I notice that the variable "use_futex" within Makefile.defs is hardcoded to the value "yes". Why is that? I want to get rid of this and build Kamailio without

Re: [SR-Users] Considering to release v4.1.0 on Dec 4, 2013

2013-12-04 Thread Daniel-Constantin Mierla
Hello, just a note to say that backports to branch 4.1 should be done before 14:00GMT. After that, send an email to sr-dev before committing and wait a bit for answer, because building release might be ongoing, so we can avoid inconsistencies. Cheers, Daniel On 12/3/13 9:05 AM, Daniel-Const