Re: [OpenSIPS-Devel] [opensips] [replication] Opensips 2.2 Crash (#761)

2016-02-12 Thread Liviu Chircu
Closed #761. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/761#event-548336170___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] [replication] Opensips 2.2 Crash (#761)

2016-02-12 Thread Liviu Chircu
Closing. Please re-open if anything else related to this issue pops up. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/761#issuecomment-183261293___ Devel mailing list Devel@lists.opensips.org

Re: [OpenSIPS-Devel] [opensips] math_eval() does not handle negative numbers (#788)

2016-02-12 Thread Liviu Chircu
>From the module documentation: > Currently allowed syntax for specifying an expression: > > * Nested parantheses > > * binary + - / * operators > If you really need this feature, I would be more than happy to review a Pull Request. --- Reply to this email directly or view it on GitHub:

[OpenSIPS-Devel] [opensips] Improve qvalue parsing (#790)

2016-02-12 Thread Liviu Chircu
According to `RFC 3261`: > qvalue = ( "0" [ "." 0*3DIGIT ] ) > / ( "1" [ "." 0*3("0") ] ) This means that `1.` and `0.` qvalues MUST be supported. This PR corrects this problem. You can view, comment on, or merge this pull request online at:

Re: [OpenSIPS-Devel] [opensips] Opensips 2.2 Crash (#761)

2016-01-28 Thread Liviu Chircu
[A fix for this](4c60af868970) was pushed to `master` branch. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/761#issuecomment-176261139___ Devel mailing list Devel@lists.opensips.org

Re: [OpenSIPS-Devel] [opensips] cachedb_local doesn't compile by default on V2.2 (#777)

2016-01-29 Thread Liviu Chircu
Are you sure you're installing to the correct prefix? (bottom row in `Makefile.conf`) *Hint: verify this by checking the modification timestamps of the other modules:* $ ls -la /tmp/lib64/opensips/modules/ ... -rwxr-xr-x 1 liviu liviu 57842 ian 29 16:27 benchmark.so -rwxr-xr-x

[OpenSIPS-Devel] [OpenSIPS Public Meeting] Follow-up: Scripting variables in OpenSIPS 3.x

2016-01-28 Thread Liviu Chircu
nd suggest improvements! [1]: http://www.opensips.org/Community/IRCmeeting20160127 Best regards, -- Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [OpenSIPS Public Meeting] Scripting variables in OpenSIPS 3.x

2016-01-26 Thread Liviu Chircu
] comes your valuable feedback and suggestions on this matter, so do not hesitate to join the meeting! [1]: http://www.timeanddate.com/worldclock/fixedtime.html?msg=OpenSIPS+Public+Meeting=20160127T15=1440=1 [2]: http://www.opensips.org/Community/IRCmeeting20160127 -- Liviu Chircu OpenSIPS

[OpenSIPS-Devel] [OpenSIPS/opensips] 0d6d7a: Initial version of OpenSIPS 3.0 script syntax

2016-02-01 Thread Liviu Chircu
Branch: refs/heads/3.0-dev Home: https://github.com/OpenSIPS/opensips Commit: 0d6d7a73dccf16b11d538f27e3e7ea1197dd26e6 https://github.com/OpenSIPS/opensips/commit/0d6d7a73dccf16b11d538f27e3e7ea1197dd26e6 Author: Liviu Chircu <li...@opensips.org> Date: 2016-01-31 (Sun,

Re: [OpenSIPS-Devel] [opensips] Opensips 2.2 Crash (#761)

2016-01-28 Thread Liviu Chircu
I thought it would crash in `replicate_dialog_updated()` since you seemed to be using dialog replication, right? That's exactly why I couldn't replicate it at all! It turns out that the involved script wasn't making use of either `bin` listeners or the `clusterer` module at all, yet some

[OpenSIPS-Devel] [OpenSIPS/opensips] f09cd4: blacklists code: Improve coding style

2016-02-24 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f09cd4512a95b0a22a12566a72d8077c645d16fa https://github.com/OpenSIPS/opensips/commit/f09cd4512a95b0a22a12566a72d8077c645d16fa Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-24 (Wed,

[OpenSIPS-Devel] [OpenSIPS/opensips] b25c8a: SIP forking logic: Add extra NULL checks

2016-02-24 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: b25c8aa2b9a4cc1e11ba6bd7f30708a3f3f74d4c https://github.com/OpenSIPS/opensips/commit/b25c8aa2b9a4cc1e11ba6bd7f30708a3f3f74d4c Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-24 (Wed, 24 Fe

[OpenSIPS-Devel] [OpenSIPS/opensips] bedecc: Blacklisting logic: Fix async-related issues

2016-02-24 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: bedecc475b5194b24c9d538c2dc5929d4781ab6d https://github.com/OpenSIPS/opensips/commit/bedecc475b5194b24c9d538c2dc5929d4781ab6d Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-24 (Wed, 24 Fe

[OpenSIPS-Devel] [OpenSIPS/opensips] 2e7588: Blacklisting logic: Fix async-related issues

2016-02-24 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2e7588bb43547152d1a594c0ea40b416b1959233 https://github.com/OpenSIPS/opensips/commit/2e7588bb43547152d1a594c0ea40b416b1959233 Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-24 (Wed,

[OpenSIPS-Devel] [OpenSIPS/opensips] fb8b1f: SIP forking logic: Add extra NULL checks

2016-02-24 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fb8b1f20a016794917a37db4dee11c007412bafc https://github.com/OpenSIPS/opensips/commit/fb8b1f20a016794917a37db4dee11c007412bafc Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-24 (Wed,

[OpenSIPS-Devel] [OpenSIPS/opensips] 5e3f06: SIP forking logic: Add extra NULL checks

2016-02-24 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5e3f06800eb7a4d9367c1dce87f43ab8420bad5d https://github.com/OpenSIPS/opensips/commit/5e3f06800eb7a4d9367c1dce87f43ab8420bad5d Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-24 (Wed,

Re: [OpenSIPS-Devel] [opensips] Fix the lagging behind of time_keeper process (#786)

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

Re: [OpenSIPS-Devel] [opensips] "time_keeper" process slowly lags behind (#745)

2016-02-24 Thread Liviu Chircu
Closed #745 via 29dd83bb020dded1b31566f2f844a1c8442b6b25. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/745#event-563837993___ Devel mailing list Devel@lists.opensips.org

[OpenSIPS-Devel] [OpenSIPS/opensips] 29dd83: Fix the lagging behind of time_keeper process

2016-02-24 Thread Liviu Chircu
Commit: 4b1ed7d0179954d4cd0aa784312b20c13563f70e https://github.com/OpenSIPS/opensips/commit/4b1ed7d0179954d4cd0aa784312b20c13563f70e Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-24 (Wed, 24 Feb 2016) Changed paths: M timer.c M timer.h Log Message: ---

[OpenSIPS-Devel] [OpenSIPS/opensips] 5718e2: destination sets: Add yet another NULL check

2016-02-24 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5718e24ea3c1d231365202c22893403dc58785bd https://github.com/OpenSIPS/opensips/commit/5718e24ea3c1d231365202c22893403dc58785bd Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-24 (Wed,

Re: [OpenSIPS-Devel] [opensips] opensips crash with NULL pointer exception (#806)

2016-02-24 Thread Liviu Chircu
Closed #806 via 5718e24ea3c1d231365202c22893403dc58785bd. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/806#event-564028750___ Devel mailing list Devel@lists.opensips.org

[OpenSIPS-Devel] [OpenSIPS/opensips] 1eeb44: destination sets: Add yet another NULL check

2016-02-24 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 1eeb44db7150ad8d71f20c66bbc0033751872d16 https://github.com/OpenSIPS/opensips/commit/1eeb44db7150ad8d71f20c66bbc0033751872d16 Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-24 (Wed, 24 Fe

[OpenSIPS-Devel] [OpenSIPS/opensips] d0418a: Improve logging for out of memory errors

2016-02-23 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d0418af32a50e85e2bce52483cd88b3fdc7f363d https://github.com/OpenSIPS/opensips/commit/d0418af32a50e85e2bce52483cd88b3fdc7f363d Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-23 (Tue,

[OpenSIPS-Devel] [OpenSIPS/opensips] 84be3a: mathops doc: fix typos

2016-02-29 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 84be3acaadba030d5bbb3cd97f588fe6c13cac37 https://github.com/OpenSIPS/opensips/commit/84be3acaadba030d5bbb3cd97f588fe6c13cac37 Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-29 (Mon,

Re: [OpenSIPS-Devel] [opensips] Switch math_eval to use tinyexpr and remove conversion to RPN (#812)

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

[OpenSIPS-Devel] [OpenSIPS/opensips] ba5da5: Switch math_eval to use tinyexpr and remove conver...

2016-02-29 Thread Liviu Chircu
athops/tinyexpr.h Log Message: --- Switch math_eval to use tinyexpr and remove conversion to RPN Commit: f3a1d2d364f3ea90661f32fed49e44518f5d5cd7 https://github.com/OpenSIPS/opensips/commit/f3a1d2d364f3ea90661f32fed49e44518f5d5cd7 Author: Liviu Chircu <li...@opensips.or

Re: [OpenSIPS-Devel] [opensips] Switch math_eval to use tinyexpr and remove conversion to RPN (#812)

2016-02-27 Thread Liviu Chircu
Looks great @rrb3942, this is a very useful addition! --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/812#issuecomment-189610028___ Devel mailing list Devel@lists.opensips.org

[OpenSIPS-Devel] [OpenSIPS/opensips] 12817d: SIP forking engine: Fix async-related issues

2016-02-23 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 12817d4707f1b9b072021c29096f3a8cf85b9bb8 https://github.com/OpenSIPS/opensips/commit/12817d4707f1b9b072021c29096f3a8cf85b9bb8 Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-23 (Tue, 23 Fe

[OpenSIPS-Devel] [OpenSIPS/opensips] a7b287: SIP forking engine: Fix async-related issues

2016-02-23 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a7b287f5f566b87017a5bc7b3e68ac2fdef5b024 https://github.com/OpenSIPS/opensips/commit/a7b287f5f566b87017a5bc7b3e68ac2fdef5b024 Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-23 (Tue,

[OpenSIPS-Devel] [OpenSIPS/opensips] 0962af: rest_client: Improve logging of TCP connect

2016-02-26 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0962af19ad5daee13fb024f3ede76c7028965e41 https://github.com/OpenSIPS/opensips/commit/0962af19ad5daee13fb024f3ede76c7028965e41 Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-26 (Fri,

[OpenSIPS-Devel] [OpenSIPS/opensips] fbb97b: Coverity PR: minor refactorings

2016-01-21 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: fbb97b8b22877a739961ab100941db61685ebe18 https://github.com/OpenSIPS/opensips/commit/fbb97b8b22877a739961ab100941db61685ebe18 Author: Liviu Chircu <li...@opensips.org> Date: 2016-01-21 (Thu, 21 Ja

[OpenSIPS-Devel] [OpenSIPS/opensips] 1fedee: Coverity PR: minor refactorings

2016-01-21 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1fedeee10d4064921ecf3dd2758128be7ad962d4 https://github.com/OpenSIPS/opensips/commit/1fedeee10d4064921ecf3dd2758128be7ad962d4 Author: Liviu Chircu <li...@opensips.org> Date: 2016-01-21 (Thu,

Re: [OpenSIPS-Devel] [opensips] Opensips 2.2 Crash (#761)

2016-01-26 Thread Liviu Chircu
I tried to reproduce the crash by setting `$DLG_timeout` on an initial INVITE, in a 2-node cluster, with dialog replication enabled. Seemed to work well, and I couldn't get it to crash, regardless of traffic volume. Two questions: * could you please provide a sample script, which causes the

Re: [OpenSIPS-Devel] [opensips] math_eval() does not handle negative numbers (#788)

2016-02-17 Thread Liviu Chircu
> What are you thoughts on using something like TinyExpr from > https://github.com/codeplea/tinyexpr ? I think it's more than a reasonable solution, especially since it's easy to use (1 file + 1 header). I only wrote our own quick parser because I didn't want to impose too many dependencies,

[OpenSIPS-Devel] [OpenSIPS/opensips] f84cc8: Improve qvalue parsing

2016-02-17 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: f84cc83c70242ce266714684811dc3e43cad12f3 https://github.com/OpenSIPS/opensips/commit/f84cc83c70242ce266714684811dc3e43cad12f3 Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-17 (Wed, 17 Fe

[OpenSIPS-Devel] [OpenSIPS/opensips] 84da83: Improve qvalue parsing

2016-02-17 Thread Liviu Chircu
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 84da83f8dce212b704f1011d8d9a011474440ecc https://github.com/OpenSIPS/opensips/commit/84da83f8dce212b704f1011d8d9a011474440ecc Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-17 (Wed, 17 Fe

Re: [OpenSIPS-Devel] [opensips] ASYNC_CHANGE_FD status + db engine async state parameter + db_virtual async (#715)

2016-02-17 Thread Liviu Chircu
> @@ -36,7 +36,8 @@ > * NOTE: all values in this enum must be negative > */ > enum async_ret_code { > - ASYNC_NO_IO = -5, > + ASYNC_NO_IO = -6, > + ASYNC_CHANGE_FD, I'd suggest moving `ASYNC_CHANGE_FD` two spots below, since it's still an async operation (but on a new DB

Re: [OpenSIPS-Devel] [opensips] ASYNC_CHANGE_FD status + db engine async state parameter + db_virtual async (#715)

2016-02-17 Thread Liviu Chircu
> + } else { > \ > + LM_DBG("flags2 = %i\n", > p->con_list[CURRCON(__ah)].flags); \ > + if ((--__ah->cons_rem) == 0) { > \ > +

Re: [OpenSIPS-Devel] [opensips] ASYNC_CHANGE_FD status + db engine async state parameter + db_virtual async (#715)

2016-02-17 Thread Liviu Chircu
> + CURRCON(__ah) = (CURRCON(__ah)+1)%p->size; > \ > + } > \ > + LM_DBG("curent_con = %i\n", CURRCON(__ah)); > \ > + } while

Re: [OpenSIPS-Devel] [opensips] ASYNC_CHANGE_FD status + db engine async state parameter + db_virtual async (#715)

2016-02-17 Thread Liviu Chircu
> @@ -512,3 +512,180 @@ int db_virtual_insert_update(const db_con_t* _h, const > db_key_t* _k, > { > db_generic_operation2(insert_update(handle->con, _k, _v, _n),1, 1, 1); > } > + > +#define CURRCON(__ah__) (__ah__->current_con) > + > +#define db_generic_async_operation(__h,__ah,

Re: [OpenSIPS-Devel] [opensips] ASYNC_CHANGE_FD status + db engine async state parameter + db_virtual async (#715)

2016-02-17 Thread Liviu Chircu
> @@ -62,5 +62,6 @@ struct hep_ip6hdr { > struct in6_addr hp6_dst;/* destination address */ > }; > #endif > +typedef void* sc_async_param_t; Yet nobody includes `sipcapture.h` anyway! --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] ASYNC_CHANGE_FD status + db engine async state parameter + db_virtual async (#715)

2016-02-17 Thread Liviu Chircu
> @@ -0,0 +1,258 @@ > +/* Original or fake, `async.c.orig` will have to go. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/715/files#r53200708___ Devel mailing list Devel@lists.opensips.org

Re: [OpenSIPS-Devel] [opensips] ASYNC_CHANGE_FD status + db engine async state parameter + db_virtual async (#715)

2016-02-17 Thread Liviu Chircu
> +{ > + handle_async_t* _ah; > +handle_con_t * _handle; > +handle_set_t * _p = (handle_set_t*)_h->tail; > + > + if (_s->len > 16384) { > + LM_ERR("query exceeds buffer size(16384)!\n"); > + return -1; > + } > + > + if

[OpenSIPS-Devel] [OpenSIPS/opensips] ff09d4: add ASYNC_CHANGE_FD status in reactor

2016-02-19 Thread Liviu Chircu
virtual Commit: 9cf7bec320d7bc8b35005aabab0b56b3d3e1c1a0 https://github.com/OpenSIPS/opensips/commit/9cf7bec320d7bc8b35005aabab0b56b3d3e1c1a0 Author: Liviu Chircu <li...@opensips.org> Date: 2016-02-19 (Fri, 19 Feb 2016) Changed paths: M async.h M db/db.h M modules/avpops/avpops_imp

Re: [OpenSIPS-Devel] [opensips] ASYNC_CHANGE_FD status + db engine async state parameter + db_virtual async (#715)

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

Re: [OpenSIPS-Devel] [opensips] math_eval() does not handle negative numbers (#788)

2016-03-15 Thread Liviu Chircu
Closed #788. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/788#event-590434098___ Devel mailing list Devel@lists.opensips.org

[OpenSIPS-Devel] [OpenSIPS/opensips] 15bf62: drouting api: Fix a double free bug

2016-03-29 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 15bf627ac8158302e918dbebdd84479303a5ff6f https://github.com/OpenSIPS/opensips/commit/15bf627ac8158302e918dbebdd84479303a5ff6f Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-29 (Tue, 29 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] 2380bb: drouting api: Fix a double free bug

2016-03-29 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2380bbdaeb0af4efdb293b42ee1ad09f40e3e67c https://github.com/OpenSIPS/opensips/commit/2380bbdaeb0af4efdb293b42ee1ad09f40e3e67c Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-29 (Tue,

[OpenSIPS-Devel] [OpenSIPS/opensips] b501df: cachedb_redis: Prevent crash when re-connect keeps...

2016-04-07 Thread Liviu Chircu
commit/0546c94f2a5fb9d9ad1a3dbe1ee05a5a57c8bb64 Author: Liviu Chircu <li...@opensips.org> Date: 2016-04-07 (Thu, 07 Apr 2016) Changed paths: M modules/cachedb_redis/cachedb_redis_dbase.c Log Message: --- Merge pull request #852 from khoegh/master cachedb_redis: Prevent crash when re-connect k

[OpenSIPS-Devel] [OpenSIPS/opensips] 731719: Fix a PKG leak in the SIP message processing stack

2016-04-07 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 731719a2b10283439e2f6a0ba15bb8c6c6ef189c https://github.com/OpenSIPS/opensips/commit/731719a2b10283439e2f6a0ba15bb8c6c6ef189c Author: Liviu Chircu <li...@opensips.org> Date: 2016-04-07 (Thu,

[OpenSIPS-Devel] [OpenSIPS/opensips] eb5c3d: Allow negative values for "memdump" and "memlog"

2016-04-07 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: eb5c3d4ba5ef5c3ff9f17c093ad76c1067cc87ac https://github.com/OpenSIPS/opensips/commit/eb5c3d4ba5ef5c3ff9f17c093ad76c1067cc87ac Author: Liviu Chircu <li...@opensips.org> Date: 2016-04-07 (Thu,

[OpenSIPS-Devel] [OpenSIPS/opensips] 988898: Suppress "no free TCP receiver" logging noise

2016-04-12 Thread Liviu Chircu
Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 9888984e2faa573700f36d373ea7c1d9dd4296a3 https://github.com/OpenSIPS/opensips/commit/9888984e2faa573700f36d373ea7c1d9dd4296a3 Author: Liviu Chircu <li...@opensips.org> Date: 2016-04-12 (Tue, 12 Ap

[OpenSIPS-Devel] [OpenSIPS/opensips] 142e7e: Suppress "no free TCP receiver" logging noise

2016-04-12 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 142e7e0121040aceb2f9c31c4d4a0e8d8b573cc6 https://github.com/OpenSIPS/opensips/commit/142e7e0121040aceb2f9c31c4d4a0e8d8b573cc6 Author: Liviu Chircu <li...@opensips.org> Date: 2016-04-12 (Tue,

Re: [OpenSIPS-Devel] [opensips] Make s.int also operate on floats/doubles by truncating them to an int (#836)

2016-03-22 Thread Liviu Chircu
First of all, thanks for the follow-up! Some quick feedback: * I completely agree that parsing a NULL / empty string should output 0, and not throw some weird errors (standard `strtol` behaviour). Furthermore, "errors" (or 0 values) are still detectable at script level, should the writer

Re: [OpenSIPS-Devel] [opensips] Make s.int also operate on floats/doubles by truncating them to an int (#836)

2016-03-22 Thread Liviu Chircu
> + if(val->rs.len == 0) { > + val->ri = 0; > + //Try converting to INT > + } else if(str2sint(>rs, >ri)!=0) { > + //Try converting to Double

[OpenSIPS-Devel] [OpenSIPS/opensips] ad27b4: Improve logging when using "memlog"

2016-03-24 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ad27b4bd7a8154dc0c29f7ffe41a8658aa89a811 https://github.com/OpenSIPS/opensips/commit/ad27b4bd7a8154dc0c29f7ffe41a8658aa89a811 Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-24 (Thu,

[OpenSIPS-Devel] [OpenSIPS/opensips] 29aa72: clusterer: Various coding style improvements

2016-03-25 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 29aa72f62ccb837c4f960e57aae08283db394935 https://github.com/OpenSIPS/opensips/commit/29aa72f62ccb837c4f960e57aae08283db394935 Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-25 (Fri,

Re: [OpenSIPS-Devel] [opensips] cancel_accounting function for acc (#841)

2016-03-25 Thread Liviu Chircu
I would suggest renaming it to `drop_accounting` just to avoid any collisions/confusions related to the SIP CANCEL method. To us it may seem obvious, to others it may not - less ambiguity is always better. --- You are receiving this because you are subscribed to this thread. Reply to this email

Re: [OpenSIPS-Devel] [opensips] drop_accounting function for acc (#841)

2016-03-25 Thread Liviu Chircu
> @@ -1057,6 +1056,96 @@ modparam("acc", "acc_created_avp_name", > "call_created_avp") > > > > + You left out this little thingie! --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[OpenSIPS-Devel] [OpenSIPS/opensips] d148ca: sql_cacher: Add module dependencies

2016-03-25 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d148ca21b7467bd3edecb6daa7cd30896f2c1b89 https://github.com/OpenSIPS/opensips/commit/d148ca21b7467bd3edecb6daa7cd30896f2c1b89 Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-25 (Fri,

[OpenSIPS-Devel] [NEW] Easily cache your SQL data into any OpenSIPS NoSQL module!

2016-03-25 Thread Liviu Chircu
ly instruct them to test out this wonderful addition by Vlad-Robert Pătrașcu! All the best, OpenSIPS team [1]: http://www.opensips.org/html/docs/modules/2.2.x/sql_cacher.html [2]: http://lists.opensips.org/pipermail/users/2016-February/033875.html -- Liviu Chircu OpenSIPS

Re: [OpenSIPS-Devel] [opensips] async() crashes in local_route (#820)

2016-03-21 Thread Liviu Chircu
Closed #820. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/820#event-597050296___ Devel mailing list Devel@lists.opensips.org

Re: [OpenSIPS-Devel] [opensips] async() crashes in local_route (#820)

2016-03-21 Thread Liviu Chircu
Works as expected --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/820#issuecomment-199254537___ Devel mailing list

[OpenSIPS-Devel] [opensips] DBG_MALLOC should disable compiler optimizations (#838)

2016-03-23 Thread Liviu Chircu
It makes no sense to run with `DBG_MALLOC` in order to troubleshoot a crash, while enabling compiler optimizations (`-O9`) just to make your life harder. In this case, OpenSIPS should be compiled with `-O0`. --- You are receiving this because you are subscribed to this thread. Reply to this

Re: [OpenSIPS-Devel] Weird issue: Presence server fails whenever log level is other than DEBUG.

2016-03-23 Thread Liviu Chircu
LM_DBG" logs are your best friends. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 23.03.2016 07:55, surya wrote: I am modifying the source of presence for long time but never encountered this type of error. From last few days whenever I set log level to anything othe

Re: [OpenSIPS-Devel] [opensips] Make s.int also operate on floats/doubles by truncating them to an int (#836)

2016-03-23 Thread Liviu Chircu
Well, with your initial patch, it would return `0`, while hiding the error. I consider this to be the correct approach from a scripting perspective, especially since transformation errors are quite cumbersome. Input errors can be caught beforehand, if needed, through the use of the regex

[OpenSIPS-Devel] [OpenSIPS/opensips] c2a076: F_MALLOC: Allow free(NULL) when debugging memory

2016-03-24 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c2a07672bf6ec36ad6e093a5f3fb0eaaa2d2b346 https://github.com/OpenSIPS/opensips/commit/c2a07672bf6ec36ad6e093a5f3fb0eaaa2d2b346 Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-24 (Thu,

[OpenSIPS-Devel] [OpenSIPS/opensips] 278730: Improve robustness of core URI copying functions

2016-03-24 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2787308f68e6ee878dcf710cd7b36992af62aab9 https://github.com/OpenSIPS/opensips/commit/2787308f68e6ee878dcf710cd7b36992af62aab9 Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-24 (Thu,

[OpenSIPS-Devel] [OpenSIPS/opensips] f1f67d: Improve robustness of core URI copying functions

2016-03-24 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: f1f67d99d3cac828e270c69ca5295c2d89fe13be https://github.com/OpenSIPS/opensips/commit/f1f67d99d3cac828e270c69ca5295c2d89fe13be Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-24 (Thu, 24 Ma

Re: [OpenSIPS-Devel] Weird issue: Presence server fails whenever log level is other than DEBUG.

2016-03-23 Thread Liviu Chircu
Unfortunately, we do not support 1.8 anymore. 1.11 includes so many fixes and improvements, you really should consider an update! Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 23.03.2016 18:17, surya wrote: Hi Liviu, Thanks for responding. I should have mentioned

[OpenSIPS-Devel] [OpenSIPS/opensips] e403a2: dialog: Lower log level of state change errors

2016-03-08 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e403a2bc150b7f9c79a011f4acbcf68e4ce9f77d https://github.com/OpenSIPS/opensips/commit/e403a2bc150b7f9c79a011f4acbcf68e4ce9f77d Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-08 (Tue,

[OpenSIPS-Devel] [OpenSIPS/opensips] e2bdb3: dialog: Lower log level of state change errors

2016-03-08 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: e2bdb303e0e14abd26fb3cfd462cb1d3b5985796 https://github.com/OpenSIPS/opensips/commit/e2bdb303e0e14abd26fb3cfd462cb1d3b5985796 Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-08 (Tue, 08 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] 2555c5: Allow setting branch flags when no branches are ye...

2016-03-04 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 2555c5e2fefe50dc8d61b5d488113330a601060c https://github.com/OpenSIPS/opensips/commit/2555c5e2fefe50dc8d61b5d488113330a601060c Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-04 (Fri, 04 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] 6d1704: Allow setting branch flags when no branches are ye...

2016-03-03 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6d1704c6c936921c504c8261ef5de1d710ed3d22 https://github.com/OpenSIPS/opensips/commit/6d1704c6c936921c504c8261ef5de1d710ed3d22 Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-03 (Thu,

[OpenSIPS-Devel] [OpenSIPS/opensips] c23428: Completely remove script flags

2016-03-07 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c234282fc0cdc6cb7b418086c3ab1bad4ea4e1c4 https://github.com/OpenSIPS/opensips/commit/c234282fc0cdc6cb7b418086c3ab1bad4ea4e1c4 Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-07 (Mon,

[OpenSIPS-Devel] [OpenSIPS/opensips] 60d4d4: tm: Refactor some hardcoded static string lengths

2016-03-04 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 60d4d4bc1edc493aaedcee40976347d3fbe9094e https://github.com/OpenSIPS/opensips/commit/60d4d4bc1edc493aaedcee40976347d3fbe9094e Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-04 (Fri,

[OpenSIPS-Devel] [OpenSIPS/opensips] 6d126a: tm: Refactor some hardcoded static string lengths

2016-03-04 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 6d126a1564742c7cd58bd286cbf587c1fab96b45 https://github.com/OpenSIPS/opensips/commit/6d126a1564742c7cd58bd286cbf587c1fab96b45 Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-04 (Fri, 04 Ma

[OpenSIPS-Devel] [opensips] async() crashes in local_route (#820)

2016-03-04 Thread Liviu Chircu
Affected versions: OpenSIPS 2.X To reproduce, trigger the following local_route ``` local_route { async(avp_db_query(...), resume_route); } ``` with a locally generated message: `scripts/opensipsctl fifo t_uac_dlg MESSAGE sip:netcat@172.16.36.33:8889 . . "\"From:

[OpenSIPS-Devel] [opensips] async() crashes on end-to-end ACKs (#819)

2016-03-04 Thread Liviu Chircu
Present in all 2.X versions. To reproduce: simply throw in an `async()` call in the beginning of the request route: ``` route { async(avp_db_query(...)); ... ``` --- Reply to this email directly or view it on GitHub:

[OpenSIPS-Devel] [OpenSIPS/opensips] 8d0472: TLS: Fix misleading error logs on accept() failure...

2016-03-30 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8d047217f01743201a8979403f285beb51664b06 https://github.com/OpenSIPS/opensips/commit/8d047217f01743201a8979403f285beb51664b06 Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-30 (Wed,

[OpenSIPS-Devel] [OpenSIPS/opensips] e92573: TLS: Fix misleading error logs on accept() failure...

2016-03-30 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: e925732a9ad9511607206a367313d4eb64516ecd https://github.com/OpenSIPS/opensips/commit/e925732a9ad9511607206a367313d4eb64516ecd Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-30 (Wed, 30 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] d93265: Various doc improvements

2016-03-31 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d9326522ae9c3dc39b8163d07495dc013217ab80 https://github.com/OpenSIPS/opensips/commit/d9326522ae9c3dc39b8163d07495dc013217ab80 Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-31 (Thu,

[OpenSIPS-Devel] [OpenSIPS/opensips] 2c8410: Various doc improvements

2016-03-31 Thread Liviu Chircu
Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 2c841089013c5d3154caccfe7e41c21874f3d1ab https://github.com/OpenSIPS/opensips/commit/2c841089013c5d3154caccfe7e41c21874f3d1ab Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-31 (Thu, 31 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] 32d0e1: Improve the AUTHORS file

2016-03-31 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 32d0e1a4fa500e7693828b3f98392d0502b8b0da https://github.com/OpenSIPS/opensips/commit/32d0e1a4fa500e7693828b3f98392d0502b8b0da Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-31 (Thu,

[OpenSIPS-Devel] [OpenSIPS/opensips] 7ac6bf: Update opensipsdbctl for 2.2

2016-03-31 Thread Liviu Chircu
Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 7ac6bfc1da0cb3dd2548701792be7789cd1411e5 https://github.com/OpenSIPS/opensips/commit/7ac6bfc1da0cb3dd2548701792be7789cd1411e5 Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-31 (Thu, 31 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] 9b37e7: Make the s.int transformation more permissive

2016-03-28 Thread Liviu Chircu
nsips/commit/2e061b95a394504c31e2de7766e48613a073938c Author: Liviu Chircu <li...@opensips.org> Date: 2016-03-28 (Mon, 28 Mar 2016) Changed paths: M transformations.c M ut.h Log Message: --- Merge pull request #842 from rrb3942/relaxed_s_int2 Make the s.int transformation more permissive Compare:

[OpenSIPS-Devel] [OpenSIPS/opensips] f1719a: memory hash summary: Fix a rare memory leak

2016-04-27 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f1719acf009c029824697d88d6fa64a150b00b99 https://github.com/OpenSIPS/opensips/commit/f1719acf009c029824697d88d6fa64a150b00b99 Author: Liviu Chircu <li...@opensips.org> Date: 2016-04-27 (Wed,

[OpenSIPS-Devel] [OpenSIPS/opensips] 3d91ab: Fix a string concatenation operator bug

2016-05-20 Thread Liviu Chircu
Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 3d91ab153fc545bf72a64389c7093f219d21de34 https://github.com/OpenSIPS/opensips/commit/3d91ab153fc545bf72a64389c7093f219d21de34 Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-20 (Fri, 20 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] a42075: Fix a string concatenation operator bug

2016-05-20 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a420752f436a1f952c255df8d5dbe9ea59b0d653 https://github.com/OpenSIPS/opensips/commit/a420752f436a1f952c255df8d5dbe9ea59b0d653 Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-20 (Fri,

[OpenSIPS-Devel] [OpenSIPS/opensips] bab109: Fix a string concatenation operator bug

2016-05-20 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: bab109f633b000dfc786d88adc1208a90d92c54e https://github.com/OpenSIPS/opensips/commit/bab109f633b000dfc786d88adc1208a90d92c54e Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-20 (Fri, 20 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] 785e9e: Fix a string concatenation operator bug

2016-05-20 Thread Liviu Chircu
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 785e9e8af21d11423c54bca0be94f0f120614f87 https://github.com/OpenSIPS/opensips/commit/785e9e8af21d11423c54bca0be94f0f120614f87 Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-20 (Fri, 20 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] 9bccee: event_route: Fix compilation warning

2016-05-19 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9bccee1d8946f4582cbc6498dacdfdc5167983fe https://github.com/OpenSIPS/opensips/commit/9bccee1d8946f4582cbc6498dacdfdc5167983fe Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-19 (Thu,

[OpenSIPS-Devel] [OpenSIPS/opensips] d188b1: Revert "Accept TCP aliases by default"

2016-05-24 Thread Liviu Chircu
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: d188b1418068cb48884075ccb853cc06e9f7d875 https://github.com/OpenSIPS/opensips/commit/d188b1418068cb48884075ccb853cc06e9f7d875 Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-24 (Tue, 24 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] 3279be: b2b_entities: Fix memory corruption due to module ...

2016-05-24 Thread Liviu Chircu
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 3279be7f5aaee1fa6392ff9e9f4795617e091f54 https://github.com/OpenSIPS/opensips/commit/3279be7f5aaee1fa6392ff9e9f4795617e091f54 Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-24 (Tue, 24 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] 715339: Revert "Accept TCP aliases by default"

2016-05-24 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 715339fdd25bc74797e6f978d164eb0c4d5669ce https://github.com/OpenSIPS/opensips/commit/715339fdd25bc74797e6f978d164eb0c4d5669ce Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-24 (Tue,

[OpenSIPS-Devel] [OpenSIPS/opensips] bc996b: Revert "Accept TCP aliases by default"

2016-05-24 Thread Liviu Chircu
Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: bc996b4d60be5361274f7b598a0804c162d7611b https://github.com/OpenSIPS/opensips/commit/bc996b4d60be5361274f7b598a0804c162d7611b Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-24 (Tue, 24 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] dfda90: TCP alias lookup: Add matching by transport

2016-05-24 Thread Liviu Chircu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: dfda90a2d70deea13142a27d7234135babf3aaff https://github.com/OpenSIPS/opensips/commit/dfda90a2d70deea13142a27d7234135babf3aaff Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-24 (Tue, 24 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] bc5f65: TCP alias lookup: Add matching by transport

2016-05-24 Thread Liviu Chircu
Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: bc5f6515ceaebeebf0662538bdde503081f6702d https://github.com/OpenSIPS/opensips/commit/bc5f6515ceaebeebf0662538bdde503081f6702d Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-24 (Tue, 24 Ma

[OpenSIPS-Devel] [OpenSIPS/opensips] ea699f: TCP alias lookup: Add matching by transport

2016-05-24 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ea699f0116a28cd03a0d1ff50da3fc6045ac3da5 https://github.com/OpenSIPS/opensips/commit/ea699f0116a28cd03a0d1ff50da3fc6045ac3da5 Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-24 (Tue,

[OpenSIPS-Devel] [OpenSIPS/opensips] 1a9361: TCP connection lookup: Add matching by transport

2016-05-24 Thread Liviu Chircu
Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 1a9361352fa7a1725b4ba9813f8be2b35febc516 https://github.com/OpenSIPS/opensips/commit/1a9361352fa7a1725b4ba9813f8be2b35febc516 Author: Liviu Chircu <li...@opensips.org> Date: 2016-05-24 (Tue, 24 Ma

<    3   4   5   6   7   8   9   10   11   12   >