Re: [sr-dev] [kamailio/kamailio] re.subst cannot process sdp content-length of 2978 (#1592)

2018-07-13 Thread Daniel-Constantin Mierla
Closed #1592. -- 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/1592#event-1733764121___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] re.subst cannot process sdp content-length of 2978 (#1592)

2018-07-13 Thread Daniel-Constantin Mierla
I incremented the size of the buffer to 8196, the old value of 2048 being rather small for dealing with sip messages. In the future, this might be changed to allocated memory at startup based on pv buffer size. However, in case of dealing with larger values, there are couple of options: * nav

[sr-dev] git:master:464bf617: textops: set the buffer size for re transformation to 8196

2018-07-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 464bf61788e86551509c08e07f9eed2a9bba0b58 URL: https://github.com/kamailio/kamailio/commit/464bf61788e86551509c08e07f9eed2a9bba0b58 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2018-07-14T08:14:07+02:00 textops: set the buffe

[sr-dev] [kamailio/kamailio] coredumps possibly generated by DMQ in kamailio v5.1.4 (#1594)

2018-07-13 Thread Joel Serrano
### Description Not sure, found 2 cores generated today, only suggesting it's DMQ related by what I see in the backtrace. They could have been generated during a restart of kamailio, not 100% sure though. ### Troubleshooting TBD Reproduction TBD Debugging Data Attaching *bt full*

Re: [sr-dev] [kamailio/kamailio] RPC command stats.get_statistics randomly reporting 9223372036854776000 for current active/early dialogs (#1591)

2018-07-13 Thread Joel Serrano
Hi Daniel, This is what I can get: ``` root@kamailio2:/var/tmp# gdb /usr/sbin/kamailio -ex "bt full" --batch core.kamailio.1334.13cn4.1531505030 > core.kamailio.1334.13cn4.1531505030-bt_full.txt 66 ../../core/parser/../mem/../atomic/atomic_common.h: No such file or directory. root@kamail

Re: [sr-dev] [kamailio/kamailio] RPC command stats.get_statistics randomly reporting 9223372036854776000 for current active/early dialogs (#1591)

2018-07-13 Thread Joel Serrano
Hi Daniel, On my initial test in prod, I can see already discrepancies: ``` root@kamailio2:~# kamctl rpc dlg.stats_active { "jsonrpc": "2.0", "result": { "starting": 4, "connecting": 55, "answering": 2, "ongoing": 253, "all": 314 }, "id": 23360 } root@kamailio2:~#

Re: [sr-dev] [kamailio/kamailio] kamailio always retries deleted RTPEngine Nodes which generates PDD (#1593)

2018-07-13 Thread Richard Fuchs
rfuchs approved this pull request. -- 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/1593#pullrequestreview-137135360___ Kamailio (SER) -

Re: [sr-dev] [kamailio/kamailio] kamailio always retries deleted RTPEngine Nodes which generates PDD (#1593)

2018-07-13 Thread adil-mafzool
done! -- 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/1593#issuecomment-404899707___ Kamailio (SER) - Development Mailing List sr-dev@lists

Re: [sr-dev] [kamailio/kamailio] RPC command stats.get_statistics randomly reporting 9223372036854776000 for current active/early dialogs (#1591)

2018-07-13 Thread Joel Serrano
I'm building v5.1.4 packages with that commit cherry-picked. I will deploy as soon as I have run a few tests in lab. I have noticed that the issue happens only on low traffic, so it matches your theory of the value going "below 0"... I was thinking if running a script every second gathering on b

Re: [sr-dev] [kamailio/kamailio] RPC command stats.get_statistics randomly reporting 9223372036854776000 for current active/early dialogs (#1591)

2018-07-13 Thread Daniel-Constantin Mierla
As an alternative to get the stats of active dialogs, I added an rpc command that scans the internal dialog hash table: * https://github.com/kamailio/kamailio/commit/ebb149066690f7d96f45e1639e0c5ca9616bbbe0 It is slightly slower, given the scan in real time, that the stats using the core cou

Re: [sr-dev] [kamailio/kamailio] kamailio always retries deleted RTPEngine Nodes which generates PDD (#1593)

2018-07-13 Thread Daniel-Constantin Mierla
Reformat the commit message as per contributing guidelines: * https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md#commit-message-format -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.c

[sr-dev] [kamailio/kamailio] kamailio always retries deleted RTPEngine Nodes which generates PDD (#1593)

2018-07-13 Thread adil-mafzool
Pre-Submission Checklist - [ ] Commit message has the format required by CONTRIBUTING guide - [ ] Commits are split per component (core, individual modules, libs, utils, ...) - [ ] Each component has a single commit (if not, squash them into one commit) - [ ] No commits to README files

[sr-dev] [kamailio/kamailio] re.subst cannot process sdp content-length of 2978 (#1592)

2018-07-13 Thread adil-mafzool
While trying the following code with sdp content-length of 2978 : - $var(telephone-event) = $(avp(sdp){re.subst,/.*a=rtpmap:([0-9]+) telephone-event.*/\1/s}); kamailio -v version: kamailio 5.1.4 (x86_64/linux) got the following errors: - ERROR: textops [txt_var.c:80]: tr_txt_eval_re(): PV value

Re: [sr-dev] Remove check for msg->msg_flags inside corex module ?

2018-07-13 Thread Daniel-Constantin Mierla
Hello, well, not sure at this moment because would take some time to analyze what execution paths can end up there. I did look and I saw that path_vec field is cloned in shm, so doing pkg_free() on that value will fail. If it ends up to that code when the value is not the cloned one, then it shou

[sr-dev] git:master:1a20bcaa: core: mem - added shm_address_in(p)

2018-07-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 1a20bcaa35db4aa80d6460dfb0fb9c70026248c9 URL: https://github.com/kamailio/kamailio/commit/1a20bcaa35db4aa80d6460dfb0fb9c70026248c9 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2018-07-13T14:05:27+02:00 core: mem - added shm_

[sr-dev] Remove check for msg->msg_flags inside corex module ?

2018-07-13 Thread Lucian Balaceanu
Hi guys, Seeing the https://github.com/kamailio/kamailio/pull/1144 about fixing a memory leak in the tm module due to incorrectly using FL_SHM_CLONE when freing path_vec memory, isn't there a case that a similar patch should be applied to corex/corex_lib.c ? Inside corex_append_branch(..) fu

[sr-dev] git:master:74dcbe87: modules: readme files regenerated - dialog ... [skip ci]

2018-07-13 Thread Kamailio Dev
Module: kamailio Branch: master Commit: 74dcbe875d3978ba7e16bb346ea8c034468237e0 URL: https://github.com/kamailio/kamailio/commit/74dcbe875d3978ba7e16bb346ea8c034468237e0 Author: Kamailio Dev Committer: Kamailio Dev Date: 2018-07-13T13:01:44+02:00 modules: readme files regenerated - dialog ...

[sr-dev] [kamailio/kamailio] Remove check for msg->msg_flags inside corex module ?

2018-07-13 Thread Lucian Balaceanu
Hi guys, Seeing the https://github.com/kamailio/kamailio/pull/1144 about fixing a memory leak in the tm module due to incorrectly using FL_SHM_CLONE when freing path_vec memory, isn't there a case that a similar patch should be applied to corex/corex_lib.c ? Inside corex_append_branch(..) fu

[sr-dev] git:master:8dd610ed: dialog: removed invalid closing section tag from previous commit

2018-07-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 8dd610eddca40810af92d2d7131e7e3dd8323554 URL: https://github.com/kamailio/kamailio/commit/8dd610eddca40810af92d2d7131e7e3dd8323554 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2018-07-13T12:47:53+02:00 dialog: removed invali

[sr-dev] git:master:6c06e84d: textops: docs for replace_hdrs_str()

2018-07-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 6c06e84db693698dde6b7cd50aeffc111073f1a3 URL: https://github.com/kamailio/kamailio/commit/6c06e84db693698dde6b7cd50aeffc111073f1a3 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2018-07-13T12:46:45+02:00 textops: docs for repl

[sr-dev] git:master:3577cc94: textops: new function replace_hdrs_str()

2018-07-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 3577cc9497a0fcde5a3d004c74281bfbe75d8923 URL: https://github.com/kamailio/kamailio/commit/3577cc9497a0fcde5a3d004c74281bfbe75d8923 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2018-07-13T12:46:45+02:00 textops: new function

[sr-dev] git:master:6d87a1ab: modules: readme files regenerated - dialog ... [skip ci]

2018-07-13 Thread Kamailio Dev
Module: kamailio Branch: master Commit: 6d87a1abacc1383c241f1aa9d3c6f1a182213273 URL: https://github.com/kamailio/kamailio/commit/6d87a1abacc1383c241f1aa9d3c6f1a182213273 Author: Kamailio Dev Committer: Kamailio Dev Date: 2018-07-13T12:31:43+02:00 modules: readme files regenerated - dialog ...

[sr-dev] git:master:c005354f: dialog: docs for rpc command dlg.stats_active

2018-07-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: c005354f58c493250a3428c58ebeb8fc46e6a0b2 URL: https://github.com/kamailio/kamailio/commit/c005354f58c493250a3428c58ebeb8fc46e6a0b2 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2018-07-13T12:25:05+02:00 dialog: docs for rpc c

[sr-dev] git:master:ebb14906: dialog: new rpc command dlg.stats_active

2018-07-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: ebb149066690f7d96f45e1639e0c5ca9616bbbe0 URL: https://github.com/kamailio/kamailio/commit/ebb149066690f7d96f45e1639e0c5ca9616bbbe0 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2018-07-13T12:17:04+02:00 dialog: new rpc comman

[sr-dev] git:5.0:2e2c07a6: modules: readme files regenerated - modules ... [skip ci]

2018-07-13 Thread Kamailio Dev
Module: kamailio Branch: 5.0 Commit: 2e2c07a6340c4109f86afca277f9a01e8101adcb URL: https://github.com/kamailio/kamailio/commit/2e2c07a6340c4109f86afca277f9a01e8101adcb Author: Kamailio Dev Committer: Kamailio Dev Date: 2018-07-13T11:46:35+02:00 modules: readme files regenerated - modules ... [

[sr-dev] git: new commits in branch 5.0

2018-07-13 Thread Daniel-Constantin Mierla
- URL: https://github.com/kamailio/kamailio/commit/605cf8658e4814ab09b708228618e69e5aa68489 Author: Daniel-Constantin Mierla Date: 2018-07-13T11:36:47+02:00 rtpengine: docs - updated some of rtpproxy occurences to rtpengine (cherry picked from commit 9383174b32b6b49dd9f0757450abadb45690515f)

[sr-dev] git: new commits in branch 5.1

2018-07-13 Thread Daniel-Constantin Mierla
- URL: https://github.com/kamailio/kamailio/commit/00419fbc81795564f5e5a5363b6c081c02a9ad8d Author: Daniel-Constantin Mierla Date: 2018-07-13T11:00:57+02:00 rtpengine: docs - updated some of rtpproxy occurences to rtpengine (cherry picked from commit 9383174b32b6b49dd9f0757450abadb45690515f)

[sr-dev] git:master:ce0a16b3: modules: readme files regenerated - dialog ... [skip ci]

2018-07-13 Thread Kamailio Dev
Module: kamailio Branch: master Commit: ce0a16b3426f500d66eb987ea9c0dd59f25018a4 URL: https://github.com/kamailio/kamailio/commit/ce0a16b3426f500d66eb987ea9c0dd59f25018a4 Author: Kamailio Dev Committer: Kamailio Dev Date: 2018-07-13T11:02:19+02:00 modules: readme files regenerated - dialog ...

[sr-dev] git:master:c0aa8ab5: dialog: docs - notes about special values for optional parameters

2018-07-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: c0aa8ab52e635c8b3173fdef77b25925e44cd4d4 URL: https://github.com/kamailio/kamailio/commit/c0aa8ab52e635c8b3173fdef77b25925e44cd4d4 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2018-07-13T10:46:48+02:00 dialog: docs - notes a

[sr-dev] git:master:832fcfd8: dialog: handle . for optional body parameter for rpc dlg.bridge_dlg

2018-07-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 832fcfd839a193e5631df6c8ff1d2a84565d3822 URL: https://github.com/kamailio/kamailio/commit/832fcfd839a193e5631df6c8ff1d2a84565d3822 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2018-07-13T10:39:29+02:00 dialog: handle . for o

Re: [sr-dev] [kamailio/kamailio] MemoryUtilization getting increase with lua routing (#1577)

2018-07-13 Thread Surendra Tiwari
yes i am using master branch only. -- 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/1577#issuecomment-404770193___ Kamailio (SER) - Develo

Re: [sr-dev] [kamailio/kamailio] RPC command stats.get_statistics randomly reporting 9223372036854776000 for current active/early dialogs (#1591)

2018-07-13 Thread Daniel-Constantin Mierla
It may be that the value is decremented more than the active calls and "goes below 0", but the counter is an 'unsigned long' value, so from 0 jumps to maximum value. It may be related to DMQ replication. Based on feedback, so far all was pretty accurate with the stats for active dialogs in an in

Re: [sr-dev] [kamailio/kamailio] cfg_rpc updates changing variable values to large random numbers (#1583)

2018-07-13 Thread Daniel-Constantin Mierla
OK, that will help -- I will try to reproduce here when I get a chance. -- 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/1583#issuecomment-404754215__

Re: [sr-dev] [kamailio/kamailio] MemoryUtilization getting increase with lua routing (#1577)

2018-07-13 Thread Daniel-Constantin Mierla
So, I assume it is still there in the master branch, after my last commit realted to app_lua. I will try to reproduce here with the first available time frame. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.