[OpenSIPS-Devel] [OpenSIPS/opensips] 84b4e7: partition support for permission module

2015-05-29 Thread ionutrazvanionita
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 84b4e7ea35b584c3f29f56db3e2bd152a8ee6bdc https://github.com/OpenSIPS/opensips/commit/84b4e7ea35b584c3f29f56db3e2bd152a8ee6bdc Author: ionutrazvanionita ionution...@opensips.org Date: 2015-05-29 (Fri,

Re: [OpenSIPS-Devel] [opensips] Permission module partition support (#501)

2015-05-29 Thread Ionut Ionita
https://github.com/OpenSIPS/opensips/commit/84b4e7ea35b584c3f29f56db3e2bd152a8ee6bdc . This commit provides partition support for permissions module. Any kind of feedback would be appreciated! --- Reply to this email directly or view it on GitHub:

[OpenSIPS-Devel] [OpenSIPS/opensips] 59d0f3: Fix debug log.

2015-05-29 Thread Bogdan-Andrei Iancu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 59d0f336083f262c36cac522117addf989c87f99 https://github.com/OpenSIPS/opensips/commit/59d0f336083f262c36cac522117addf989c87f99 Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-05-29 (Fri, 29 May

[OpenSIPS-Devel] [OpenSIPS/opensips] 1713bb: Fix debug log.

2015-05-29 Thread Bogdan-Andrei Iancu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1713bb2c14269cc0fca33c6187d1230692c2a290 https://github.com/OpenSIPS/opensips/commit/1713bb2c14269cc0fca33c6187d1230692c2a290 Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-05-29 (Fri, 29

[OpenSIPS-Devel] [OpenSIPS/opensips] 57938c: vim syntax: proper matching for route statements

2015-05-29 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 57938c0914bd3c41308897fc4f85befa62e14f8e https://github.com/OpenSIPS/opensips/commit/57938c0914bd3c41308897fc4f85befa62e14f8e Author: Liviu Chircu li...@opensips.org Date: 2015-05-29 (Fri, 29 May

[OpenSIPS-Devel] [opensips] {s.fill.right} transformation with ' ' uses 100% CPU (#531)

2015-05-29 Thread Liviu Chircu
Following construct causes an infinite loop: startup_route { $var(foo) = foo; xlog($(var(foo){s.fill.right, ,7})\n); ... --- Reply to this email directly or view it on GitHub:

[OpenSIPS-Devel] [OpenSIPS/opensips] bcf852: vim syntax: Add full support for OpenSIPS variable...

2015-05-29 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bcf8524cded3f05013dc7fcabc8fea38a9766873 https://github.com/OpenSIPS/opensips/commit/bcf8524cded3f05013dc7fcabc8fea38a9766873 Author: Liviu Chircu li...@opensips.org Date: 2015-05-30 (Sat, 30 May

[OpenSIPS-Devel] [opensips] check for invalid parameter passed to _tr_parse_sparam #531 (#532)

2015-05-29 Thread Jarrod Baumann
My solution to #531 caused by _tr_parse_sparam attempting to parse an empty argument. The 100% CPU is caused by an infinite loop in `static void trans_fill_right(pv_value_t *val, str pad, int len)` (transformations.c:129) since the while loop `while (len 0)` depends on pad.len being

[OpenSIPS-Devel] [opensips] verify pv_export_t parse_name function is set before calling (#533)

2015-05-29 Thread Jarrod Baumann
A quick solution for #529 to verify the function being called is populated so it doesn't segfault. ### gdb output bracktrace ``` Breakpoint 1, pv_parse_spec (in=in@entry=0x882e50 tstr, e=0x77425be0) at pvar.c:3720 3720s.len = p - s.s; (gdb) print pte $5 =

[OpenSIPS-Devel] [opensips] Crash with poorly given var (#529)

2015-05-29 Thread Liviu Chircu
Although core variables correctly handle this error, OpenSIPS will segfault when a module variable is given instead: startup_route { #works $(ru(foo)) = foo; #crashes $(DLG_dir(foo)) = 5; line 9: 5074 Segmentation fault (core dumped) ./opensips -m

[OpenSIPS-Devel] [opensips] update sqlite convert DB_DATETIME types to proper time values (#528)

2015-05-29 Thread Jarrod Baumann
props to @etamme for finding this bug that caused contacts not to be loaded when opensips is restarted because the expires location value was munged. You can view, comment on, or merge this pull request online at: https://github.com/OpenSIPS/opensips/pull/528 -- Commit Summary -- * update

[OpenSIPS-Devel] [opensips] add width string transformation (#530)

2015-05-29 Thread Jarrod Baumann
this adds a string transformation primarily used for making pretty logs. for example: ``` xlog(L_INFO,$var(prefix): $(cs{s.width,7}): $(rm{s.width,9}): request from uac behind nat\n); ``` i looked into use `$(cs{s.fill.right, , 7})` but it wasn't meant for that it seems. You can view,

[OpenSIPS-Devel] [OpenSIPS/opensips] 94e359: script parser: fix bad startup error message

2015-05-29 Thread Liviu Chircu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 94e359384087c791b25e030a08269f73962d024b https://github.com/OpenSIPS/opensips/commit/94e359384087c791b25e030a08269f73962d024b Author: Liviu Chircu li...@opensips.org Date: 2015-05-29 (Fri, 29 May