[OpenSIPS-Devel] [opensips] core dump with xmlrpc in v1.11.3 (#379)

2014-11-03 Thread telematico
It seems to be a problem with xmlrpc module. With a population of 4000 users, when I tried to get the registered AORs form XMLRPC it tooks about 30 seconds and 7MB of PKG mem. doing it via fifo it tooks no more than 2 seconds. After some hours collecting statistics using XMLRPC (for Nagios and

Re: [OpenSIPS-Devel] [opensips] core dump with xmlrpc in v1.11.3 (#379)

2014-11-03 Thread telematico
Here is one bt full: For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/sbin/opensips...Reading symbols from /usr/lib/debug/usr/sbin/opensips...done. done. [New LWP 30701] [New LWP 2137] warning: Can't read pathname for load map:

Re: [OpenSIPS-Devel] [opensips] core dump with xmlrpc in v1.11.3 (#379)

2014-11-03 Thread telematico
and another core backtrace: Reading symbols from /usr/sbin/opensips...Reading symbols from /usr/lib/debug/usr/sbin/opensips...done. done. [New LWP 17044] [New LWP 32091] warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host

[OpenSIPS-Devel] OpenSIPS Summit 2014 in Las Vegas - Post Facts

2014-11-03 Thread Vlad Paiu
Hi everyone ! Following the requests of people who were not able to attend, we put together a nice collection of presentations, videos and photos - all are shared here: http://www.opensips.org/Community/Summit-2014LasVegas Enjoy ! Thanks again to our sponsors, to the people who helped

[OpenSIPS-Devel] [opensips] Feature request - BLF differences between Opensips 1.6.4 and 1.11.3 (#380)

2014-11-03 Thread telematico
Hello Devels: After update my ancient and stable Opensips 1.6.4 to newer version 1.11.3 some clients starts to complaint about random BLF feature problems. In the logs I can see messages like: ERROR:presence:get_database_info: No matching subscription dialog found in database

[OpenSIPS-Devel] [opensips] gw/cr/rule_attrs_avp is internal avp (#381)

2014-11-03 Thread Mihai Tiganus
The names of the new avp collide with the old ones. The name of the new avps should be changed and update the documentation to reflect the fact that they are internal AVPs. --- Reply to this email directly or view it on GitHub:

[OpenSIPS-Devel] [opensips] crash in v1.11.3 using fifo pres_phtable_list (#382)

2014-11-03 Thread telematico
Hello Devels: Making some tests with version 1.11.3 I've just discover how to casue a crash simply calling pres_phtable_list using fifo (opensipsctl fifo pres_phtable_list). I execute this command in a proxy that is not acting as presence server, but must have the presence modules loaded

Re: [OpenSIPS-Devel] [opensips] Changes to stop keepalives on unregisters (#366)

2014-11-03 Thread Bogdan Andrei IANCU
Merged #366. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/366#event-187810552___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [OpenSIPS/opensips] f4ed45: Changes to stop keepalives on unregisters

2014-11-03 Thread Bogdan Andrei IANCU
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f4ed457bc10d6ddfcd6dc77dcc9e460e767bdc4b https://github.com/OpenSIPS/opensips/commit/f4ed457bc10d6ddfcd6dc77dcc9e460e767bdc4b Author: David Sanders dsander...@ucsbalum.com Date: 2014-10-20 (Mon, 20

Re: [OpenSIPS-Devel] [opensips] nathelper: double oldmediaip attribute while fix_nated_sdp() (#377)

2014-11-03 Thread Bogdan Andrei IANCU
Sounds ok, I will make this a feature request. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/377#issuecomment-61593417___ Devel mailing list Devel@lists.opensips.org

Re: [OpenSIPS-Devel] [opensips] nathelper: double oldmediaip attribute while fix_nated_sdp() (#377)

2014-11-03 Thread Bogdan Andrei IANCU
Target: 1) use oldcip (for c line) and oldoip (for o line) instead of oldmediaip for both 2) make it configurable (module level), by default off (no adding). --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] Add LDAPS and starttls extension to LDAP module (#348)

2014-11-03 Thread Bogdan Andrei IANCU
Closed #348. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/348#event-187828207___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] core dump with xmlrpc in v1.11.3 (#379)

2014-11-03 Thread Bogdan Andrei IANCU
HI @telematico , I suspect you have a libxmlrpc-c3 library which is compiled with threads supports (and not with multi-processes support) - this is incompatible with OpenSIPS and leads to memory corruption. Because of such problems, we are currently migrating to mi_xmlrpc_ng - please try using

[OpenSIPS-Devel] [OpenSIPS/opensips] 705839: Disable MI commands when presence is in lib mode.

2014-11-03 Thread Bogdan-Andrei Iancu
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 7058396dfff62769a58103517ae42bf57078b8bd https://github.com/OpenSIPS/opensips/commit/7058396dfff62769a58103517ae42bf57078b8bd Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2014-11-04 (Tue, 04

[OpenSIPS-Devel] [OpenSIPS/opensips] f94a5f: Disable MI commands when presence is in lib mode.

2014-11-03 Thread Bogdan-Andrei Iancu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f94a5f6031b496bac097c1d85b899b7ca170ed3c https://github.com/OpenSIPS/opensips/commit/f94a5f6031b496bac097c1d85b899b7ca170ed3c Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2014-11-04 (Tue, 04

[OpenSIPS-Devel] [OpenSIPS/opensips] 36715c: Disable MI commands when presence is in lib mode.

2014-11-03 Thread Bogdan-Andrei Iancu
Branch: refs/heads/1.10 Home: https://github.com/OpenSIPS/opensips Commit: 36715c74c1d67491f328fa97447f6bf0b917f09b https://github.com/OpenSIPS/opensips/commit/36715c74c1d67491f328fa97447f6bf0b917f09b Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2014-11-04 (Tue, 04

Re: [OpenSIPS-Devel] [opensips] crash in v1.11.3 using fifo pres_phtable_list (#382)

2014-11-03 Thread Bogdan Andrei IANCU
Hi @telematico - I uploaded a commit to fix the crash ; the fix disables the MI commands in presence module when used in library mode. Still, if you want to use pua_dialoginfo, only pua module is required; presence module is not (if you have another OpenSIPS acting as presence server..What

[OpenSIPS-Devel] [OpenSIPS/opensips] 8bb455: Add end_sub_on_timeout module parameter.

2014-11-03 Thread Bogdan-Andrei Iancu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8bb455398f9520248389e36d20c09ef2ad24da0f https://github.com/OpenSIPS/opensips/commit/8bb455398f9520248389e36d20c09ef2ad24da0f Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2014-11-04 (Tue, 04

Re: [OpenSIPS-Devel] [opensips] Feature request - BLF differences between Opensips 1.6.4 and 1.11.3 (#380)

2014-11-03 Thread Bogdan Andrei IANCU
Hi @telematico - please see the master branch - I added the end_sub_on_timeout module parameter, which by default is on (1). Have it tested to see if does the trick for you. I will not backport this into 1.11 (as it is a feature request), but you can do this by yourself - patch is available

Re: [OpenSIPS-Devel] [opensips] date format convert method that use in opensips.cfg (#378)

2014-11-03 Thread Bogdan Andrei IANCU
Hi @zhouxiaoqiang - in C code, the setting of the timezone is done via the tzset() function - this will affect all time related function (like ctime() , localtime() , mktime() , and strftime() ). The question is - how to provide the TZ information at script level - should be a global param for

Re: [OpenSIPS-Devel] [opensips] Modparam string not duplicated when USE_FUNC_PARAM flag set (#349)

2014-11-03 Thread Bogdan Andrei IANCU
Closed #349. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/349#event-187853375___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] Backporting filename in runtime error messages to 1.11 (#372)

2014-11-03 Thread Bogdan Andrei IANCU
Merged #372. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/372#event-187858635___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [OpenSIPS/opensips] b5459c: Backporting filename in runtime error messages to ...

2014-11-03 Thread Bogdan Andrei IANCU
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: b5459c279e3f4de0a291079fec701ad4ce1190fa https://github.com/OpenSIPS/opensips/commit/b5459c279e3f4de0a291079fec701ad4ce1190fa Author: David Sanders dsander...@ucsbalum.com Date: 2014-10-23 (Thu, 23 Oct

Re: [OpenSIPS-Devel] [opensips] Backporting filename in runtime error messages to 1.11 (#372)

2014-11-03 Thread Bogdan Andrei IANCU
Thank you @dsanders11 . @wdoekes , it should be more than ok even without the staticTheoretically you can (as code) to change it later, maybe in the future ;) --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] date format convert method that use in opensips.cfg (#378)

2014-11-03 Thread Di-Shi Sun
If zhouxiaoqiang only wants to get time string in GMT for SIP Date, it should be easy to implemented. C function gmtime should work. timezone configuration is not needed. A pvar say, gmttime(), should be enough. If time strings in other timezones are needed, the best way may be to provider a

Re: [OpenSIPS-Devel] [opensips] load_balancer module enhancements (#345)

2014-11-03 Thread Bogdan Andrei IANCU
Hi @shripchenko , sorry for the delay. For 1) - right now we have only a function load_balance() that is used to start and continue the LB process. We want to have in the future the possibility to start, continue and re-start the LB process. To aligned it with the rest of the modules (drouting,

Re: [OpenSIPS-Devel] [opensips] E_DLG_STATE_CHANGED event for dialog module (#341)

2014-11-03 Thread Bogdan Andrei IANCU
@razvancrainea , any progress with this ? --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/341#issuecomment-61604370___ Devel mailing list Devel@lists.opensips.org

Re: [OpenSIPS-Devel] [opensips] date format convert method that use in opensips.cfg (#378)

2014-11-03 Thread zhouxiaoqiang.mst...@gmail.com
Hi All: first, thank a lot. In my case, I only need C function gmtime. but, I think the seconds way is better that have good expansibility. zhouxiaoqiang.mst...@gmail.com From: Di-Shi Sun Date: 2014-11-04 15:39 To: devel Subject: Re: [OpenSIPS-Devel] [opensips] date