Re: [sr-dev] [kamailio/kamailio] tr_lookup(): error parsing [{param.count, , }] (#1041)

2017-03-30 Thread Daniel-Constantin Mierla
Closed #1041. -- 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/1041#event-1022119231___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] Segmentation Fault in Kamailio v4.4.5 Git-Rev. e9d576 (#1040)

2017-03-29 Thread Daniel-Constantin Mierla
Reopen if still an issue there. -- 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/1040#issuecomment-290196344___ sr-dev mailing list

Re: [sr-dev] [kamailio/kamailio] Segmentation Fault in Kamailio v4.4.5 Git-Rev. e9d576 (#1040)

2017-03-29 Thread Daniel-Constantin Mierla
Closed #1040. -- 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/1040#event-1021050699___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] db_postgress: insert_update() with DO UPDATE (#1047)

2017-03-29 Thread Daniel-Constantin Mierla
Merged #1047. -- 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/1047#event-1020875565___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] db_postgress: insert_update() with DO UPDATE (#1047)

2017-03-29 Thread Daniel-Constantin Mierla
Thanks, it will be merged! -- 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/1047#issuecomment-290164374___ sr-dev mailing list

[sr-dev] git:master:088c2f7d: Makefile.groups: added call_obj module to group extra

2017-03-29 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 088c2f7d70eb3b8861b3f8f2dc03d9e01a68198f URL: https://github.com/kamailio/kamailio/commit/088c2f7d70eb3b8861b3f8f2dc03d9e01a68198f Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

Re: [sr-dev] [kamailio/kamailio] db_postgres insert_update and usrloc params (#1044)

2017-03-29 Thread Daniel-Constantin Mierla
I would prefer to have two pull requests, each for the two different features. In this way one or the other can be merged separately. For example, the db_load addition may need to be adjusted to detect conflicts with db_mode, because db_mode=4 is supposed to only load from db. -- You are

Re: [sr-dev] [kamailio/kamailio] Keepalive module - prototype (#1045)

2017-03-29 Thread Daniel-Constantin Mierla
Thanks for contributing! Can you make a pull request only with the new module as a single commit? It will be easier to review and see if anything needs to be adjusted. Also, add xml docbook files with the documentation of the module, as the other modules have. We are not merging new modules

Re: [sr-dev] [kamailio/kamailio] Enabling DMQ cause high CPU usage (#822)

2017-03-29 Thread Daniel-Constantin Mierla
I am not sure if removing the lock/mutex is the proper solution here, as I didn't analyze the module properly, so it might be better to make it optional via modparam to run in old mode with locks and new mode with sleep. I guess it should not be that complex, given that the new patch is rather

[sr-dev] git:master:d8fa1ae3: pv: new variable - $hdrc(HName)

2017-03-29 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: d8fa1ae396305f6f05607f5bc0914913adc6bf7d URL: https://github.com/kamailio/kamailio/commit/d8fa1ae396305f6f05607f5bc0914913adc6bf7d Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

[sr-dev] git:master:2d9a016e: core: new pv type for header count

2017-03-29 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 2d9a016ede219c2f2731e09ca45281d8ef711d50 URL: https://github.com/kamailio/kamailio/commit/2d9a016ede219c2f2731e09ca45281d8ef711d50 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

Re: [sr-dev] [kamailio/kamailio] tr_lookup(): error parsing [{param.count, , }] (#1041)

2017-03-28 Thread Daniel-Constantin Mierla
Can you try with latest 4.4 branch? I pushed some commits to fix the use of variable for separator. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] git:5.0:26080154: pv: proper evaluation of pv param for param.count transformation

2017-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 26080154471b41198b1bd1df40fe5f1a0f461c8c URL: https://github.com/kamailio/kamailio/commit/26080154471b41198b1bd1df40fe5f1a0f461c8c Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:master:96455755: pv: proper evaluation of pv param for param.count transformation

2017-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 964557553fd39fca1de35cf7d2f9e64134da7495 URL: https://github.com/kamailio/kamailio/commit/964557553fd39fca1de35cf7d2f9e64134da7495 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

[sr-dev] git:4.4:eede8862: pv: fix for param.count transformation with pv parameter

2017-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: eede8862900030f195ef31f476cea50ab1b56230 URL: https://github.com/kamailio/kamailio/commit/eede8862900030f195ef31f476cea50ab1b56230 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:5.0:a032c4c6: pv: fix for param.count transformation with pv parameter

2017-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: a032c4c630ea8eae8fc717bc8d2f5aec956e69e3 URL: https://github.com/kamailio/kamailio/commit/a032c4c630ea8eae8fc717bc8d2f5aec956e69e3 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:master:f151c26b: pv: fix for param.count transformation with pv parameter

2017-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: f151c26b49d483efbbb27acbb72950d79b8c563d URL: https://github.com/kamailio/kamailio/commit/f151c26b49d483efbbb27acbb72950d79b8c563d Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

Re: [sr-dev] [kamailio/kamailio] Problem with topos together with track_cseq_updates (#1038)

2017-03-28 Thread Daniel-Constantin Mierla
I think I found a lead to the issue, need a bit of time to push the fix. Would you be able to test with master branch or version 5.0? There were more changes to topos and backporting them to 4.4 might not be straightforward. -- You are receiving this because you are subscribed to this thread.

[sr-dev] git:4.4:e20b38e0: core: safety check for retrying dns cache find

2017-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: e20b38e0084c1f89c43a921a8a2affbea060aaa5 URL: https://github.com/kamailio/kamailio/commit/e20b38e0084c1f89c43a921a8a2affbea060aaa5 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:5.0:3883a317: core: safety check for retrying dns cache find

2017-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 3883a3174707bbaa3ce836faca035bae9c90c456 URL: https://github.com/kamailio/kamailio/commit/3883a3174707bbaa3ce836faca035bae9c90c456 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

Re: [sr-dev] Planning Kamailio v5.0.1

2017-03-28 Thread Daniel-Constantin Mierla
On 28/03/2017 09:43, Olle E. Johansson wrote: >> On 28 Mar 2017, at 09:40, Daniel-Constantin Mierla <mico...@gmail.com> wrote: >> >> Hello, >> >> I am considering to release Kamailio v5.0.1 sometime next week, likely >> on Wednesday, April 5, 2017. S

[sr-dev] git:master:bcb11726: ims_diameter_server: added readme file

2017-03-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: bcb11726c01ab720e7d89482711701509327a14b URL: https://github.com/kamailio/kamailio/commit/bcb11726c01ab720e7d89482711701509327a14b Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

[sr-dev] Planning Kamailio v5.0.1

2017-03-28 Thread Daniel-Constantin Mierla
one from branch 4.3. Cheers, Daniel -- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

[sr-dev] git:master:9a56b88c: core: safety check for retrying dns cache find

2017-03-27 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 9a56b88c1438e2d4f0c5b57c71bbe4e904b1a8e4 URL: https://github.com/kamailio/kamailio/commit/9a56b88c1438e2d4f0c5b57c71bbe4e904b1a8e4 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

Re: [sr-dev] [kamailio/kamailio] uri_db: rework the possibiltiy to use any sip uri (#1034)

2017-03-27 Thread Daniel-Constantin Mierla
Merged #1034. -- 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/1034#event-1017157461___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:master:fbe1ed25: uri_db: rework the possibiltiy to use any sip uri (#1034)

2017-03-27 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: fbe1ed25ee1b783a99e9ac1ac46347f526e2b356 URL: https://github.com/kamailio/kamailio/commit/fbe1ed25ee1b783a99e9ac1ac46347f526e2b356 Author: Rick <dun...@users.noreply.github.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2017

Re: [sr-dev] [kamailio/kamailio] uri_db: rework the possibiltiy to use any sip uri (#1034)

2017-03-27 Thread Daniel-Constantin Mierla
Thanks! -- 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/1034#issuecomment-289533238___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] tr_lookup(): error parsing [{param.count, , }] (#1041)

2017-03-27 Thread Daniel-Constantin Mierla
OK, it seems this needs more investigation. Meanwhile, maybe you can use other function or transformation to replace the `,` with another character and the count. On the other hand, if you just want to count those headers, probably you can do a while loop to check how many headers are. --

Re: [sr-dev] [kamailio/kamailio] tr_lookup(): error parsing [{param.count, , }] (#1041)

2017-03-24 Thread Daniel-Constantin Mierla
Is there a whitespace before the variable? -- 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/1041#issuecomment-288959707___ sr-dev mailing

Re: [sr-dev] avp and topoh questions

2017-03-23 Thread Daniel-Constantin Mierla
route is appears set. > > Is the function th_msg_received always called before avps are seen in > the code? > Any idea why for the 180 and 200 messages the avp is not seen in the > code inside th_msg_sent function? > > Thanks and regards, > Claudiu Boriga > >

Re: [sr-dev] [kamailio/kamailio] tr_lookup(): error parsing [{param.count, , }] (#1041)

2017-03-23 Thread Daniel-Constantin Mierla
Can you try storing the delimiter in a variable (eg. $var(...)) and provide the variable to the transformation? It could be a quick around for now. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] db_postgress: insert_update() with DO NOTHING (#1039)

2017-03-23 Thread Daniel-Constantin Mierla
Traveling during the past week, didn't have time to follow up on this. You can close it if you plan another patch. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] Problem with topos together with track_cseq_updates (#1038)

2017-03-22 Thread Daniel-Constantin Mierla
What version of kamailio are you using (get the output of `kamailio -v`)? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] Segmentation Fault in Kamailio v4.4.5 Git-Rev. e9d576 (#1040)

2017-03-21 Thread Daniel-Constantin Mierla
Ported! To see what is executed from config, you can enabled cfgtrace from debugger module. I think you should add another character in between # and ! as whitespace is skipped in many cases by the parser, like `#-!`. -- You are receiving this because you are subscribed to this thread. Reply

[sr-dev] git:4.4:fc4cfe98: siptrace: avoid creating proxy structure twice in trace_send_duplicate()

2017-03-21 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: fc4cfe984ef160db96e206c45610b05fe32aa455 URL: https://github.com/kamailio/kamailio/commit/fc4cfe984ef160db96e206c45610b05fe32aa455 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:5.0:97c6e811: siptrace: avoid creating proxy structure twice in trace_send_duplicate()

2017-03-21 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 97c6e811814e85b9845993a6b41994f70c57d2c4 URL: https://github.com/kamailio/kamailio/commit/97c6e811814e85b9845993a6b41994f70c57d2c4 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:master:8cd0f0be: siptrace: avoid creating proxy structure twice in trace_send_duplicate()

2017-03-21 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 8cd0f0be8bda6a903eab8c0ef610cb00b8ba8359 URL: https://github.com/kamailio/kamailio/commit/8cd0f0be8bda6a903eab8c0ef610cb00b8ba8359 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

Re: [sr-dev] [kamailio/kamailio] Segmentation Fault in Kamailio v4.4.5 Git-Rev. e9d576 (#1040)

2017-03-21 Thread Daniel-Constantin Mierla
Do you set a value for $avp(traced_user)? -- 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/1040#issuecomment-288043135___ sr-dev mailing

Re: [sr-dev] [kamailio/kamailio] Segmentation Fault in Kamailio v4.4.5 Git-Rev. e9d576 (#1040)

2017-03-20 Thread Daniel-Constantin Mierla
Do you have trace_mode parameter for siptrace set to 1? -- 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/1040#issuecomment-287960310___

[sr-dev] git:4.4:eb67c0ad: textops: safety check of allocated memory inside append_time_request_f()

2017-03-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: eb67c0ada2934f2d212645e8a7315eec6e368c4f URL: https://github.com/kamailio/kamailio/commit/eb67c0ada2934f2d212645e8a7315eec6e368c4f Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:5.0:0ff6b710: textops: safety check of allocated memory inside append_time_request_f()

2017-03-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 0ff6b710d0a5729778b3de1a15666e29d73aec56 URL: https://github.com/kamailio/kamailio/commit/0ff6b710d0a5729778b3de1a15666e29d73aec56 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:master:a51a3263: textops: safety check of allocated memory inside append_time_request_f()

2017-03-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: a51a32633429d761f8bc742386b6f6bcb6b38522 URL: https://github.com/kamailio/kamailio/commit/a51a32633429d761f8bc742386b6f6bcb6b38522 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

Re: [sr-dev] [kamailio/kamailio] app_perl.so: undefined symbol: sv2int_str (#1012)

2017-03-19 Thread Daniel-Constantin Mierla
Fixed by 42d3b93f838d1c2eeb009894422fe016a6572520. -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1012#issuecomment-287618870___ sr-dev mailing list

Re: [sr-dev] [kamailio/kamailio] app_perl.so: undefined symbol: sv2int_str (#1012)

2017-03-19 Thread Daniel-Constantin Mierla
Closed #1012. -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1012#event-1005858852___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] Problem with topos together with track_cseq_updates (#1038)

2017-03-19 Thread Daniel-Constantin Mierla
Attach the logs file here or make it available on some web site/pastebin -- they are useful to investigate. Also, can you grab ngrep output for such situation (all sip messages passing through the server: `ngrep -d any -qt -W byline port 5060`). -- You are receiving this because you are

Re: [sr-dev] [kamailio/kamailio] erlang: allow user to set ERLANG_xxxDIR (#1037)

2017-03-19 Thread Daniel-Constantin Mierla
Merged #1037. -- 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/1037#event-1005856917___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] db_postgress: insert_update() with DO NOTHING (#1039)

2017-03-19 Thread Daniel-Constantin Mierla
Is this patch useful in existing code base? If the function doesn't exist in the db connector module, it should be not used by the modules, but do an alternative solution. Can you give some example where this is useful now? Anyhow, as I could understand from the patch, it doesn't do an update

Re: [sr-dev] availability of commits in master

2017-03-18 Thread Daniel-Constantin Mierla
; > just trying to figure out if we should build it or just wait. > > > Thanks > -- > *From:* sr-dev <sr-dev-boun...@lists.sip-router.org> on behalf of > Daniel-Constantin Mierla <mico...@gmail.com> > *Sent:* Friday, March 10, 2017 3:35:25

Re: [sr-dev] Forking and Call-ID Hiding in TOPOS

2017-03-18 Thread Daniel-Constantin Mierla
htlichen Pflichtangaben: > http://www.ng-voice.com/imprint/ > > _______ > sr-dev mailing list > sr-dev@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev > -- Daniel-Constantin Mierla - http://www.asip

Re: [sr-dev] [kamailio/kamailio] Kamailio 5 coredump 11 (SEGV) upcon receiving MESSAGE via jsonrpcs (#1030)

2017-03-18 Thread Daniel-Constantin Mierla
It was a good catch after all, indeed it should not segfault and now should be fixed. Yesterday I didn't have time to add here the comments about it, but as jsonrpcs replaced the mi_fifo, its default transports were changed in 5.0, given that xhttp is not loaded by default. I also added a

[sr-dev] git:5.0:f81c128d: jsonrpcs: safety check to see if xhttp transport was initialized

2017-03-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: f81c128dd3bf11fc52af308f36dabc926cc8ad70 URL: https://github.com/kamailio/kamailio/commit/f81c128dd3bf11fc52af308f36dabc926cc8ad70 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:5.0:72330a60: xhttp: more debug messages for sending the response

2017-03-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 72330a606ecca7dc0cf9bde0b6939ad67c0751d2 URL: https://github.com/kamailio/kamailio/commit/72330a606ecca7dc0cf9bde0b6939ad67c0751d2 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:5.0:74978801: jsonrpcs: extra debug messages when rpc response is sent

2017-03-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 74978801e2687dc43f4a017f1669360fd2c7f318 URL: https://github.com/kamailio/kamailio/commit/74978801e2687dc43f4a017f1669360fd2c7f318 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:5.0:76176130: xhttp: use stateless reply for sending http response

2017-03-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 76176130ee60ee819cd7850b7a7e433dc5c4f8cc URL: https://github.com/kamailio/kamailio/commit/76176130ee60ee819cd7850b7a7e433dc5c4f8cc Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:master:7ae5210a: jsonrpcs: safety check to see if xhttp transport was initialized

2017-03-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 7ae5210a7b9fb2d9a61cef496e9abe0da9860bee URL: https://github.com/kamailio/kamailio/commit/7ae5210a7b9fb2d9a61cef496e9abe0da9860bee Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

Re: [sr-dev] [kamailio/kamailio] Kamailio 5 coredump 11 (SEGV) upcon receiving MESSAGE via jsonrpcs (#1030)

2017-03-16 Thread Daniel-Constantin Mierla
The log messages are not from syslog, so they are missing date/time and which PID printed them. Can you redo the test and grab via syslog? You can also test with a977015 . -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] core: enable reuse of tcp sockets (#1024)

2017-03-16 Thread Daniel-Constantin Mierla
Thanks, it can be merged. -- 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/1024#issuecomment-287086658___ sr-dev mailing list

Re: [sr-dev] [kamailio/kamailio] Fix for no cdr after Kamailio 5.0 restart (#1036)

2017-03-16 Thread Daniel-Constantin Mierla
Maybe DLGCB_LOADED callback can be used for this situation -- I guess it is no need populate again the variables in the dlg structure as they were already done when the dialog was effectively created. If you create a new solution, make a commit per module and prefix the first log message with

Re: [sr-dev] [kamailio/kamailio] core: enable reuse of tcp sockets (#1024)

2017-03-16 Thread Daniel-Constantin Mierla
I think ifdef can be used to check if SO_REUSEPORT is defined, on macos: ``` /usr/include/sys/socket.h:136:#define SO_REUSEPORT0x0200 /* allow local address & port reuse */ ``` On Linux: ``` /usr/include/asm-generic/socket.h:25:#define SO_REUSEPORT 15 ``` So it appears it

Re: [sr-dev] [kamailio/kamailio] Kamailio 5 coredump 11 (SEGV) upcon receiving MESSAGE via jsonrpcs (#1030)

2017-03-16 Thread Daniel-Constantin Mierla
Can you try with latest branch 5.0 and grab again the log messages with the debug=3 in case the issue is still there. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] git:master:a9770157: xhttp: use stateless reply for sending http response

2017-03-16 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: a97701575863993f8a19f9dd611156b37ffca247 URL: https://github.com/kamailio/kamailio/commit/a97701575863993f8a19f9dd611156b37ffca247 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

[sr-dev] git:master:fa50c85a: jsonrpcs: extra debug messages when rpc response is sent

2017-03-16 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: fa50c85a9e61dd6b91ce88f3f74c433af5d414e2 URL: https://github.com/kamailio/kamailio/commit/fa50c85a9e61dd6b91ce88f3f74c433af5d414e2 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

[sr-dev] git:master:0350885c: xhttp: more debug messages for sending the response

2017-03-16 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 0350885c076fa691de6106eb821ec5890572cee6 URL: https://github.com/kamailio/kamailio/commit/0350885c076fa691de6106eb821ec5890572cee6 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

Re: [sr-dev] [kamailio/kamailio] Makefile.defs: default locks review (#1035)

2017-03-16 Thread Daniel-Constantin Mierla
Very likely the ports system set the ARCH variable in environment or command line for building kamailio, that's why a simple assignment didn't work. Also, the Makefile should have done the amd64=>x86_64 even without my changes if the ARCH was not enforced from outside. -- You are receiving

[sr-dev] git:4.4:65891fa1: Makefile.defs: override the ARCH for amd64 to x86_64

2017-03-16 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: 65891fa1051a08a261846db8926937dfcad9f518 URL: https://github.com/kamailio/kamailio/commit/65891fa1051a08a261846db8926937dfcad9f518 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:5.0:f5889fcc: Makefile.defs: override the ARCH for amd64 to x86_64

2017-03-16 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: f5889fcc9e42cae01c58357a622d2270f994b8d7 URL: https://github.com/kamailio/kamailio/commit/f5889fcc9e42cae01c58357a622d2270f994b8d7 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:master:1adf88e7: Makefile.defs: override the ARCH for amd64 to x86_64

2017-03-16 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 1adf88e7211400b8d56a6dc7c463e60a2b697b80 URL: https://github.com/kamailio/kamailio/commit/1adf88e7211400b8d56a6dc7c463e60a2b697b80 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

[sr-dev] git:4.4:d797574e: Makefile.defs: explicit retarget of amd64 arch to x86_64

2017-03-15 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: d797574e8f2b152dd2b7f6a1db51724cc4461797 URL: https://github.com/kamailio/kamailio/commit/d797574e8f2b152dd2b7f6a1db51724cc4461797 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:5.0:ae2b828b: Makefile.defs: explicit retarget of amd64 arch to x86_64

2017-03-15 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: ae2b828b49cd3aaa771a81b4c6b8893d9bad619f URL: https://github.com/kamailio/kamailio/commit/ae2b828b49cd3aaa771a81b4c6b8893d9bad619f Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:master:2bea7f5a: Makefile.defs: explicit retarget of amd64 arch to x86_64

2017-03-15 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 2bea7f5a4b2d2ddba9d9a8f050b2ceeb79d2381c URL: https://github.com/kamailio/kamailio/commit/2bea7f5a4b2d2ddba9d9a8f050b2ceeb79d2381c Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

Re: [sr-dev] [kamailio/kamailio] uri_db: rework the possibiltiy to use any sip uri and log macros updates (#1034)

2017-03-15 Thread Daniel-Constantin Mierla
The commits for new features should not be mixed with changes for formatting or renaming of functions/macros in existing code, because it is not easy to review what are the actual new additions. Please rework the changes and make a commit dedicated only to the new feature. Moreover, LM_*

[sr-dev] git:4.4:e525cbc7: Makefile.defs: enabled fast locks for amd64

2017-03-15 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: e525cbc7a9b4321b6a91feb82b9b91322c6f0b98 URL: https://github.com/kamailio/kamailio/commit/e525cbc7a9b4321b6a91feb82b9b91322c6f0b98 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:5.0:f5e2f30f: Makefile.defs: enabled fast locks for amd64

2017-03-15 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: f5e2f30fbef15d4310dd20828a70613971e67c28 URL: https://github.com/kamailio/kamailio/commit/f5e2f30fbef15d4310dd20828a70613971e67c28 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:master:e6a84b43: Makefile.defs: enabled fast locks for amd64

2017-03-15 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: e6a84b43e06f081e53bf60df137d4262f36c3c7a URL: https://github.com/kamailio/kamailio/commit/e6a84b43e06f081e53bf60df137d4262f36c3c7a Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

[sr-dev] [kamailio/kamailio] Makefile.defs: default locks review (#1035)

2017-03-15 Thread Daniel-Constantin Mierla
Apparently the default locks are set to PTHREAD mutex, when the architecture is not handled explicitely. It should be reviewed and eventually switch to standard POSIX, they should work everywhere while PTHREAD are targeting threads and work only in few cases for processes. -- You are

Re: [sr-dev] [kamailio/kamailio] Kamailio core dumped (#1021)

2017-03-15 Thread Daniel-Constantin Mierla
Closed #1021. -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1021#event-1000680948___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] Kamailio core dumped (#1021)

2017-03-15 Thread Daniel-Constantin Mierla
I see that PTHREAD_MUTEX are set as default instead of POSIX, if fast locks are not used. Maybe someone itried to see when they work very long time ago and eventually it was left like this (I tried to track the change quickly, but couldn't find it easy, too many changes in the file). Pthread

Re: [sr-dev] [kamailio/kamailio] Kamailio Crashes 11 times: Malloc (#1026)

2017-03-15 Thread Daniel-Constantin Mierla
Did you get the chance to investigate the corefile as per previous comment? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] Kamailio crashes when it receives a 404 reply to an INVITE originated after a 302. (#875)

2017-03-15 Thread Daniel-Constantin Mierla
Can you try with latest master or version 5.0? There were some changes related to TM transaction structure when handling replies that may have been the reason for your issue as well. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on

Re: [sr-dev] [kamailio/kamailio] Kamailio core dumped (#1021)

2017-03-15 Thread Daniel-Constantin Mierla
I cloned the git repository inside `/usr/local/src`, then compiled it with `gmake`. You can run `kamailio -I` to see some of the compile time flags. It is a difference between the one printed by `/usr/local/sbin/kamailio` and the one cloned by me in `/usr/local/src`. -- You are receiving this

Re: [sr-dev] [kamailio/kamailio] could not make ul_rm_contact work (#1027)

2017-03-15 Thread Daniel-Constantin Mierla
Have you had the chance to test it as per previous comment? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] utils/pdbt: FreeBSD fix, gcc is hardcoded, header is missing (#1033)

2017-03-15 Thread Daniel-Constantin Mierla
Merged #1033. -- 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/1033#event-1000483084___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] utils/pdbt: FreeBSD fix, gcc is hardcoded, header is missing (#1033)

2017-03-15 Thread Daniel-Constantin Mierla
Thanks! -- 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/1033#issuecomment-286678393___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] core: enable reuse of tcp sockets (#1024)

2017-03-14 Thread Daniel-Constantin Mierla
The patch is not that complex, so it can be merged, but I think there are few things to add afterwards: * find a way to have the option compiled always and enabled if available. Very unlikely someone will re-compile with other define options. With a quick search, maybe uname()

Re: [sr-dev] [kamailio/kamailio] presence : fix fast_notify usage (#1031)

2017-03-14 Thread Daniel-Constantin Mierla
Merged #1031. -- 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/1031#event-999668003___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] presence : fix fast_notify usage (#1031)

2017-03-14 Thread Daniel-Constantin Mierla
Thanks! -- 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/1031#issuecomment-286530059___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] Fix execinfo error in ims_dialog module (#996)

2017-03-14 Thread Daniel-Constantin Mierla
Thanks! -- 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/996#issuecomment-286529672___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] 4.4 dmqfix backport (#1029)

2017-03-14 Thread Daniel-Constantin Mierla
Merged #1029. -- 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/1029#event-999664879___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:5.0:074f52de: app_perl: Make sv2int_str() static

2017-03-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 074f52de88f473945628f81740a87e5f6bc072ea URL: https://github.com/kamailio/kamailio/commit/074f52de88f473945628f81740a87e5f6bc072ea Author: James Cloos <cl...@jhcloos.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2017-03-14T20

Re: [sr-dev] [kamailio/kamailio] Dialog: Core dump when using dlg_set_timeout (#1011)

2017-03-14 Thread Daniel-Constantin Mierla
I pushed some commits with safety checks back to 4.4. If the issue is still there, reopen. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] Dialog: Core dump when using dlg_set_timeout (#1011)

2017-03-14 Thread Daniel-Constantin Mierla
Closed #1011. -- 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/1011#event-999660339___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:4.4:ab580223: core: more safety checks for getting int values from cfg function params

2017-03-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: ab5802239d850010b2f33a7b0a627232cd15e3b9 URL: https://github.com/kamailio/kamailio/commit/ab5802239d850010b2f33a7b0a627232cd15e3b9 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:4.4:99c0c6ea: dialog: more checks for dlg_set_timeout() params

2017-03-14 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: 99c0c6ea153ca4299b22c3639cfd3613d0711f43 URL: https://github.com/kamailio/kamailio/commit/99c0c6ea153ca4299b22c3639cfd3613d0711f43 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

Re: [sr-dev] [kamailio/kamailio] Kamailio core dumped (#1021)

2017-03-14 Thread Daniel-Constantin Mierla
How did you compile kamailio? It uses pthread mutexes, which should not happen, there is no proper synchronization done there, so crashing can happen at any time. I cloned kamailio and compiled it as usual and it uses the default FAST_LOCK for sync, not PTHREAD_MUTEX. -- You are receiving

Re: [sr-dev] [kamailio/kamailio] Kamailio 5 coredump 11 (SEGV) upcon receiving MESSAGE via jsonrpcs (#1030)

2017-03-14 Thread Daniel-Constantin Mierla
Couldn't spot anything relevant wrong for sending the response. Can you grab all the log messages with debug=3 in kamailio.cfg? Hopefully it will show more leads about what frame 0 can be. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view

[sr-dev] git:5.0:40112765: topos: fix for names of parameters

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 4011276557e3658f84885d03cf7db0277f60e590 URL: https://github.com/kamailio/kamailio/commit/4011276557e3658f84885d03cf7db0277f60e590 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2

[sr-dev] git:master:4e9bea70: topos: fix for names of parameters

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 4e9bea70b6701405925eb40c14e58b5b1383f827 URL: https://github.com/kamailio/kamailio/commit/4e9bea70b6701405925eb40c14e58b5b1383f827 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

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

2017-03-13 Thread Daniel-Constantin Mierla
- URL: https://github.com/kamailio/kamailio/commit/1c7d33a9a9c169cdd55be00f30a5af1e5525c915 Author: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2017-03-13T18:50:03+01:00 Makefile: make tar updated to skip obsolete folder - paths updated to run with src folder (cherry picke

[sr-dev] git:master:618888cc: dialog: more checks for dlg_set_timeout() params

2017-03-13 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 61cc9497ae5c478c41d7b0efc27731b42b22 URL: https://github.com/kamailio/kamailio/commit/61cc9497ae5c478c41d7b0efc27731b42b22 Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> D

Re: [sr-dev] [kamailio/kamailio] substr transformation error does not include config line number (#1019)

2017-03-13 Thread Daniel-Constantin Mierla
Closed #1019. -- 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/1019#event-997601441___ sr-dev mailing list sr-dev@lists.sip-router.org

<    1   2   3   4   5   6   7   8   9   10   >