[sr-dev] [kamailio] kamailio 4.3 db write-back (db_mode=2) loads non-local contacts without socket in AoR (#325)

2015-09-14 Thread mading087
Hi, We're trying to build a db replication based kamailio server redundancy solution. In recent tests, it seems to make more sense to change the db_mode to 2 (write-back) instead of using db only mode, as in db only mode, a lot of commands and stats don't work anymore. At this point, we're ver

Re: [sr-dev] git:master:1aa95fbc: Add Rx-Specific-Action AVPs to work with some PCRFs

2015-09-14 Thread Daniel-Constantin Mierla
A quick reminder that the first line in the commit message must be prefixed with the component that was changed. The email notification for a commit is quite detailed, being custom generated by a php script, but the 'git log' shows only: ``` commit 1aa95fbc87c6ec118d7675b5c9c0e01a61de091b Author:

[sr-dev] git:master:19b3d02c: Makefile: install-initd-centos target creates run dir

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 19b3d02c0fc4188b175d0d86e27f3c092900b10c URL: https://github.com/kamailio/kamailio/commit/19b3d02c0fc4188b175d0d86e27f3c092900b10c Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T22:29:55+02:00 Makefile: install-init

Re: [sr-dev] Install scripts and /var/run/kamailio

2015-09-14 Thread Daniel-Constantin Mierla
The situation is quite annoying sometimes even for me, I was thinking of ways to make it more convenient when installing sources and starting with a command line or running from source tree as I do most of the time. The /var/run/kamailio is not created by debian installation process, because /var/

[sr-dev] git:master:1aa95fbc: Add Rx-Specific-Action AVPs to work with some PCRFs

2015-09-14 Thread Carsten Bock
Module: kamailio Branch: master Commit: 1aa95fbc87c6ec118d7675b5c9c0e01a61de091b URL: https://github.com/kamailio/kamailio/commit/1aa95fbc87c6ec118d7675b5c9c0e01a61de091b Author: Carsten Bock Committer: Carsten Bock Date: 2015-09-14T21:48:06+02:00 Add Rx-Specific-Action AVPs to work with some

Re: [sr-dev] Install scripts and /var/run/kamailio

2015-09-14 Thread Olle E. Johansson
What not create IT? Edvina AB > 14 sep 2015 kl. 17:48 skrev Fred Posner : > >> On 09/14/2015 12:36 PM, Olle E. Johansson wrote: >> Just a note so I don’t forget: >> >> When doing training we installed a few computers from tarballs, and >> got problems running the default script - install doesn’

Re: [sr-dev] [SR-Users] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread M S
Hi, After doing all the test cases, it seems the problem has been resolved in v4.3.2-3763f6. Thank you so much for your help in this timely fix. On Mon, Sep 14, 2015 at 12:52 PM, M S wrote: > OK, let me test it and get back to you. > > Thank you. > > > > On Mon, Sep 14, 2015 at 12:18 PM, Dan

Re: [sr-dev] Install scripts and /var/run/kamailio

2015-09-14 Thread Fred Posner
On 09/14/2015 12:36 PM, Olle E. Johansson wrote: > Just a note so I don’t forget: > > When doing training we installed a few computers from tarballs, and > got problems running the default script - install doesn’t seem to > create /var/run/kamailio which is now a default for some options. > > We

[sr-dev] Install scripts and /var/run/kamailio

2015-09-14 Thread Olle E. Johansson
Just a note so I don’t forget: When doing training we installed a few computers from tarballs, and got problems running the default script - install doesn’t seem to create /var/run/kamailio which is now a default for some options. We propably need to make sure this directory is created by stand

Re: [sr-dev] Adding new memory manager with the new API

2015-09-14 Thread Victor Seva
On 09/14/2015 03:15 PM, Daniel-Constantin Mierla wrote: > If valgrind has some api that needs to be exposed for working with > custom memory managers, then we can look at -- send the link if you have > one. http://valgrind.org/docs/manual/mc-manual.html#mc-manual.mempools PoC long time ago ( reba

Re: [sr-dev] Adding new memory manager with the new API

2015-09-14 Thread Daniel-Constantin Mierla
On 14/09/15 15:11, Victor Seva wrote: > On 09/14/2015 02:55 PM, Daniel-Constantin Mierla wrote: >> The new memory management api is at beginning, suggestions to adjust it >> are welcome. > Not really sure this is related but, can we add valgrind support for > debugging purposes? > Does it require

Re: [sr-dev] Adding new memory manager with the new API

2015-09-14 Thread Victor Seva
On 09/14/2015 02:55 PM, Daniel-Constantin Mierla wrote: > The new memory management api is at beginning, suggestions to adjust it > are welcome. Not really sure this is related but, can we add valgrind support for debugging purposes? signature.asc Description: OpenPGP digital signature

[sr-dev] Adding new memory manager with the new API

2015-09-14 Thread Daniel-Constantin Mierla
Hello, during Kamailio World I and Camille discussed briefly about enhancing kamailio to support selecting the memory manager without recompilation. This morning I pushed a bunch of patches allowing this via command line parameters. I am writing now to describe shortly the process of adding a new

Re: [sr-dev] [kamailio] kamailio 4.3 crash in update_dialog_vars_dbinfo (#301)

2015-09-14 Thread MayamaTakeshi
OK. I have restarted tests (6 kamailio VMs on kvm, vmware and DigitalOcean) with master branch latest commit 171553ebcac2f00a015191f36f2f228c0d3e483b. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/301#issuecomment-140050255___

Re: [sr-dev] [kamailio] UAC module - registration stuck in ONGOING state (does not retry) (#255)

2015-09-14 Thread Daniel-Constantin Mierla
Closed #255. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/255#event-408542495___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Re: [sr-dev] [kamailio] UAC module - registration stuck in ONGOING state (does not retry) (#255)

2015-09-14 Thread Daniel-Constantin Mierla
Closing this one, as it seems fixed. Re-open if the issue appears again. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/255#issuecomment-140041429___ sr-dev mailing list sr-dev@lists.sip-router.org http

Re: [sr-dev] [kamailio] kamailio 4.3 crash in update_dialog_vars_dbinfo (#301)

2015-09-14 Thread Daniel-Constantin Mierla
A fix was pushed for the issue you noticed when processing was stopped. The best will be to test with latest master branch or latest 4.3 branch. If you test with master branch, then add the command line parameter '-x qm' to kamailio -- qm is the memory manager that does some extra checks to dete

Re: [sr-dev] [kamailio] kamailio 4.3 crash at run_trans_callbacks_internal (#322)

2015-09-14 Thread Daniel-Constantin Mierla
I pushed a safety check to skip t_continue() if the transaction was not suspended. Can you try with latest master branch or backport the commits 52c4965bbb4cde5d7bddcf697aa504e7c2202ac1 and 171553ebcac2f00a015191f36f2f228c0d3e483b to your branch? Your scenario is rather interesting, would be go

[sr-dev] git:master:171553eb: tm: reset async suspended flag when continuing via failure_route

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 171553ebcac2f00a015191f36f2f228c0d3e483b URL: https://github.com/kamailio/kamailio/commit/171553ebcac2f00a015191f36f2f228c0d3e483b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T12:53:54+02:00 tm: reset async suspen

Re: [sr-dev] [SR-Users] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread M S
OK, let me test it and get back to you. Thank you. On Mon, Sep 14, 2015 at 12:18 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > I found a regression when detecting spiraled dialogs with state deleted. > That would be the case when you create a dialog for an INVITE, but you > reply

[sr-dev] git:master:52c4965b: tm: test if transaction was suspended before resuming inside t_continue()

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 52c4965bbb4cde5d7bddcf697aa504e7c2202ac1 URL: https://github.com/kamailio/kamailio/commit/52c4965bbb4cde5d7bddcf697aa504e7c2202ac1 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T12:45:28+02:00 tm: test if transactio

Re: [sr-dev] [kamailio] Module cnxcc: Error in log while parsing fake message (#324)

2015-09-14 Thread Daniel-Constantin Mierla
Indeed, it seems that terminate_call() triggers ending of the dialog, which call backs deletion of call structure from cnxcc. But after the part ending of the dialog, cnxcc executes __notify_call_termination(&call->sip_data), accessing the data of the call just deleted. For me, it looks like __

Re: [sr-dev] [SR-Users] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread Daniel-Constantin Mierla
I found a regression when detecting spiraled dialogs with state deleted. That would be the case when you create a dialog for an INVITE, but you reply with a negative response code from kamailio and then quickly a new invite with same callid and from tag arrives. Can you upgrade to latest version i

[sr-dev] git:4.3:3763f689: dialog: mark slot as lock if dialog found in state deleted for spiral detection

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 3763f689436b717b323d6d0337317ffc24d180a1 URL: https://github.com/kamailio/kamailio/commit/3763f689436b717b323d6d0337317ffc24d180a1 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T12:06:31+02:00 dialog: mark slot as lock

[sr-dev] git:master:6a9c892f: dialog: mark slot as lock if dialog found in state deleted for spiral detection

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 6a9c892fd0a7a526ec6ced4b40479875477d96db URL: https://github.com/kamailio/kamailio/commit/6a9c892fd0a7a526ec6ced4b40479875477d96db Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T12:05:27+02:00 dialog: mark slot as l

Re: [sr-dev] [SR-Users] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread M S
OK runtime debugging shows something is wrong with dialog module, all 6 processes are locked in trying to access dialog module when 200 OK is received for the call. For example, here is the BT of one the processes, -- #0 0xb77a0424 in __kernel_vsyscall () #1 0xb76c140c in sched_yield () from /li

Re: [sr-dev] [SR-Users] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread M S
Sure, here is the list of module in given order, -- loadmodule "db_mysql.so" loadmodule "mi_fifo.so" loadmodule "mi_datagram.so" loadmodule "kex.so" loadmodule "corex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "outbound.so" loadmodule "rr.so" loadmodule "path.so" load

Re: [sr-dev] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread Daniel-Constantin Mierla
Hello, I will review the changes pushed to 4.3.2 vs 4.3.1. Can you send here the list of modules you are using? The loadmodule lines in kamailio.cfg. Cheers, Daniel On 14/09/15 10:51, M S wrote: > Hi, > > Over last weekend i upgraded one of my test servers from Kamailio > v4.3.1-4d1b65 to latest

[sr-dev] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread M S
Hi, Over last weekend i upgraded one of my test servers from Kamailio v4.3.1-4d1b65 to latest stable release v4.3.2-07690f and now kamailio goes crazy even with single call (I am using same db and configuration of course). As soon as call establishes system load average (as seen in top command) s

[sr-dev] selecting memory manager at startup

2015-09-14 Thread Daniel-Constantin Mierla
Hello, (cross-posting as it is relevant to user community as well). I just pushed a bunch of patches to master branch that will allow selecting the memory manger at kamailio startup, no longer needed to re-compile sources. There are two new command line parameters: * -x name: select the memo

[sr-dev] git:master:467a12b7: mem: f_malloc updated to implement new pkg/shm management api

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 467a12b72d5c107f89291042b578d708837e7a79 URL: https://github.com/kamailio/kamailio/commit/467a12b72d5c107f89291042b578d708837e7a79 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:45+02:00 mem: f_malloc updated

[sr-dev] git:master:28bf5c45: mem: core api for pkg management

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 28bf5c457ffcbe95ce5528d492f4ebc5b10ab68f URL: https://github.com/kamailio/kamailio/commit/28bf5c457ffcbe95ce5528d492f4ebc5b10ab68f Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:45+02:00 mem: core api for pkg

[sr-dev] git:master:e91bcf01: core: define to keep default shm memory pool size

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: e91bcf01099fe97ecd09b49d7a441793ba67b5df URL: https://github.com/kamailio/kamailio/commit/e91bcf01099fe97ecd09b49d7a441793ba67b5df Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:45+02:00 core: define to keep d

[sr-dev] git:master:a7812ed9: mem: reintroduced the option to use system malloc if PKG_MALLOC is not defined

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: a7812ed9e076105fcd483ae74c5a087caa4bf629 URL: https://github.com/kamailio/kamailio/commit/a7812ed9e076105fcd483ae74c5a087caa4bf629 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:46+02:00 mem: reintroduced the

[sr-dev] git:master:abb732e2: Makefile.defs: version set to 4.4.0-dev4

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: abb732e2cde4b7a94f48a47db7cfd42bc7bb6d6b URL: https://github.com/kamailio/kamailio/commit/abb732e2cde4b7a94f48a47db7cfd42bc7bb6d6b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:46+02:00 Makefile.defs: version

[sr-dev] git:master:7d0a9749: mem: core api for shm management

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 7d0a97490d345c8c01c14a95a52c2926ea28c466 URL: https://github.com/kamailio/kamailio/commit/7d0a97490d345c8c01c14a95a52c2926ea28c466 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:45+02:00 mem: core api for shm

[sr-dev] git:master:4c2ef7f3: core: new command line options for memory managers selections

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 4c2ef7f3eac3c7d18c8d8fc248b5372886c4c12a URL: https://github.com/kamailio/kamailio/commit/4c2ef7f3eac3c7d18c8d8fc248b5372886c4c12a Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:46+02:00 core: new command line

[sr-dev] git:master:876c20cf: mem: added api structures for pkg and shm management

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 876c20cf55b23507dd390d177d5a7138d04815e4 URL: https://github.com/kamailio/kamailio/commit/876c20cf55b23507dd390d177d5a7138d04815e4 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:45+02:00 mem: added api structu

[sr-dev] git:master:bf3e80bd: mem: old shm management disabled

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: bf3e80bdf7110630c5343f2fb2a44a7689343875 URL: https://github.com/kamailio/kamailio/commit/bf3e80bdf7110630c5343f2fb2a44a7689343875 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:45+02:00 mem: old shm managemen

[sr-dev] git:master:93c11cab: Makefile.defs: build commands updated to support many memory managers

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 93c11cab7a56377de4db80cd559a0a59b5a23528 URL: https://github.com/kamailio/kamailio/commit/93c11cab7a56377de4db80cd559a0a59b5a23528 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:46+02:00 Makefile.defs: build c

[sr-dev] git:master:549c24f0: core: defines printed in version string adjusted for new memory manager

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 549c24f0b11d84dfa7c9cc829ced2298dd871bd2 URL: https://github.com/kamailio/kamailio/commit/549c24f0b11d84dfa7c9cc829ced2298dd871bd2 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:46+02:00 core: defines printed

[sr-dev] git:master:5ba10ca7: mem: prototypes of exporting memory managers implemented in core

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 5ba10ca7715e91508d747203bec048d0ddc0f902 URL: https://github.com/kamailio/kamailio/commit/5ba10ca7715e91508d747203bec048d0ddc0f902 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:45+02:00 mem: prototypes of exp

[sr-dev] git:master:faa50860: mem: q_malloc updated to implement new pkg/shm management api

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: faa50860320aa1cca5e9886ca58745eee7227c25 URL: https://github.com/kamailio/kamailio/commit/faa50860320aa1cca5e9886ca58745eee7227c25 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:45+02:00 mem: q_malloc updated

[sr-dev] git:master:50df0fee: mem: old pkg management disabled

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 50df0feecc34e9f0ec025482406688e1d4e19252 URL: https://github.com/kamailio/kamailio/commit/50df0feecc34e9f0ec025482406688e1d4e19252 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:45+02:00 mem: old pkg managemen

[sr-dev] git:master:0987dc72: core: share memory initialization updated for new memory management api

2015-09-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 0987dc72474aea838592341e661b86cadad5a57b URL: https://github.com/kamailio/kamailio/commit/0987dc72474aea838592341e661b86cadad5a57b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-09-14T10:22:45+02:00 core: share memory ini

[sr-dev] git:master:88a7b00c: modules/ims: dialog, usrloc, qos and charging modules for IMS

2015-09-14 Thread jaybeepee
Module: kamailio Branch: master Commit: 88a7b00cf964993151a76051dd0fded46c3bf61e URL: https://github.com/kamailio/kamailio/commit/88a7b00cf964993151a76051dd0fded46c3bf61e Author: jaybeepee Committer: jaybeepee Date: 2015-09-14T09:04:03+02:00 modules/ims: dialog, usrloc, qos and charging module