Re: [OpenSIPS-Devel] [opensips] $json assign operators (= and :=) (#583)

2015-08-10 Thread Bogdan Andrei IANCU
@liviuchircu , the '=' operator is used to write a field into the json object, while the ':=' operator is used to instantiate the whole json object from a string representation. --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] error in infinite loop io_watch_del: BUG - trying to del fd 34 with flags 2 1 (#591)

2015-08-10 Thread rgupta0110
Hi Bogdan, I will generate the core file and upload the logs and core soon. Meanwhile, I have put the following fix which seems working and I haven't experienced any issues so far. Could you please review it and let me know if there is any potential problem Added the following condition in

[OpenSIPS-Devel] [OpenSIPS/opensips] 461cd3: Simple text aligment to fit 80 chars wide.

2015-08-10 Thread Bogdan-Andrei Iancu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 461cd33f8791da033c695bab1ffb8dc0cb34816e https://github.com/OpenSIPS/opensips/commit/461cd33f8791da033c695bab1ffb8dc0cb34816e Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-08-10 (Mon, 10

Re: [OpenSIPS-Devel] [opensips] error in infinite loop io_watch_del: BUG - trying to del fd 34 with flags 2 1 (#591)

2015-08-10 Thread Bogdan Andrei IANCU
@rgupta0110 , that may be a simplistic way of fixing the effect, but without understanding the cause. As I mentioned, in my tests I get a completely different behavior, so fixing the effects may not bit a generic solution. Please let me know about the ERROR logs that I asked you to enable and

Re: [OpenSIPS-Devel] [opensips] ds_select_dst may put probing destinations in the failover list (#564)

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

[OpenSIPS-Devel] [OpenSIPS/opensips] db92bf: Proper test on active destinatins for failover.

2015-08-10 Thread Bogdan-Andrei Iancu
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: db92bfbf23158a13eca1c216f6a88e4365078008 https://github.com/OpenSIPS/opensips/commit/db92bfbf23158a13eca1c216f6a88e4365078008 Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-08-10 (Mon, 10

[OpenSIPS-Devel] [OpenSIPS/opensips] 3634b8: Proper test on active destinatins for failover.

2015-08-10 Thread Bogdan-Andrei Iancu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 3634b86c7d0ce5b7ba4dfc1042cc476cdc3614d3 https://github.com/OpenSIPS/opensips/commit/3634b86c7d0ce5b7ba4dfc1042cc476cdc3614d3 Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-08-10 (Mon, 10 Aug

Re: [OpenSIPS-Devel] [opensips] crash issue in tcpconn_add_alias (2.1) (#589)

2015-08-10 Thread Bogdan Andrei IANCU
@dbeskoek , I sent you on last Friday, by email, a patch to be tested. Any luck with that ? --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/589#issuecomment-129476611___ Devel mailing list

Re: [OpenSIPS-Devel] [opensips] Fix mi_xmlrpc_ng answer formatting, add version field in bin protocol, provide extended information for usrloc events (#590)

2015-08-10 Thread Bogdan Andrei IANCU
Closed as this this PR needs to be split in 3 parts. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/590#issuecomment-129475961___ Devel mailing list Devel@lists.opensips.org

[OpenSIPS-Devel] [opensips] Add version field in the header of bin protocol (#595)

2015-08-10 Thread ionel-cerghit
Avoids compatibility problems between different versions of opensips You can view, comment on, or merge this pull request online at: https://github.com/OpenSIPS/opensips/pull/595 -- Commit Summary -- * Added version field in the header of bin protocol, to avoid compatibility problems --

Re: [OpenSIPS-Devel] [opensips] crash issue in tcpconn_add_alias (2.1) (#589)

2015-08-10 Thread dbeskoek
sorry, for the delay. I did several tests with the patch, all of them were fine, no crash appears. I reverted to GIT-version and the crash occurs again. Patch is working :-) --- Reply to this email directly or view it on GitHub:

[OpenSIPS-Devel] [OpenSIPS/opensips] 87bd7a: Added version field in the header of bin protocol, ...

2015-08-10 Thread Bogdan Andrei IANCU
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 87bd7a967598e1dbd7c10515939e5b0fb7a45436 https://github.com/OpenSIPS/opensips/commit/87bd7a967598e1dbd7c10515939e5b0fb7a45436 Author: Cerghit Ionel ionel.cerg...@gmail.com Date: 2015-08-10 (Mon, 10

Re: [OpenSIPS-Devel] [opensips] Add version field in the header of bin protocol (#595)

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

[OpenSIPS-Devel] [OpenSIPS/opensips] 22f4c1: Fix race condition - the log must be under lock

2015-08-10 Thread Bogdan-Andrei Iancu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 22f4c1a2e05b5f3d8d3c7ba06ec30c21d75bc4de https://github.com/OpenSIPS/opensips/commit/22f4c1a2e05b5f3d8d3c7ba06ec30c21d75bc4de Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-08-10 (Mon, 10 Aug

Re: [OpenSIPS-Devel] [opensips] usrloc events (#571)

2015-08-10 Thread Bogdan Andrei IANCU
Hi @hydrosine , this is a bit inconsistent as : - the existing USRLOC events are AOR related (when an AOR is inserted or removed from memory) - the extension you asked for is targeting contact information. As you see, we are mixing apples with pears. While an AOR is inserted when the first

Re: [OpenSIPS-Devel] [opensips] crash issue in tcpconn_add_alias (2.1) (#589)

2015-08-10 Thread Bogdan Andrei IANCU
Great @dbeskoek , especially that the faulty line was the log line itself, not the useful code. I will commit and backport asap Thanks and regards, Bogdan --- Reply to this email directly or view it on GitHub:

[OpenSIPS-Devel] [OpenSIPS/opensips] 4ab975: Proper test on active destinatins for failover.

2015-08-10 Thread Bogdan-Andrei Iancu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 4ab975e74238d88304524b81bc80bd720321866a https://github.com/OpenSIPS/opensips/commit/4ab975e74238d88304524b81bc80bd720321866a Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-08-10 (Mon, 10

Re: [OpenSIPS-Devel] [opensips] ds_select_dst may put probing destinations in the failover list (#564)

2015-08-10 Thread Bogdan Andrei IANCU
Hi @gergelypeli , Indeed, only the INACTIVE flags was set, not the PROBING too. I make the necessary fixes in trunk, 2.1 and 1.11 branches. Thanks and regards, Bogdan --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] Usrloc fails to fetch contacts (#566)

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

[OpenSIPS-Devel] [OpenSIPS/opensips] 0e1fab: Fix use_domain, escaping, cases in remove()

2015-08-10 Thread Bogdan-Andrei Iancu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0e1fabbc71c6c315b1f00d3ea58d1796054f2590 https://github.com/OpenSIPS/opensips/commit/0e1fabbc71c6c315b1f00d3ea58d1796054f2590 Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-08-10 (Mon, 10

[OpenSIPS-Devel] [OpenSIPS/opensips] 089284: Fix use_domain, escaping, cases in remove()

2015-08-10 Thread Bogdan-Andrei Iancu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 089284be6187d1fcd5c77ff8492bc50dce8d593c https://github.com/OpenSIPS/opensips/commit/089284be6187d1fcd5c77ff8492bc50dce8d593c Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-08-10 (Mon, 10 Aug

Re: [OpenSIPS-Devel] [opensips] [registrar] remove() does not take into account use_domain (#557)

2015-08-10 Thread Bogdan Andrei IANCU
Closed #557 via 0e1fabbc71c6c315b1f00d3ea58d1796054f2590. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/557#event-378222314___ Devel mailing list Devel@lists.opensips.org

[OpenSIPS-Devel] [OpenSIPS/opensips] 719f29: Free double pointer.

2015-08-10 Thread Bogdan-Andrei Iancu
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: 719f298d5ad3300b790f64cfed40e797eeb23225 https://github.com/OpenSIPS/opensips/commit/719f298d5ad3300b790f64cfed40e797eeb23225 Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-08-10 (Mon, 10

[OpenSIPS-Devel] [OpenSIPS/opensips] f2f580: Free double pointer.

2015-08-10 Thread Bogdan-Andrei Iancu
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: f2f5808bfbe2733f98ea0066d1f457d9408056cc https://github.com/OpenSIPS/opensips/commit/f2f5808bfbe2733f98ea0066d1f457d9408056cc Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-08-10 (Mon, 10 Aug

[OpenSIPS-Devel] [OpenSIPS/opensips] 4b3944: Fix race condition - the log must be under lock

2015-08-10 Thread Bogdan-Andrei Iancu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 4b3944f49625f646ff51033313c28fe1cf425ba2 https://github.com/OpenSIPS/opensips/commit/4b3944f49625f646ff51033313c28fe1cf425ba2 Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-08-10 (Mon, 10

[OpenSIPS-Devel] [OpenSIPS/opensips] a0a6f7: Fix race condition - the log must be under lock

2015-08-10 Thread Bogdan-Andrei Iancu
Branch: refs/heads/1.11 Home: https://github.com/OpenSIPS/opensips Commit: a0a6f7a1782fe4fddda0af17ac7ca4ae9cf69665 https://github.com/OpenSIPS/opensips/commit/a0a6f7a1782fe4fddda0af17ac7ca4ae9cf69665 Author: Bogdan-Andrei Iancu bog...@opensips.org Date: 2015-08-10 (Mon, 10

Re: [OpenSIPS-Devel] [opensips] crash issue in tcpconn_add_alias (2.1) (#589)

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

[OpenSIPS-Devel] Opensips-CP Cant add new drouting rule

2015-08-10 Thread Trevor Steyn
Hi Devel team I noticed after setting up CP 6.1 i could not add a new drouting rule due to the page not allowing me to add a Group ID I found the following line in /web/tools/system/drouting/template/rules.add.php input type=text name=groupid id=groupid value=?=$groupid? maxlength=64

Re: [OpenSIPS-Devel] [opensips] Fix mi_xmlrpc_ng answer formatting, add version field in bin protocol, provide extended information for usrloc events (#590)

2015-08-10 Thread ionel-cerghit
Closed #590. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/590#event-377953826___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] error in infinite loop io_watch_del: BUG - trying to del fd 34 with flags 2 1 (#591)

2015-08-10 Thread Bogdan Andrei IANCU
@rgupta0110 , I did a lot of testing and research on this. Still I was not able to reproduce the the behavior you describe (at least not the last step). While I have the conn in SYN_SENT, if (A) conn is expired by opensips, it is simply removed or if (b) the kernel is timing it out (due low