[OpenSIPS-Devel] [opensips] avp_ops: failure to start if db ops used only in async mode (#757)

2016-01-14 Thread Ovidiu Sas
If avp_db_query is used exclusively in async mode, during init, the avp_db_query function is not found in script and opensips is failing to start with the following error being reported: ``` ERROR:avpops:__fixup_db_query_avp: no db url defined to be used by this function ``` Workaround: define a

[OpenSIPS-Devel] [Release] OpenSIPS 1.11.6 and 2.1.2

2016-01-14 Thread Bogdan-Andrei Iancu
Hi all, Two new minor releases are available now - 1.11.6 and 2.1.2. As usual they do not bring changes in functionality, but fixes. Especially for 2.1.2 where many issues were addressed (consistency and bug fixes) in regards to the architecture change (the internal reactor, async support, pr

[OpenSIPS-Devel] [OpenSIPS/opensips] 7023ad: RPM spec: update version to 2.1.2

2016-01-14 Thread Nick Altmann
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 7023adea797f9b716f3f0daccba97093cd30f42e https://github.com/OpenSIPS/opensips/commit/7023adea797f9b716f3f0daccba97093cd30f42e Author: Nick Altmann Date: 2016-01-14 (Thu, 14 Jan 2016) Changed paths:

[OpenSIPS-Devel] [OpenSIPS/opensips] 02fde2: 2.1.2: update changelog and minor version

2016-01-14 Thread Razvan Crainea
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 02fde2a590ea68874e5966c9b17e6f6fd8d448ce https://github.com/OpenSIPS/opensips/commit/02fde2a590ea68874e5966c9b17e6f6fd8d448ce Author: Razvan Crainea Date: 2016-01-14 (Thu, 14 Jan 2016) Changed paths:

[OpenSIPS-Devel] [OpenSIPS/opensips] f6a3e5: 1.11.6: update changelog and build version

2016-01-14 Thread Razvan Crainea
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: f6a3e524f775a41b33082443894ec704da7a981f https://github.com/OpenSIPS/opensips/commit/f6a3e524f775a41b33082443894ec704da7a981f Author: Razvan Crainea Date: 2016-01-14 (Thu, 14 Jan 2016) Changed paths:

[OpenSIPS-Devel] [OpenSIPS/opensips] 57a7bf: fixing coverity found defects - invalid memory acc...

2016-01-14 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 57a7bf02a54f91020e5163be82b0ac3cf09e0531 https://github.com/OpenSIPS/opensips/commit/57a7bf02a54f91020e5163be82b0ac3cf09e0531 Author: Dusan Klinec Date: 2016-01-14 (Thu, 14 Jan 2016) Changed paths:

[OpenSIPS-Devel] [OpenSIPS/opensips] 4b011b: proto_ws: fix common variable used

2016-01-14 Thread Razvan Crainea
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 4b011be128cfbab17fd294469df995bd20cb1de2 https://github.com/OpenSIPS/opensips/commit/4b011be128cfbab17fd294469df995bd20cb1de2 Author: Razvan Crainea Date: 2016-01-14 (Thu, 14 Jan 2016) Changed paths:

[OpenSIPS-Devel] [OpenSIPS/opensips] 960806: tm: remove unused variables

2016-01-14 Thread Ovidiu Sas
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 9608063fc1509208af122aa12479e495181c9775 https://github.com/OpenSIPS/opensips/commit/9608063fc1509208af122aa12479e495181c9775 Author: Ovidiu Sas Date: 2016-01-14 (Thu, 14 Jan 2016) Changed paths:

[OpenSIPS-Devel] [OpenSIPS/opensips] 785e4b: [proto_hep]don't htons one byte type variable

2016-01-14 Thread ionutrazvanionita
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 785e4b8358de21a28111303b32740f421881b76b https://github.com/OpenSIPS/opensips/commit/785e4b8358de21a28111303b32740f421881b76b Author: ionutrazvanionita Date: 2016-01-14 (Thu, 14 Jan 2016) Changed p

[OpenSIPS-Devel] [OpenSIPS/opensips] 666cf8: tm: remove unused variables

2016-01-14 Thread Ovidiu Sas
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 666cf8316d3105a2920b68df8d600be02c8943bb https://github.com/OpenSIPS/opensips/commit/666cf8316d3105a2920b68df8d600be02c8943bb Author: Ovidiu Sas Date: 2016-01-14 (Thu, 14 Jan 2016) Changed paths:

[OpenSIPS-Devel] proto_ws doesn't compile on latest 2.1

2016-01-14 Thread Ovidiu Sas
Compiling ws_handshake.c ws_handshake.c: In function âws_handshakeâ: ws_handshake.c:152:15: error: â_ws_common_tcp_current_reqâ undeclared (first use in this function) if (req != &_ws_common_tcp_current_req) ^ ws_handshake.c:152:15: note: each undeclared identifier is reported onl

Re: [OpenSIPS-Devel] [opensips] Critical security fixes: memory corruption, invalid read, null dereferences, overflows (#719)

2016-01-14 Thread Liviu Chircu
Thank you for taking the time to solve all these issues! @razvancrainea said he's actually going to Coverity analysis integration with OpenSIPS on GitHub! --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/719#issuecomment-171704798___

[OpenSIPS-Devel] [OpenSIPS/opensips] c537cb: fixing coverity found defects - invalid memory acc...

2016-01-14 Thread Liviu Chircu
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: c537cb8151e9436d88a9410e02ef11a093008ff0 https://github.com/OpenSIPS/opensips/commit/c537cb8151e9436d88a9410e02ef11a093008ff0 Author: Dusan Klinec Date: 2015-12-05 (Sat, 05 Dec 2015) Changed paths:

Re: [OpenSIPS-Devel] [opensips] Critical security fixes: memory corruption, invalid read, null dereferences, overflows (#719)

2016-01-14 Thread Liviu Chircu
Merged #719. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/719#event-515205014___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [OpenSIPS/opensips] 5d813f: ws: release TCP connection if not static

2016-01-14 Thread Razvan Crainea
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 5d813f6bb38b8715798324cc88bd728a70a3 https://github.com/OpenSIPS/opensips/commit/5d813f6bb38b8715798324cc88bd728a70a3 Author: Razvan Crainea Date: 2016-01-14 (Thu, 14 Jan 2016) Changed paths:

Re: [OpenSIPS-Devel] [opensips] Critical security fixes: memory corruption, invalid read, null dereferences, overflows (#719)

2016-01-14 Thread Liviu Chircu
But it's still not NULL-terminated! Here's the proper fix: ``` size_t len = strlen(sec); if (len > LONGKEYBUFF - 1) len = LONGKEYBUFF - 1; strncpy(longkey, sec, len + 1); ``` --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/719#issuecomment-1716

[OpenSIPS-Devel] HELP PLEASE!! I modified Opensips presence server and performance worsens.

2016-01-14 Thread surya
Hi All, My level of expertise- It's the first time that I worked on Unix and C. I am using the Opensips 1.8.3. *TL;DR* But hope someone reads. I am in deep trouble. For a project, I modified the Presence server to have REST wrapper over database calls and use REDIS as the cache (/instead of the

[OpenSIPS-Devel] [OpenSIPS/opensips] f14804: Import some changes from PR #661

2016-01-14 Thread Bogdan-Andrei Iancu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f14804b28a73fbcd442f54c76a62e59bf7b8bbd9 https://github.com/OpenSIPS/opensips/commit/f14804b28a73fbcd442f54c76a62e59bf7b8bbd9 Author: Bogdan-Andrei Iancu Date: 2016-01-14 (Thu, 14 Jan 2016) Changed

Re: [OpenSIPS-Devel] [opensips] Wss manual/doc or usage. (#756)

2016-01-14 Thread Răzvan Crainea
The documentation will be put together ASAP. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/756#issuecomment-171686118___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/ma

Re: [OpenSIPS-Devel] [opensips] Wss manual/doc or usage. (#756)

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

Re: [OpenSIPS-Devel] [opensips] abandoned turn causes processes to sleep forever when handling retransmitted publishes (#754)

2016-01-14 Thread Will Mitchell
I could make the patch into an actual pull request, if you'd prefer, although for several reasons (including vulgarity of comments, sorry!) it would be more for discussion than an actual pull. Let me know what you'd prefer. --- Reply to this email directly or view it on GitHub: https://github.c

Re: [OpenSIPS-Devel] [opensips] abandoned turn causes processes to sleep forever when handling retransmitted publishes (#754)

2016-01-14 Thread Will Mitchell
Here's a preliminary patch we put together: https://gist.github.com/wakamoleguy/dc9d694e64364ba6f7d2 We haven't tested it yet, or even really compiled it. The general idea is that if a process detects that it is about to throw away an old presentity, it still waits its turn and calls next_turn

Re: [OpenSIPS-Devel] [opensips] Wss manual/doc or usage. (#756)

2016-01-14 Thread Bogdan Andrei IANCU
Please use the opensips mailing list for help. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/756#issuecomment-171681619___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/

Re: [OpenSIPS-Devel] [opensips] abandoned turn causes processes to sleep forever when handling retransmitted publishes (#754)

2016-01-14 Thread Bogdan Andrei IANCU
Thank you for investigating this - now that is clear what is happens, I will work on a way to fix it. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/754#issuecomment-171680732___ Devel mailing list De

[OpenSIPS-Devel] [opensips] Wss manual/doc or usage. (#756)

2016-01-14 Thread cepehutu
Help me with tipsReally wont disable NGINX and use native WSS --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/756___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-14 Thread Eric Tamme
Closed #743. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/743#event-515068576___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [OpenSIPS/opensips] d2f90b: [sipcapture]mi_cmds were registered twice

2016-01-14 Thread ionutrazvanionita
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: d2f90b68ad121bcfb8303b710545f41a086dea05 https://github.com/OpenSIPS/opensips/commit/d2f90b68ad121bcfb8303b710545f41a086dea05 Author: ionutrazvanionita Date: 2016-01-14 (Thu, 14 Jan 2016) Changed path

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-14 Thread Eric Tamme
yes - memory is completely stable after several days of usage, i will close the issue. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/743#issuecomment-171668395___ Devel mailing list Devel@lists.opensi

[OpenSIPS-Devel] [OpenSIPS/opensips] 47bbc0: bin: report the dimension of the buffer

2016-01-14 Thread Razvan Crainea
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 47bbc079577d4e84b3f261e1a8485d92a6be9cfe https://github.com/OpenSIPS/opensips/commit/47bbc079577d4e84b3f261e1a8485d92a6be9cfe Author: Razvan Crainea Date: 2016-01-14 (Thu, 14 Jan 2016) Changed path

[OpenSIPS-Devel] [OpenSIPS/opensips] 16cea6: [sipcapture]completely remove mod_init mi_cmds reg...

2016-01-14 Thread ionutrazvanionita
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 16cea6a885d9bba23d28a93685cd794d9f3b8fc9 https://github.com/OpenSIPS/opensips/commit/16cea6a885d9bba23d28a93685cd794d9f3b8fc9 Author: ionutrazvanionita Date: 2016-01-14 (Thu, 14 Jan 2016) Changed p

[OpenSIPS-Devel] [OpenSIPS/opensips] 2c52d1: [sipcapture]mi_cmds were registered twice

2016-01-14 Thread ionutrazvanionita
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 2c52d1e03bf8adfaa478c68c6d2d9403813536cd https://github.com/OpenSIPS/opensips/commit/2c52d1e03bf8adfaa478c68c6d2d9403813536cd Author: ionutrazvanionita Date: 2016-01-14 (Thu, 14 Jan 2016) Changed pat

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-14 Thread Răzvan Crainea
Could you confirm everything is ok, so we can close this ticket? Thanks! --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/743#issuecomment-171666064___ Devel mailing list Devel@lists.opensips.org http://l

Re: [OpenSIPS-Devel] [opensips] opensipsctl statistics inconsistent formatting (#673)

2016-01-14 Thread Răzvan Crainea
Actually the only inconsistencies would appear if the name of the statistic contains `::`. Luckily we don't have this in opensips, so you could use the following logic, parsing the row from left to right: 1. search for `:` - this token represents the `Module` 2. search for `::` - this represents

Re: [OpenSIPS-Devel] [opensips] opensipsctl statistics inconsistent formatting (#673)

2016-01-14 Thread Rik Broers
Hmm missed that this one is closed. I do not agree that it is consistent. This is only true for the load statistics. Load statistics are suddenly formatted as follows Module : Proto : Ip : port-statname : : value pkmem:24-fragments:: 8 load:udp:185.47.2.231:5060-load:: 0 --- Reply to this ema

[OpenSIPS-Devel] [OpenSIPS/opensips] e36453: [sipcapture]mi_cmds were registered twice

2016-01-14 Thread ionutrazvanionita
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e36453ee6c687975382c3125b1dad9a382be041a https://github.com/OpenSIPS/opensips/commit/e36453ee6c687975382c3125b1dad9a382be041a Author: ionutrazvanionita Date: 2016-01-14 (Thu, 14 Jan 2016) Changed p

Re: [OpenSIPS-Devel] [opensips] Implement RTPProxy statistics fetching (#750)

2016-01-14 Thread vladpaiu
Ideally we could implement an algorithm similar to what's described at [1] , in order to get a single number describing the overall quality of the call. [1] https://www.pingman.com/kb/article/how-is-mos-calculated-in-pingplotter-pro-50.html --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] Radius accounting problem (#755)

2016-01-14 Thread Nick Altmann
Closed #755. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/755#event-514925097___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] Radius accounting problem (#755)

2016-01-14 Thread Ionut Ionita
Tried to recreate your bug and used the following config [0] but as you can see in the pcap[1] the accounting requests are generated for both BYEs. opensips -v output version: opensips 2.2-dev (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-A

[OpenSIPS-Devel] [opensips] Radius accounting problem (#755)

2016-01-14 Thread Nick Altmann
When opensips has not received BYE packet from peers (both sides disconnected), but generated it by dialog module (dialog timeout), opensips doesn't generate radius accounting stop request --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/755_

Re: [OpenSIPS-Devel] [opensips] opensipsctl fifo ds_list show weight and priority and docs improvement (#672)

2016-01-14 Thread ionel-cerghit
Hi, Feature implemented in https://github.com/OpenSIPS/opensips/pull/748 . Does it satisfy you needs? --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/672#issuecomment-171608999___ Devel mailing list Dev

Re: [OpenSIPS-Devel] [opensips] OpenSIPS 2.1 Crash (#732)

2016-01-14 Thread Muhammad Shahzad Shafi
I have updated opensips to v2.1.1 Git Rev. 4c775f2. I still have crash through frequency is a bit reduced now, previously it was crashing on every call, now it crashes every 2nd or 3rd call. I see two core dumps, here are their back traces. Contents of core.opensips.8051.loadbalancer-dev.145276