[sr-dev] git:master:57be5c1f: core: added missing field in sip_msg_update_buffer

2020-11-10 Thread Aleksandar Yosifov
Module: kamailio Branch: master Commit: 57be5c1f33344275c15777a7927d9c48df4a69ba URL: https://github.com/kamailio/kamailio/commit/57be5c1f33344275c15777a7927d9c48df4a69ba Author: Aleksandar Yosifov Committer: Aleksandar Yosifov Date: 2020-11-09T14:37:26+02:00 core: added missing field in sip_m

Re: [sr-dev] [kamailio/kamailio] dispatcher: algorithm 13 latency optimized round-robin with failover (#2493)

2020-11-10 Thread Julien Chavanton
@jchavanton pushed 1 commit. dfacc805c93a30e5197fccf1cf2b2712a5092e23 dispatcher: algorithm 13 -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/kamailio/kamailio/pull/2493/files/1c819e0fe2c4f8ba901efc2a43ef1e1ba8a88411..dfacc805c93a30e5

Re: [sr-dev] [kamailio/kamailio] dispatcher: algorithm 13 latency optimized round-robin with failover (#2493)

2020-11-10 Thread Salman Ali
@asalman18 commented on this pull request. > @@ -2270,6 +2372,15 @@ int ds_manage_routes(sip_msg_t *msg, ds_select_state_t > *rstate) case DS_ALG_PARALLEL: /* 12 - parallel dispatching */ hash = 0; break; + case DS_AL

Re: [sr-dev] [kamailio/kamailio] dispatcher: algorithm 13 latency optimized round-robin with failover (#2493)

2020-11-10 Thread Salman Ali
@asalman18 commented on this pull request. > + z, ds_dest->uri.len, ds_dest->uri.s, + gw_priority, latency_proirity_handicap, + ds_dest->attrs.rpriority, gw_latency, ds_dest->flags); + } else {

Re: [sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

2020-11-10 Thread CrazyTux
I've confirmed this is working as expected, thanks again! -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2546#issuecomment-724791168___ Kamailio (SER) - Dev

Re: [sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

2020-11-10 Thread CrazyTux
Thank you! On Tue, Nov 10, 2020 at 3:42 AM Daniel-Constantin Mierla < notificati...@github.com> wrote: > Closed #2546 . > > — > You are receiving this because you authored the thread. > > > Reply to this email directly, view it on GitHub >

Re: [sr-dev] [kamailio/kamailio] [RFE]: Allow NULL for acc db_extra and multi_leg_info (#2531)

2020-11-10 Thread Henning Westerholt
@amessina I understand the acc_extra_nullable is not active by default. The DB schema script is targeted for the default case, but document this e.g. in the module readme would be probably good. Maybe you could create a pull request for that. -- You are receiving this because you are subscribe

Re: [sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

2020-11-10 Thread Juha Heinanen
I gave --cfg-print a try. I have this in config: loadmodule "tls" ... # -- tls params #!ifdef MOD_tls modparam("tls", "config", "/etc/sip-proxy/tls.cfg") modparam("tls", "cipher_list", "HIGH:!ADH:!AECDH") #!endif # -- tm params and --cfg-print gave this kind of output: loadmodule "tls" ... # -

Re: [sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

2020-11-10 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > So for now, if someone doesn't want the #!KAMAILIO (or the other > variants) in the first line, can add it temporarily only when it uses > the --cfg-print, then remove it. Of course, if someone wants to look > more into it, is more than welcome to make pull reque

Re: [sr-dev] [kamailio/kamailio] Renaming userblacklist to userblocklist (#2544)

2020-11-10 Thread Lucian Balaceanu
Merged #2544 into master. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/2544#event-3978848224___ Kamailio (SER) - Development Mailing Lis

Re: [sr-dev] [kamailio/kamailio] Renaming userblacklist to userblocklist (#2544)

2020-11-10 Thread Lucian Balaceanu
:) My bad -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/2544#issuecomment-724694264___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] Renaming userblacklist to userblocklist (#2544)

2020-11-10 Thread Lucian Balaceanu
Merged #2544 into master. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/2544#event-3978847246___ Kamailio (SER) - Development Mailing Lis

[sr-dev] git:master:7563a52e: Merge pull request #2544 from lbalaceanu/master

2020-11-10 Thread GitHub
Module: kamailio Branch: master Commit: 7563a52eab3043a389e50eb3e21dcb359c054cf9 URL: https://github.com/kamailio/kamailio/commit/7563a52eab3043a389e50eb3e21dcb359c054cf9 Author: Lucian Balaceanu Committer: GitHub Date: 2020-11-10T15:15:24+02:00 Merge pull request #2544 from lbalaceanu/master

Re: [sr-dev] [kamailio/kamailio] Renaming userblacklist to userblocklist (#2544)

2020-11-10 Thread Daniel-Constantin Mierla
You closed the PR, but didn't merge it before. Is it what you wanted? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/2544#issuecomment-724693808__

Re: [sr-dev] [kamailio/kamailio] Renaming userblacklist to userblocklist (#2544)

2020-11-10 Thread Lucian Balaceanu
Closed #2544. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/2544#event-3978834797___ Kamailio (SER) - Development Mailing List sr-dev@lis

Re: [sr-dev] [kamailio/kamailio] Renaming userblacklist to userblocklist (#2544)

2020-11-10 Thread Lucian Balaceanu
Thank you. Closing the PR. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/2544#issuecomment-724692518___ Kamailio (SER) - Development Mai

Re: [sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

2020-11-10 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Very important - for now the `--cfg-print` works if the main > configuration file has the first line: > #!KAMAILIO Can there be other stuff on the line after #!KAMAILIO? For example emacs can be told about the major mode used in the file by checking if first

Re: [sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

2020-11-10 Thread Daniel-Constantin Mierla
Very important - for now the `--cfg-print` works if the main configuration file has the first line: ``` #!KAMAILIO ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2546#issueco

Re: [sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

2020-11-10 Thread Daniel-Constantin Mierla
Closed #2546. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2546#event-3978479083___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

2020-11-10 Thread Daniel-Constantin Mierla
Just added `--cfg-print` that should do what you were looking for, to the extent of evaluating `include_file/import_file` and `ifdef/ifndef` conditions. It does not replace the tokens defined with `define`, `subst` or the other token defining variants. If someone needs to go further into this, t

Re: [sr-dev] Simple Feature / Help

2020-11-10 Thread Brandon Armstead
Thanks! On Tue, Nov 10, 2020 at 3:54 AM Daniel-Constantin Mierla wrote: > Hello, > > the default config parsing is "compiling on the fly", is not keeping any > copy of the entire input in the memory. > > It would be possible to print the execution tree compiled by the kamailio > config interpret

[sr-dev] git:master:1750d195: core: groupped --cfg-print state switch condition in a function

2020-11-10 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 1750d195ccd5de80ac586b902d6f05c2f3703a33 URL: https://github.com/kamailio/kamailio/commit/1750d195ccd5de80ac586b902d6f05c2f3703a33 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-11-10T16:15:47+01:00 core: groupped --cfg-p

[sr-dev] git:master:d40d23da: core: print also define value during --cfg-print

2020-11-10 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: d40d23da34634ca0cfb35fa561189ffe08d850d2 URL: https://github.com/kamailio/kamailio/commit/d40d23da34634ca0cfb35fa561189ffe08d850d2 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-11-10T16:00:35+01:00 core: print also defin

[sr-dev] git:master:7a88baf9: core: evalute define expressions in config for --cfg-print option

2020-11-10 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 7a88baf9b0dbd4e46557278eaaaf755a5f4350a9 URL: https://github.com/kamailio/kamailio/commit/7a88baf9b0dbd4e46557278eaaaf755a5f4350a9 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-11-10T15:56:00+01:00 core: evalute define e

[sr-dev] git:master:0b379b81: kamctl: removed old fine after renaming module to userblocklist

2020-11-10 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 0b379b81364f61e91288379aade4eea7613b253a URL: https://github.com/kamailio/kamailio/commit/0b379b81364f61e91288379aade4eea7613b253a Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-11-10T15:37:36+01:00 kamctl: removed old fi

[sr-dev] git:master:87365947: doc: renamed rpc list files to userblocklist

2020-11-10 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 8736594784ff56df3a3496c19c17ac1513437488 URL: https://github.com/kamailio/kamailio/commit/8736594784ff56df3a3496c19c17ac1513437488 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-11-10T15:34:03+01:00 doc: renamed rpc list

Re: [sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

2020-11-10 Thread Daniel-Constantin Mierla
On 10.11.20 15:16, Juha Heinanen wrote: > I gave --cfg-print a try. I have this in config: > > loadmodule "tls" > ... > # -- tls params > #!ifdef MOD_tls > modparam("tls", "config", "/etc/sip-proxy/tls.cfg") > modparam("tls", "cipher_list", "HIGH:!ADH:!AECDH") > #!endif > > # -- tm params > > an

Re: [sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

2020-11-10 Thread Daniel-Constantin Mierla
On 10.11.20 14:52, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> So for now, if someone doesn't want the #!KAMAILIO (or the other >> variants) in the first line, can add it temporarily only when it uses >> the --cfg-print, then remove it. Of course, if someone wants to look >> more

Re: [sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

2020-11-10 Thread Daniel-Constantin Mierla
On 10.11.20 13:16, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> Very important - for now the `--cfg-print` works if the main >> configuration file has the first line: >> #!KAMAILIO > Can there be other stuff on the line after #!KAMAILIO? The parsing state is switched to printing

Re: [sr-dev] [kamailio/kamailio] Branch ordering behavior changed between v5.3 and v5.4 (#2449)

2020-11-10 Thread Henning Westerholt
> > > @marcocapetta - based on history, the commit > [1399714](https://github.com/kamailio/kamailio/commit/1399714fbba63732f94eb8034dabb1e565ca832a) > seems to be the only one with major changes in this code between 5.3 and > 5.4. Can you check if it broke the existing behaviour? @marcocapett

Re: [sr-dev] [kamailio/kamailio] Branch ordering behavior changed between v5.3 and v5.4 (#2449)

2020-11-10 Thread Henning Westerholt
@cleung-tpn Have you tried to see if reverting the commit 1399714 restore the previous behaviour for you? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2449#issuecomment-72457443

[sr-dev] git:master:b1af4ec9: kamctl: regenerated db schema for userblocklist

2020-11-10 Thread Lucian Balaceanu
Module: kamailio Branch: master Commit: b1af4ec9f976febd2efb5e657938ff731d8151df URL: https://github.com/kamailio/kamailio/commit/b1af4ec9f976febd2efb5e657938ff731d8151df Author: Lucian Balaceanu Committer: Lucian Balaceanu Date: 2020-11-09T13:42:44+02:00 kamctl: regenerated db schema for user

[sr-dev] git:master:719c2987: kamctl: rename userblacklist to userblocklist

2020-11-10 Thread Lucian Balaceanu
Module: kamailio Branch: master Commit: 719c2987fcd02186554ed880c75a8e229804c8f8 URL: https://github.com/kamailio/kamailio/commit/719c2987fcd02186554ed880c75a8e229804c8f8 Author: Lucian Balaceanu Committer: Lucian Balaceanu Date: 2020-11-09T11:51:11+02:00 kamctl: rename userblacklist to userbl

[sr-dev] git:master:879ca70d: src/lib/srdb1/schema: replacing denomination to blocklist/allowlist

2020-11-10 Thread Lucian Balaceanu
Module: kamailio Branch: master Commit: 879ca70de76b5171706b38a65b49e1061af0e225 URL: https://github.com/kamailio/kamailio/commit/879ca70de76b5171706b38a65b49e1061af0e225 Author: Lucian Balaceanu Committer: Lucian Balaceanu Date: 2020-11-06T19:09:25+02:00 src/lib/srdb1/schema: replacing denomi

[sr-dev] git:master:15dd032c: userblocklist: renaming userblacklist module

2020-11-10 Thread Lucian Balaceanu
Module: kamailio Branch: master Commit: 15dd032c7cd4d3029aa9e0100a3d52e24ab9c2ae URL: https://github.com/kamailio/kamailio/commit/15dd032c7cd4d3029aa9e0100a3d52e24ab9c2ae Author: Lucian Balaceanu Committer: Lucian Balaceanu Date: 2020-11-06T18:13:30+02:00 userblocklist: renaming userblacklist

[sr-dev] git:master:33392275: src/lib/srdb1/schema: renaming userblacklist to userblocklist

2020-11-10 Thread Lucian Balaceanu
Module: kamailio Branch: master Commit: 333922750e71af0af21db741de440a25443083e2 URL: https://github.com/kamailio/kamailio/commit/333922750e71af0af21db741de440a25443083e2 Author: Lucian Balaceanu Committer: Lucian Balaceanu Date: 2020-11-06T19:04:54+02:00 src/lib/srdb1/schema: renaming userbla

Re: [sr-dev] [kamailio/kamailio] freeradius-client support for auth_radius on debian jessie (#2496)

2020-11-10 Thread Henning Westerholt
Closed #2496. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2496#event-3977833210___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] freeradius-client support for auth_radius on debian jessie (#2496)

2020-11-10 Thread Henning Westerholt
The pull request has been merged, so close this issue. Re-open if necessary. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/2496#issuecomment-724571583_

[sr-dev] git:master:1896db2b: core: switch on cfg print mode also on #!SERi, #!MAXCOMPAT and #!ALL

2020-11-10 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 1896db2b44c967066d973f760c7342621a837db9 URL: https://github.com/kamailio/kamailio/commit/1896db2b44c967066d973f760c7342621a837db9 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-11-10T14:14:39+01:00 core: switch on cfg pr

Re: [sr-dev] Simple Feature / Help

2020-11-10 Thread Daniel-Constantin Mierla
Hello, the default config parsing is "compiling on the fly", is not keeping any copy of the entire input in the memory. It would be possible to print the execution tree compiled by the kamailio config interpreter upon parsing the input, but it is far from getting a reusable config file. I pushed

[sr-dev] git:master:e5a723df: core: added --cfg-print to help message

2020-11-10 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: e5a723dfb0f38b0871d4fe624d57dbaa90e3b3bb URL: https://github.com/kamailio/kamailio/commit/e5a723dfb0f38b0871d4fe624d57dbaa90e3b3bb Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-11-10T12:36:23+01:00 core: added --cfg-prin

[sr-dev] git:master:62ac640b: core: new command line parameter --cfg-print

2020-11-10 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 62ac640b113103648d6d8f9028f15be66b775fa0 URL: https://github.com/kamailio/kamailio/commit/62ac640b113103648d6d8f9028f15be66b775fa0 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-11-10T12:29:16+01:00 core: new command line

Re: [sr-dev] [kamailio/kamailio] dispatcher: algorithm 13 latency optimized round-robin with failover (#2493)

2020-11-10 Thread lgtm-com[bot]
This pull request **introduces 1 alert** when merging b793b967753f1ae86b2b4bf2b4ddd064bc45c4c5 into e9624bc4823cfba0bd9536a70b9eeadecb2a537e - [view on LGTM.com](https://lgtm.com/projects/g/kamailio/kamailio/rev/pr-67547820f7133d745f278e3f802c5e219ab36f18) **new alerts:** * 1 for Comparison re

Re: [sr-dev] Simple Feature / Help

2020-11-10 Thread Henning Westerholt
Hi Brandon, not having looked that much into it yet, but some comments. Adding the ā€œ-Cā€ option is probably the easiest part; it is done inside main.c in the existing block for the other configuration options. About dumping the kamailio cfg after its has been parsed – the main problem is here p

[sr-dev] [kamailio/kamailio] DMQ workers stops processing msgs and consume all shmmem (#2547)

2020-11-10 Thread pwakano
### Description Kamailio is configured to use the DMQ replication for dialog. When running a load test Kamailio DMQ workers eventually becomes unresponsive and stops processing DMQ messages. As a side effect the shm memory is fully consumed then SIP processing stops happening properly and ever

Re: [sr-dev] [kamailio/kamailio] dispatcher: algorithm 13 latency optimized round-robin with failover (#2493)

2020-11-10 Thread Julien Chavanton
@jchavanton pushed 1 commit. 5676a0d4f57aa80b3a670ecfb4b0fc53a3b5e532 dispatcher: algorithm 13 -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/kamailio/kamailio/pull/2493/files/a537516a1f16dfd130924aa318d7f9836049a73b..5676a0d4f57aa80b