[OpenSIPS-Devel] [OpenSIPS/opensips] be8d3a: deb packaging: add mi_html module

2019-03-22 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: be8d3a8f0e8c959630ae7b626497834e114925a2 https://github.com/OpenSIPS/opensips/commit/be8d3a8f0e8c959630ae7b626497834e114925a2 Author: Dan Pascu Date: 2019-03-22 (Fri, 22 Mar 2019) Changed paths

[OpenSIPS-Devel] New MI module names

2019-03-22 Thread Dan Pascu
I see that mi_http was renamed to mi_html and mi_json to mi_http. However the module parameters kept their old names, which makes that mi_html has mi_http_* parameters and mi_http has parameters named mi_json_* Is this intentional or is the module rename still work in progress? As it stands it

Re: [OpenSIPS-Devel] New MI module names

2019-03-22 Thread Dan Pascu
Another thing just occurred to me after I sent the message: I understand that mi_http was renamed to mi_html because it actually produces HTML output (over HTTP). Similarly, shouldn't mi_json have kept its name as it produces JSON (over HTTP)? On 22 Mar 2019, at 13:32, Dan Pascu

Re: [OpenSIPS-Devel] New MI module names

2019-03-22 Thread Dan Pascu
ce(which is now JSON-RPC) and do a translation. > > Regards, > > Vlad Patrascu > OpenSIPS Developer > http://www.opensips-solutions.com > > On 03/22/2019 01:58 PM, Dan Pascu wrote: >> Another thing just occurred to me after I sent the message: >> >> I

Re: [OpenSIPS-Devel] New MI module names

2019-03-23 Thread Dan Pascu
One thing that came to mind to help mitigate the need for changing everything when a module is renamed and also simplify the naming for module parameters is to remove the redundant module names prefixing each module parameter name. Right now they are like: loadmodule "mi_http" modparam("mi_htt

[OpenSIPS-Devel] Package dependencies

2019-03-29 Thread Dan Pascu
Since migrating to the json format for MI, opensipsctl now uses json_pp which is part of perl. This would need ${perl:Depends} to be added to Depends (or at least Recommends) for opensips in debian/control. Alternatively, since opensips already depends on python, json_pp can be replaced with:

Re: [OpenSIPS-Devel] Package dependencies

2019-03-29 Thread Dan Pascu
; better. > > Cheers, > Răzvan > > On 3/29/19 2:12 PM, Dan Pascu wrote: >> Since migrating to the json format for MI, opensipsctl now uses json_pp >> which is part of perl. This would need ${perl:Depends} to be added to >> Depends (or at least Recommends) for open

[OpenSIPS-Devel] [OpenSIPS/opensips] 0b90e0: Decode JSON with python for consistent ordering an...

2019-04-02 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0b90e000929656ef3749537eca911dfb19040ddd https://github.com/OpenSIPS/opensips/commit/0b90e000929656ef3749537eca911dfb19040ddd Author: Dan Pascu Date: 2019-04-02 (Tue, 02 Apr 2019) Changed paths

[OpenSIPS-Devel] Accounting enhancement proposal

2019-04-10 Thread Dan Pascu
I’d like to make a proposal to improve how we specify the extra fields for accounting. In the past, the process was fully automatic. There were module parameters for the acc module that specified which were the extra fields and where to take the values from them when accounting happened. Accou

Re: [OpenSIPS-Devel] Accounting enhancement proposal

2019-04-10 Thread Dan Pascu
On 10 Apr 2019, at 13:31, Liviu Chircu wrote: > Hi Dan, > > A very interesting proposal - too bad it arrived 4 days before the beta > release, so the discussion will likely have to wait until 3.1. Below are my > comments to some of your key ideas: > >> In the past, the process was fully aut

Re: [OpenSIPS-Devel] Accounting enhancement proposal

2019-04-11 Thread Dan Pascu
On 10 Apr 2019, at 15:57, Ben Newlin wrote: > We have employed 2 methods to decrease the pain of setting all of these > variables: > * For as many values as possible, we removed the script variable and use only > the acc_extra variable. It is a r/w variable after all. This means that for > the

Re: [OpenSIPS-Devel] Accounting enhancement proposal

2019-04-15 Thread Dan Pascu
On 12 Apr 2019, at 15:42, Ben Newlin wrote: > Dan, > > Yes and I was agreeing with your proposal! I know, but I do not think discussing workarounds for the current system helps with designing the enhancement. > However, I'm not convinced these are only workarounds, or that they should > not b

[OpenSIPS-Devel] Repository branches

2019-04-16 Thread Dan Pascu
I noticed that a 3.0 branch was already created. I believe it would make our lives easier if this branch is only created when 3.0 is actually released, otherwise every commit in master needs to be duplicated in 3.0. If you just want to prevent unexpected things ending up in 3.0, just institute

Re: [OpenSIPS-Devel] [OpenSIPS/opensips] 6a31b9: Rename reload_script to reload_routes

2019-04-16 Thread Dan Pascu
Do I understand correctly that if anything else than the routes changes in the configuration (script parameters, module parameters, loading new modules, enabling new transports, ...) I still need to restart opensips? On 16 Apr 2019, at 20:20, Bogdan Andrei IANCU wrote: > Branch: refs/heads/mas

Re: [OpenSIPS-Devel] [OpenSIPS/opensips] 6337f3: Bump version to 3.1

2019-04-16 Thread Dan Pascu
Any reason why these 2 distributions use version 3.1 instead of 3.0 like all the others? On 16 Apr 2019, at 21:15, Răzvan Crainea wrote: > Branch: refs/heads/master > Home: https://github.com/OpenSIPS/opensips > Commit: 6337f34b3ee4256f46b7dcbc8022b478c39385f5 > > https://github.com/O

[OpenSIPS-Devel] Changing module documentation

2019-04-16 Thread Dan Pascu
How does this work? I noticed there is a opensips-github bot that commits "Rebuild documentation" patches every now and then to update module READMEs. Is this process triggered periodically or does it just detect when xml documents changed and triggers only then? After I modify some module xml

[OpenSIPS-Devel] [OpenSIPS/opensips] 539ee1: Fixed signatures for system memory allocator funct...

2019-04-17 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 539ee1544679d14991a4407541db592f428d2b47 https://github.com/OpenSIPS/opensips/commit/539ee1544679d14991a4407541db592f428d2b47 Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 8a8e38: Fixed signatures for system memory allocator funct...

2019-04-17 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 8a8e384f4cb92d10d734b8bcc12712c1efc97cd5 https://github.com/OpenSIPS/opensips/commit/8a8e384f4cb92d10d734b8bcc12712c1efc97cd5 Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] dd6ec9: Removed commented out code

2019-04-17 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: dd6ec9e4f330d41b2501ca00037e71aec621076c https://github.com/OpenSIPS/opensips/commit/dd6ec9e4f330d41b2501ca00037e71aec621076c Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 16855c: Compacted structure

2019-04-17 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 16855cfd9c214d68348b71c94c0bd503979cfe02 https://github.com/OpenSIPS/opensips/commit/16855cfd9c214d68348b71c94c0bd503979cfe02 Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] b56989: Updated documentation with new function signatures

2019-04-17 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b569899ccad11f6b803ad117054dfcbb38d8d871 https://github.com/OpenSIPS/opensips/commit/b569899ccad11f6b803ad117054dfcbb38d8d871 Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] c4a942: Removed commented out code

2019-04-17 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: c4a9424a570bf327607a8762fddfb9d654468319 https://github.com/OpenSIPS/opensips/commit/c4a9424a570bf327607a8762fddfb9d654468319 Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 1d3b54: Removed opensips-console debian package from contr...

2019-04-17 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 1d3b54d292dd0e4e7986bb050f490a8d7634530d https://github.com/OpenSIPS/opensips/commit/1d3b54d292dd0e4e7986bb050f490a8d7634530d Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 8138d8: Removed opensips-console debian package from contr...

2019-04-17 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8138d8740cbf621505798a5e3ff3965a56c3d00a https://github.com/OpenSIPS/opensips/commit/8138d8740cbf621505798a5e3ff3965a56c3d00a Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 57f16c: Removed unnecessary line continuation

2019-04-17 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 57f16c969abe1a37dc73c9058e3bf0070e163815 https://github.com/OpenSIPS/opensips/commit/57f16c969abe1a37dc73c9058e3bf0070e163815 Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 45b7cf: Removed unnecessary line continuation

2019-04-17 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 45b7cf23e7ccbaa72627db61ccc491b68a552262 https://github.com/OpenSIPS/opensips/commit/45b7cf23e7ccbaa72627db61ccc491b68a552262 Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] eae85a: Debian priority Extra was replaced by Optional

2019-04-17 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: eae85a46dc80187305ee2c3e8a52138589cb6014 https://github.com/OpenSIPS/opensips/commit/eae85a46dc80187305ee2c3e8a52138589cb6014 Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] f9e2a4: Debian priority Extra was replaced by Optional

2019-04-17 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f9e2a42847ceb3b9548eb2f112760b0dd1889bde https://github.com/OpenSIPS/opensips/commit/f9e2a42847ceb3b9548eb2f112760b0dd1889bde Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 2ede3c: Compacted structure initialization

2019-04-17 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2ede3c099bcdb05b28ea932e3d590bca70c6d109 https://github.com/OpenSIPS/opensips/commit/2ede3c099bcdb05b28ea932e3d590bca70c6d109 Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 9d90c7: Compacted structure initialization

2019-04-17 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 9d90c75f1f24cb526f29fda79f4fe49040d581ff https://github.com/OpenSIPS/opensips/commit/9d90c75f1f24cb526f29fda79f4fe49040d581ff Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

Re: [OpenSIPS-Devel] Changing module documentation

2019-04-17 Thread Dan Pascu
1]: https://opensips.org/Documentation/Modules-3-0 > [2]: https://www.opensips.org/Documentation/Function-Index-3-0 > > Liviu Chircu > OpenSIPS Developer > http://www.opensips-solutions.com > > On 17.04.2019 09:41, Dan Pascu wrote: >> How does this work? I noticed there

[OpenSIPS-Devel] Compilation failure

2019-04-17 Thread Dan Pascu
If system malloc is used compiling of the drouting module fails with: In file included from routing.h:38, from dr_api.h:30, from dr_api_internal.h:30, from dr_api_internal.c:27: prefix_tree.h:176:2: error: unknown type name ‘osips_free_f’ osips

[OpenSIPS-Devel] [OpenSIPS/opensips] f2c9ed: Moved rabbitmq_consumer module to the opensips-rab...

2019-04-17 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f2c9ed67602a03022961474b1184a1ab2f51829f https://github.com/OpenSIPS/opensips/commit/f2c9ed67602a03022961474b1184a1ab2f51829f Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] b911c0: Moved rabbitmq_consumer module to the opensips-rab...

2019-04-17 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: b911c070c4beac167f320ef3800dece69ddd76ee https://github.com/OpenSIPS/opensips/commit/b911c070c4beac167f320ef3800dece69ddd76ee Author: Dan Pascu Date: 2019-04-17 (Wed, 17 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 4213fe: enum: Fixed function name

2019-04-18 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 4213fe263b2ebfdbb082e772eb1daf1d550df077 https://github.com/OpenSIPS/opensips/commit/4213fe263b2ebfdbb082e772eb1daf1d550df077 Author: Dan Pascu Date: 2019-04-18 (Thu, 18 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 3a6ad9: enum: Fixed function name

2019-04-18 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3a6ad9a08f225a05b28427df647fb618e98b354d https://github.com/OpenSIPS/opensips/commit/3a6ad9a08f225a05b28427df647fb618e98b354d Author: Dan Pascu Date: 2019-04-18 (Thu, 18 Apr 2019) Changed paths

Re: [OpenSIPS-Devel] Compilation failure

2019-04-18 Thread Dan Pascu
On 18 Apr 2019, at 12:46, Răzvan Crainea wrote: > Hi, Dan! > > You're right, this wasn't working fine. I've just pushed a fix for this on > both master and 3.0. Let us know if you have any other issues with this. It compiles now. Thanks. -- Dan ___

[OpenSIPS-Devel] Segmentation fault on startup

2019-04-18 Thread Dan Pascu
I'm attempting to check my config with opensips -c -f opensips.cfg and it crashes loading the tracer module (when it tries to query the table version - FYI mysql runs and I can access it with the opensips credentials and successfully query the table version from a mysql client): Apr 18 18:29:5

[OpenSIPS-Devel] [OpenSIPS/opensips] 24c5d8: Fixed segfault when updating stats in _stop_expire...

2019-04-18 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 24c5d82989fe77eba57f01f9fd2d84acc7223bac https://github.com/OpenSIPS/opensips/commit/24c5d82989fe77eba57f01f9fd2d84acc7223bac Author: Dan Pascu Date: 2019-04-18 (Thu, 18 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] b3cc53: Fixed segfault when updating stats in _stop_expire...

2019-04-18 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: b3cc53dffebbf8343516ea1daa2cdebe185c7852 https://github.com/OpenSIPS/opensips/commit/b3cc53dffebbf8343516ea1daa2cdebe185c7852 Author: Dan Pascu Date: 2019-04-18 (Thu, 18 Apr 2019) Changed paths

Re: [OpenSIPS-Devel] Segmentation fault on startup

2019-04-18 Thread Dan Pascu
Fixed this one, you can disregard it. On 18 Apr 2019, at 18:36, Dan Pascu wrote: > > I'm attempting to check my config with opensips -c -f opensips.cfg and it > crashes loading the tracer module (when it tries to query the table version - > FYI mysql runs and I can access it

[OpenSIPS-Devel] Error in script

2019-04-18 Thread Dan Pascu
I get this error reported in script: Apr 18 20:02:02 [21404] ERROR:acc:pv_parse_acc_extra_name: tag not declared in modparam section! Apr 18 20:02:02 [21404] ERROR:core:pv_parse_spec: pvar "acc_extra" has an invalid name param [username] Apr 18 20:02:02 [21404] ERROR:core:pv_parse_spec: wrong

Re: [OpenSIPS-Devel] Error in script

2019-04-19 Thread Dan Pascu
asserted_identity -> Sip-RPid; billing_party -> Billing-Party") route { $acc_extra(username) := $Au; $acc_extra(asserted_identity) := $avp(asserted_identity); $acc_extra(billing_party) := $avp(billing_party); } --------

[OpenSIPS-Devel] [OpenSIPS/opensips] bacc49: Fixed some typos

2019-04-19 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: bacc495638c2555be0f1aae5e9ed99ad19b23fab https://github.com/OpenSIPS/opensips/commit/bacc495638c2555be0f1aae5e9ed99ad19b23fab Author: Dan Pascu Date: 2019-04-19 (Fri, 19 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 673748: Fixed some typos

2019-04-19 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 67374892acbccc79758f22499e9ce32c68d7b258 https://github.com/OpenSIPS/opensips/commit/67374892acbccc79758f22499e9ce32c68d7b258 Author: Dan Pascu Date: 2019-04-19 (Fri, 19 Apr 2019) Changed paths

[OpenSIPS-Devel] Spelling

2019-04-19 Thread Dan Pascu
I found this statement in the enum module documentation containing a typo: The ITAD is left intact and not refersed as ENUM requires. but I have no idea what refersed stands for (reversed, replaced, referred)? so I could not fix it. -- Dan ___ D

Re: [OpenSIPS-Devel] Error in script

2019-04-21 Thread Dan Pascu
Seems fine now. Thanks. On 20 Apr 2019, at 11:35, Liviu Chircu wrote: > Should be fixed now -- do let me know if those pesky tokens cause any more > trouble :) > > Liviu Chircu > OpenSIPS Developer > http://www.opensips-solutions.com > > On 19.04.2019 11:49, Liviu Chircu wrote: >> Indeed, this

[OpenSIPS-Devel] ENUM module and optional partameters

2019-04-22 Thread Dan Pascu
After the refactoring of the enum module the signatures of the functions are inconsistent. enum_query([number], [suffix], [service]) i_enum_query([suffix], [service]) isn_query([suffix], [service]) It would make sense to allow all of them to accept the same arguments. On a different note, rega

[OpenSIPS-Devel] Module name in parameter names

2019-04-22 Thread Dan Pascu
I also found that the topology hiding module does this (every module parameter is prefixed with th_). I think a global review of all modules should be done, as these module name prefixes in parameter names only increase the verboseness of the script and have no benefit. -- Dan ___

[OpenSIPS-Devel] [OpenSIPS/opensips] c37677: Changed log message from info to debug

2019-04-22 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: c37677756efc77b95b2fb5b893dfb3012c908633 https://github.com/OpenSIPS/opensips/commit/c37677756efc77b95b2fb5b893dfb3012c908633 Author: Dan Pascu Date: 2019-04-22 (Mon, 22 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] b35cf3: Changed log message from info to debug

2019-04-22 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b35cf35859efdab4bd6a542c919b3512f9f0944a https://github.com/OpenSIPS/opensips/commit/b35cf35859efdab4bd6a542c919b3512f9f0944a Author: Dan Pascu Date: 2019-04-22 (Mon, 22 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 09edd1: enum: Reworded description in documentation

2019-04-22 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 09edd15c9754757915132e4905dbd56f069f64ba https://github.com/OpenSIPS/opensips/commit/09edd15c9754757915132e4905dbd56f069f64ba Author: Dan Pascu Date: 2019-04-22 (Mon, 22 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 1d408c: enum: Reworded description in documentation

2019-04-22 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 1d408c970c6c9b56ab2d38f7ee0a7489f9a77a23 https://github.com/OpenSIPS/opensips/commit/1d408c970c6c9b56ab2d38f7ee0a7489f9a77a23 Author: Dan Pascu Date: 2019-04-22 (Mon, 22 Apr 2019) Changed paths

Re: [OpenSIPS-Devel] ENUM module and optional partameters

2019-04-22 Thread Dan Pascu
Thank you. On 22 Apr 2019, at 10:54, Liviu Chircu wrote: > Sounds like an excellent suggestion to me -- I'll go ahead and move "number" > last. > > Liviu Chircu > OpenSIPS Developer > http://www.opensips-solutions.com > > On 22.04.2019 10:05, Dan Pascu

[OpenSIPS-Devel] Autoscaling syntax error

2019-04-25 Thread Dan Pascu
If I try to define udp_workers with autoscaling I get a syntax error. It works fine for tcp_workers though: Apr 25 18:28:24 [24311] Traceback (last included file at the bottom): Apr 25 18:28:24 [24311] 0. o.cfg Apr 25 18:28:24 [24311] CRITICAL:core:yyerror: parse error in o.cfg:33:16-42: synta

Re: [OpenSIPS-Devel] Autoscaling syntax error

2019-04-25 Thread Dan Pascu
and listen only accepts it for udp? > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 04/25/2019 06:31 PM, Dan Pas

[OpenSIPS-Devel] [OpenSIPS/opensips] 80ce8f: Fixed typos

2019-04-30 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 80ce8f9888a243266073ae11ffaeeb984aca4d4c https://github.com/OpenSIPS/opensips/commit/80ce8f9888a243266073ae11ffaeeb984aca4d4c Author: Dan Pascu Date: 2019-04-30 (Tue, 30 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 52e51c: Fixed typos

2019-04-30 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 52e51c548801eca41fad87c5f528a55a2ac2d0bf https://github.com/OpenSIPS/opensips/commit/52e51c548801eca41fad87c5f528a55a2ac2d0bf Author: Dan Pascu Date: 2019-04-30 (Tue, 30 Apr 2019) Changed paths

Re: [OpenSIPS-Devel] Autoscaling syntax error

2019-04-30 Thread Dan Pascu
ed to do this are not trivial and seem to require a major refactoring of the code so I left them out for now. Maybe in a future update someone more knowledgeable could reorganize the code to achieve this and also allow defining a scaling profile with tcp listeners. > > On 04/25/2019 08:31 P

[OpenSIPS-Devel] [OpenSIPS/opensips] b8921c: group: Fixed buffer overflow caused by missing end...

2019-04-30 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: b8921cfcf2e09b4646c2be5a82edb983020ab5a0 https://github.com/OpenSIPS/opensips/commit/b8921cfcf2e09b4646c2be5a82edb983020ab5a0 Author: Dan Pascu Date: 2019-04-30 (Tue, 30 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 67a1a0: group: Fixed buffer overflow caused by missing end...

2019-04-30 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 67a1a0218dc85a24a5690e3b3fd7004b2c880405 https://github.com/OpenSIPS/opensips/commit/67a1a0218dc85a24a5690e3b3fd7004b2c880405 Author: Dan Pascu Date: 2019-04-30 (Tue, 30 Apr 2019) Changed paths

[OpenSIPS-Devel] OpenSIPS fails to start

2019-04-30 Thread Dan Pascu
I got this error at startup, after which opensips exists: Apr 30 18:00:55 node15 ./opensips[7914]: ERROR:core:aaa_prot_bind: has no bind api function Apr 30 18:00:55 node15 ./opensips[7914]: ERROR:acc:init_acc_aaa: AAA protocol bind failure Apr 30 18:00:55 node15 ./opensips[7914]: ERROR:acc:mo

[OpenSIPS-Devel] Buffer overflow

2019-04-30 Thread Dan Pascu
There seems to be some buffer overflow in the code that flattens the configuration: Apr 30 18:00:55 node15 opensips: ==7892==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x63318800 at pc 0x7f7c1bf946aa bp 0x7ffc90558800 sp 0x7ffc90557fb0 Apr 30 18:00:55 node15 opensips: Apr 30

Re: [OpenSIPS-Devel] OpenSIPS fails to start

2019-04-30 Thread Dan Pascu
On 30 Apr 2019, at 19:11, Dan Pascu wrote: > > I got this error at startup, after which opensips exists: I meant exits here-^^^ > > Apr 30 18:00:55 node15 ./opensips[7914]: ERROR:core:aaa_prot_bind: > has no bind api function > Apr

[OpenSIPS-Devel] [OpenSIPS/opensips] 857f03: aaa_radius: Added back aaa_bind_api to the command...

2019-05-01 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 857f034addc7d2730c18f465307a53b1b04b2ece https://github.com/OpenSIPS/opensips/commit/857f034addc7d2730c18f465307a53b1b04b2ece Author: Dan Pascu Date: 2019-05-01 (Wed, 01 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] cadac8: aaa_radius: Added back aaa_bind_api to the command...

2019-05-01 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: cadac89b47f886d55ec98a301a9d276a75dc3782 https://github.com/OpenSIPS/opensips/commit/cadac89b47f886d55ec98a301a9d276a75dc3782 Author: Dan Pascu Date: 2019-05-01 (Wed, 01 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 0e1d4f: sipmsgops: Fixed is_present_hf for non-standard he...

2019-05-01 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0e1d4f3416ebc5f55ee44c315e93d15a0cbe5cc1 https://github.com/OpenSIPS/opensips/commit/0e1d4f3416ebc5f55ee44c315e93d15a0cbe5cc1 Author: Dan Pascu Date: 2019-05-01 (Wed, 01 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 3efc8b: sipmsgops: Fixed is_present_hf for non-standard he...

2019-05-01 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 3efc8bd4c05ab4f6aad4dbd1acc94ba73eec4dda https://github.com/OpenSIPS/opensips/commit/3efc8bd4c05ab4f6aad4dbd1acc94ba73eec4dda Author: Dan Pascu Date: 2019-05-01 (Wed, 01 May 2019) Changed paths

Re: [OpenSIPS-Devel] [OpenSIPS/opensips] 779130: tracer: always load the trace api

2019-05-01 Thread Dan Pascu
With this patch opensips fails to start: May 1 17:43:45 node15 ./opensips[22452]: INFO:tracer:mod_init: initializing... May 1 17:43:45 node15 ./opensips[22452]: ERROR:tracer:mod_init: Failed to bind tracing protocol! May 1 17:43:45 node15 ./opensips[22452]: ERROR:core:init_mod: failed to init

[OpenSIPS-Devel] [OpenSIPS/opensips] 216dc4: Fixed error in handling fcntl's output (which is a...

2019-05-02 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 216dc40a0339d9e821de0b05c56f3f7cd1da7531 https://github.com/OpenSIPS/opensips/commit/216dc40a0339d9e821de0b05c56f3f7cd1da7531 Author: Dan Pascu Date: 2019-05-02 (Thu, 02 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 08cff3: Revert "tracer: always load the trace api"

2019-05-02 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 08cff3486e8ad9e7f4fc52cdb202c3201a3435ae https://github.com/OpenSIPS/opensips/commit/08cff3486e8ad9e7f4fc52cdb202c3201a3435ae Author: Dan Pascu Date: 2019-05-02 (Thu, 02 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] b6d6fc: Fixed error in handling fcntl's output (which is a...

2019-05-02 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: b6d6fc913981711336044dcd503c43d7ecadb44a https://github.com/OpenSIPS/opensips/commit/b6d6fc913981711336044dcd503c43d7ecadb44a Author: Dan Pascu Date: 2019-05-02 (Thu, 02 May 2019) Changed paths

[OpenSIPS-Devel] Bug in tracer module

2019-05-05 Thread Dan Pascu
I have the following scenario: A client C, connects over TCP to a proxy A, which later forwards the messages to another proxy B also over TCP. The client connects from a random port (let's say 3) to 5060 on A and A also connects from a random port (let's say in this case 4) to 5060 on

Re: [OpenSIPS-Devel] Autoscaling syntax error

2019-05-10 Thread Dan Pascu
ed that. > > Best regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 04/30/2019 01:00 PM, Dan Pascu wrote: >> On 26

[OpenSIPS-Devel] TLS settings

2019-05-10 Thread Dan Pascu
In the past (version 1.11) the tls settings for clients and servers were separated. I used to have verify=1 and require=1 for server and verify=1 and require=0 for clients. This way I would not allow a connection to a server that didn't present a valid certificate, but I would allow a client to

[OpenSIPS-Devel] Resetting branch route

2019-05-10 Thread Dan Pascu
In my config I use t_on_branch(branch_route) from the main route. Later in the failure route, I divert the call to a new destination (let's say I have a diversion on no-answer to voicemail) and I want to reset the branch route because for the new destination I no longer need one and it would be

Re: [OpenSIPS-Devel] TLS settings

2019-05-10 Thread Dan Pascu
setup where I do not require SIP clients to have certificates, but I require them in proxy-to-proxy connections. > > Vlad Patrascu > OpenSIPS Developer > http://www.opensips-solutions.com > > On 05/10/2019 01:40 PM, Dan Pascu wrote: >> In the past (version 1.11) the tls s

[OpenSIPS-Devel] [OpenSIPS/opensips] bbd5c7: Fixed list_statistics MI command

2019-05-14 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: bbd5c7de24785afe18c1e55f5e993cf01d42787d https://github.com/OpenSIPS/opensips/commit/bbd5c7de24785afe18c1e55f5e993cf01d42787d Author: Dan Pascu Date: 2019-05-14 (Tue, 14 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 1e1484: Fixed list_statistics MI command

2019-05-14 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1e14844dde59d5b0dd2cee1a0b8c16735a4672df https://github.com/OpenSIPS/opensips/commit/1e14844dde59d5b0dd2cee1a0b8c16735a4672df Author: Dan Pascu Date: 2019-05-14 (Tue, 14 May 2019) Changed paths

[OpenSIPS-Devel] TCP connection behavior

2019-05-21 Thread Dan Pascu
I noticed TCP connections behave differently now. Not sure if it's intentional or a problem. Before, all TCP connections were hold by the TCP Main process and they would be passed to TCP receiver processes when some message was received, at which point the TCP receiver would process the messag

Re: [OpenSIPS-Devel] [OpenSIPS/opensips] 8a7abc: Drop support for opensipsctl/opensipsdbctl

2019-05-24 Thread Dan Pascu
There is a regression with this one. The new tool doesn't support everything the old one did. More specifically, the opensipsdbctl script allowed one to define both an admin user/password and the opensips user/password for the database. After creating the database the script would also grant the

[OpenSIPS-Devel] Crash

2019-05-24 Thread Dan Pascu
Every time I use 'opensips-cli -x trace' opensips crashes. It doesn't matter if I specify a filter or leave all fields empty. The backtrace doesn't look too helpful (it seems to be some other issue when cleaning things at shutdown): (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/s

Re: [OpenSIPS-Devel] Crash

2019-05-24 Thread Dan Pascu
Dan! > > This is a core dump during shut down, not the actual core dump. > Can you enable cores with pid, to make sure you gather all the cores opensips > dumps. You can do that by running: > echo 1 > /proc/sys/kernel/core_uses_pid > > Best regards, > Razvan > >

[OpenSIPS-Devel] [OpenSIPS/opensips] 59ba0f: Return statistics as numbers

2019-05-26 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 59ba0f7aab24b83816264a143f0c339a054400a6 https://github.com/OpenSIPS/opensips/commit/59ba0f7aab24b83816264a143f0c339a054400a6 Author: Dan Pascu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 15259f: Return statistics as numbers

2019-05-26 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 15259fa5c12bd791568d1dad4710ef26a8dcf3f0 https://github.com/OpenSIPS/opensips/commit/15259fa5c12bd791568d1dad4710ef26a8dcf3f0 Author: Dan Pascu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 74ff59: Be consistent with comments, spacing and NULL values

2019-05-27 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 74ff59dc07907a02f542d211fe311ed45fd9f770 https://github.com/OpenSIPS/opensips/commit/74ff59dc07907a02f542d211fe311ed45fd9f770 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] d7c944: Be consistent with comments, spacing and NULL values

2019-05-27 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: d7c9445c8c3df3326aa0dc4307614a41b2ce7ba0 https://github.com/OpenSIPS/opensips/commit/d7c9445c8c3df3326aa0dc4307614a41b2ce7ba0 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 66f0f6: Fixed some compilation warnings

2019-05-28 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 66f0f60564445daed92f887d361888e048f2b060 https://github.com/OpenSIPS/opensips/commit/66f0f60564445daed92f887d361888e048f2b060 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 557e7b: Fixed some compilation warnings

2019-05-28 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 557e7b7a03c9844ad8300df36ff3ba06ebd32569 https://github.com/OpenSIPS/opensips/commit/557e7b7a03c9844ad8300df36ff3ba06ebd32569 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] dfc4a8: Fixed a few more warnings on 64 bit platforms

2019-05-28 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: dfc4a8fa949b911b577ad8c03a37b4c56dee19ff https://github.com/OpenSIPS/opensips/commit/dfc4a8fa949b911b577ad8c03a37b4c56dee19ff Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 36c750: Fixed a few more warnings on 64 bit platforms

2019-05-28 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 36c7507c89b2f253211bae0d2f767f5666091630 https://github.com/OpenSIPS/opensips/commit/36c7507c89b2f253211bae0d2f767f5666091630 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 8f49a5: Use the size_t modifier to avoid an unnecessary cast

2019-05-28 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8f49a55c03ea8a2340f56124567bbe610906df9d https://github.com/OpenSIPS/opensips/commit/8f49a55c03ea8a2340f56124567bbe610906df9d Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] e6ccb1: Use the size_t modifier to avoid an unnecessary cast

2019-05-28 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: e6ccb1cb0788c2542b766f8951ea32c5de0065f0 https://github.com/OpenSIPS/opensips/commit/e6ccb1cb0788c2542b766f8951ea32c5de0065f0 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] f908c7: Fixed travis error

2019-05-28 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: f908c7953b35c68a3a066e87afc7ffed4bfd6427 https://github.com/OpenSIPS/opensips/commit/f908c7953b35c68a3a066e87afc7ffed4bfd6427 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 394409: Fixed travis error

2019-05-28 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 394409a05d4193e064fc707b9df3a0155f0dd9c2 https://github.com/OpenSIPS/opensips/commit/394409a05d4193e064fc707b9df3a0155f0dd9c2 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] Compilation issues

2019-05-28 Thread Dan Pascu
On 32 bit systems I noticed the following warnings when compiling which I think indicate that 32 bit systems can crash with an illegal memory access: --- ucontact.c: In function ‘ucontact_coords_cmp’: ucontact.c:1036:6: warning: cast to pointe

[OpenSIPS-Devel] [OpenSIPS/opensips] 51719c: Fixed MI address_dump function

2019-05-28 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 51719c77e00881bcc707225e1d3cc3297ecc2a04 https://github.com/OpenSIPS/opensips/commit/51719c77e00881bcc707225e1d3cc3297ecc2a04 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 237a9e: Fixed MI address_dump function

2019-05-28 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 237a9eda932cbe3f72f5c88e327d811af7bd4b4d https://github.com/OpenSIPS/opensips/commit/237a9eda932cbe3f72f5c88e327d811af7bd4b4d Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 0d3794: More fixes for MI implementation errors

2019-05-28 Thread Dan Pascu
Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0d3794f1b53d58461a385fc0f879fdf157e93f38 https://github.com/OpenSIPS/opensips/commit/0d3794f1b53d58461a385fc0f879fdf157e93f38 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] f646eb: More fixes for MI implementation errors

2019-05-28 Thread Dan Pascu
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: f646ebe96b8276c2453e6a3a96f90d5e9264ebe9 https://github.com/OpenSIPS/opensips/commit/f646ebe96b8276c2453e6a3a96f90d5e9264ebe9 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths

  1   2   3   4   >