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

2018-12-07 Thread Daniel-Constantin Mierla
Have you tried with variable? ``` $var(delimiter) = ","; if ($(dlg_var(cgrSuppliers){param.count,$var(delimiter)}) > 0) ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] [kamailio/kamailio] mqueue: new RPC command mqueue.fetch (#1760)

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

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

2018-12-07 Thread Sergey Lavrov
Unfortunalty param.count still can't accept comma (,) as separator. Code block: ``` if ($(dlg_var(cgrSuppliers){param.count,,}) > 0) { } ``` Errors: ``` ERROR: pv [pv_trans.c:2854]: tr_parse_paramlist(): invalid separator in transformation: count,,} ERROR: [core/pvapi.c:1715]: tr_lookup(): error

[sr-dev] git:master:802fc969: app_python: support executing kemi functions with (str*, str*, int, int, str*) params

2018-12-07 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 802fc969a07d275bd5bac0d0107879b01a6d875f URL: https://github.com/kamailio/kamailio/commit/802fc969a07d275bd5bac0d0107879b01a6d875f Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2018-12-07T14:43:49+01:00 app_python: support

Re: [sr-dev] [kamailio/kamailio] pkg/kamailio/obs: Fixed warning about not existen kamailio group (#1756)

2018-12-07 Thread sergey-safarov
PR is updated, but not tested locally. If now of, then i will test locally and squash commits. -- 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] pkg/kamailio/obs: Fixed warning about not existen kamailio group (#1756)

2018-12-07 Thread sergey-safarov
@sergey-safarov pushed 1 commit. 5f4d926b2ce62249af926719a74b060e703daebb Added group kamailio -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [sr-dev] [kamailio/kamailio] pkg/kamailio/obs: Fixed warning about not existen kamailio group (#1756)

2018-12-07 Thread sergey-safarov
Looks as here options `--system --group` is create group `kamailio` -- 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] pkg/kamailio/obs: Fixed warning about not existen kamailio group (#1756)

2018-12-07 Thread Victor Seva
>From the manpage of adduser: > If adduser is called with the --group option and without the --system > option, or addgroup is called respectively, a user group will be added. -- 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] pkg/kamailio/obs: Fixed warning about not existen kamailio group (#1756)

2018-12-07 Thread sergey-safarov
I looked into [kamailio.postinst](https://github.com/kamailio/kamailio/blob/master/pkg/kamailio/deb/debian/kamailio.postinst) and can find add user command but cannot see group addition command. @linuxmaniac could you point me to group addition on debian packaging script. -- You are receiving

Re: [sr-dev] [kamailio/kamailio] pkg/kamailio/obs: Fixed warning about not existen kamailio group (#1756)

2018-12-07 Thread Daniel-Constantin Mierla
Isn't the group `kamailio` created with the install scripts from rpm? I think on debian, the group is created. It would be good to have same approach on both types of packaging, makes it easier for docs and being coherent no matter of operating system, as systemd is supposed to be same configs

Re: [sr-dev] [kamailio/kamailio] Proxy Protocol support (#1757)

2018-12-07 Thread Daniel-Constantin Mierla
@teotwaki - following the hep3 handling should be a good approach, thanks for considering to contribute and working on this feature! -- 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] Suddenly found kamailio dead (#1717)

2018-12-07 Thread Daniel-Constantin Mierla
Closed #1717. -- 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/1717#event-2012327943___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] Suddenly found kamailio dead (#1717)

2018-12-07 Thread Daniel-Constantin Mierla
Thanks for the feedback! -- 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/1717#issuecomment-445219025___ Kamailio (SER) - Development

Re: [sr-dev] [kamailio/kamailio] Suddenly found kamailio dead (#1717)

2018-12-07 Thread Mathias Schneuwly
Thanks for the fix! I've installed the patch about one week ago and I don't see any negative issue till now. I have to say that I saw the problem just once, so I can't reproduce it and I can't really confirm the fix. So feel free to close this ticket. -- You are receiving this because you are

Re: [sr-dev] [kamailio/kamailio] Segmentation fault adding bodypart to a multiparted message. (#1758)

2018-12-07 Thread Victor Seva
Closed #1758. -- 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/1758#event-2012168271___ Kamailio (SER) - Development Mailing List

[sr-dev] git:5.0:7b20199f: core: fixed segmentation fault when handling multipart bodies

2018-12-07 Thread Victor Seva
Module: kamailio Branch: 5.0 Commit: 7b20199f3e45331e4c02a314f0184dc0690c5bca URL: https://github.com/kamailio/kamailio/commit/7b20199f3e45331e4c02a314f0184dc0690c5bca Author: Nacho Garcia Segovia Committer: Victor Seva Date: 2018-12-07T12:02:36+01:00 core: fixed segmentation fault when

[sr-dev] git:5.1:52af0594: core: fixed segmentation fault when handling multipart bodies

2018-12-07 Thread Victor Seva
Module: kamailio Branch: 5.1 Commit: 52af0594dc602bfe207c7a629fe6ea71f01840b6 URL: https://github.com/kamailio/kamailio/commit/52af0594dc602bfe207c7a629fe6ea71f01840b6 Author: Nacho Garcia Segovia Committer: Victor Seva Date: 2018-12-07T12:02:12+01:00 core: fixed segmentation fault when

[sr-dev] git:5.2:224162d7: core: fixed segmentation fault when handling multipart bodies

2018-12-07 Thread Victor Seva
Module: kamailio Branch: 5.2 Commit: 224162d728d50adee8226308d5971fec069e278a URL: https://github.com/kamailio/kamailio/commit/224162d728d50adee8226308d5971fec069e278a Author: Nacho Garcia Segovia Committer: Victor Seva Date: 2018-12-07T11:56:44+01:00 core: fixed segmentation fault when

Re: [sr-dev] [kamailio/kamailio] core: fixed segmentation fault when handling multipart bodies (#1759)

2018-12-07 Thread Victor Seva
Merged #1759 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/1759#event-2012148058___ Kamailio (SER) - Development Mailing

Re: [sr-dev] [kamailio/kamailio] core: fixed segmentation fault when handling multipart bodies (#1759)

2018-12-07 Thread Victor Seva
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/1759#issuecomment-445196668___ Kamailio (SER) - Development Mailing List

[sr-dev] git:master:18e485a3: core: fixed segmentation fault when handling multipart bodies

2018-12-07 Thread Victor Seva
Module: kamailio Branch: master Commit: 18e485a3172055fa5c808c2423629d5bbd10b37e URL: https://github.com/kamailio/kamailio/commit/18e485a3172055fa5c808c2423629d5bbd10b37e Author: Nacho Garcia Segovia Committer: Victor Seva Date: 2018-12-07T11:54:06+01:00 core: fixed segmentation fault when

Re: [sr-dev] [kamailio/kamailio] coredump when used append_body_part (#1631)

2018-12-07 Thread sergey-safarov
Related to https://github.com/kamailio/kamailio/issues/1758 issue And to https://github.com/kamailio/kamailio/pull/1759 PR -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] [kamailio/kamailio] core: fixed segmentation fault when handling multipart bodies (#1759)

2018-12-07 Thread Nacho G.
Function check_boundaries() in msg_translator.c not handling property the length of the buffers when it needs to repair the boundary, getting a negative lenght and causing a segmentation fault. Pre-Submission Checklist - [x] Commit message has the format required by CONTRIBUTING

[sr-dev] [kamailio/kamailio] Segmentation fault adding bodypart to a multiparted message. (#1758)

2018-12-07 Thread Nacho G.
### Description ### Troubleshooting Reproduction When This cfg snippet is ran: ``` if ($cT =~ "multipart/mixed*") { append_body_part("body_to_add", "text/plain"); msg_apply_changes(); } ``` Debugging Data ``` (paste your debugging data here) ```

Re: [sr-dev] [kamailio/kamailio] Module: security to prevent different types of attacks (#1755)

2018-12-07 Thread Pepelux
Thank you very much for the review. I am working on solving each point. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: