Re: [sr-dev] [kamailio/kamailio] support sd_notify() to improve systemd integration (#2139)

2019-11-21 Thread sergey-safarov
I can confirm kamailio process reach `sr_corecb_void_exec(app_ready);` https://github.com/kamailio/kamailio/blob/master/src/main.c#L1793 But `ksr_sd_app_ready` not called. https://github.com/kamailio/kamailio/blob/master/src/modules/systemdops/systemdops_mod.c#L55 -- You are receiving this

[sr-dev] git:master:9d3b3467: pkg/kamailio/deb: version set 5.4.0~dev2

2019-11-21 Thread Victor Seva
Module: kamailio Branch: master Commit: 9d3b3467da0d2724fad3e1db030076c8f4627620 URL: https://github.com/kamailio/kamailio/commit/9d3b3467da0d2724fad3e1db030076c8f4627620 Author: Victor Seva Committer: Victor Seva Date: 2019-11-22T08:32:54+01:00 pkg/kamailio/deb: version set 5.4.0~dev2 ---

[sr-dev] git:master:3bc5379a: pkg/docker: updated submodule

2019-11-21 Thread Sergey Safarov
Module: kamailio Branch: master Commit: 3bc5379aef4e37343b54660dace4774b9aceb6e3 URL: https://github.com/kamailio/kamailio/commit/3bc5379aef4e37343b54660dace4774b9aceb6e3 Author: Sergey Safarov Committer: Sergey Safarov Date: 2019-11-21T17:26:06+03:00 pkg/docker: updated submodule ---

[sr-dev] git:master:6677dfdb: pkg/kamailio/obs: fixed rpm requirment for python23

2019-11-21 Thread Sergey Safarov
Module: kamailio Branch: master Commit: 6677dfdba3534a0f50c15fe5b43b8220444b18ad URL: https://github.com/kamailio/kamailio/commit/6677dfdba3534a0f50c15fe5b43b8220444b18ad Author: Sergey Safarov Committer: Sergey Safarov Date: 2019-11-21T17:12:37+03:00 pkg/kamailio/obs: fixed rpm requirment

[sr-dev] git:5.3:2b4a6265: pkg/kamailio/obs: fixed rpm requirment for python23

2019-11-21 Thread Sergey Safarov
Module: kamailio Branch: 5.3 Commit: 2b4a62658176a72b99f0f5a1f8ea88fb6baad30c URL: https://github.com/kamailio/kamailio/commit/2b4a62658176a72b99f0f5a1f8ea88fb6baad30c Author: Sergey Safarov Committer: Sergey Safarov Date: 2019-11-21T17:18:17+03:00 pkg/kamailio/obs: fixed rpm requirment for

Re: [sr-dev] [kamailio/kamailio] Unexpected log_systemd behavior when daemon is forked (#799)

2019-11-21 Thread Anthony Messina
> If found if kamailio started from command line like `kamailio -DD -E` and > present `log_engine_type="systemd"`, then i can see messages from > `sd_journal_print` and `xlog` functions. > > When I start kamailio with same config as systemd service then I not see > messages from

Re: [sr-dev] [kamailio/kamailio] support sd_notify() to improve systemd integration (#2139)

2019-11-21 Thread Anthony Messina
> I tested a bit more in Fedora 31, but couldn't get this to work as a module. > Similar kamailio/systemd issues like #799, which I'll update there, > subjectively. > > Thanks again for working toward systemd integration. Confirming that @linuxmaniac's initial patch does work with `kamailio

Re: [sr-dev] [kamailio/kamailio] Unexpected log_systemd behavior when daemon is forked (#799)

2019-11-21 Thread sergey-safarov
If found if kamailio started from command line like `kamailio -DD -E` and present `log_engine_type="systemd"`, then i can see messages from `sd_journal_print` and `xlog` functions. When I start kamailio with same config as systemd service then I not see messages from `sd_journal_print` and

Re: [sr-dev] [kamailio/kamailio] Unexpected log_systemd behavior when daemon is forked (#799)

2019-11-21 Thread sergey-safarov
I tested master branch and found feature is worked as expect. Tested with with one and multiple listeners. Goes to add log_systemd.so to rpm packaging -- 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] Unexpected log_systemd behavior when daemon is forked (#799)

2019-11-21 Thread Anthony Messina
> Got a bit of time to test this with latest master and it seems to work with > following basic config: > > ``` > #!KAMAILIO > > ### Global Parameters # > > ### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR > debug=2 > log_stderror=no > > memdbg=5 > memlog=5 > >

Re: [sr-dev] [kamailio/kamailio] support sd_notify() to improve systemd integration (#2139)

2019-11-21 Thread Anthony Messina
I tested a bit more in Fedora 31, but couldn't get this to work as a module. Similar kamailio/systemd issues like #799, which I'll update there, subjectively. Thanks again for working toward systemd integration. -- You are receiving this because you are subscribed to this thread. Reply to

Re: [sr-dev] [kamailio/kamailio] support sd_notify() to improve systemd integration (#2139)

2019-11-21 Thread Anthony Messina
> Trying to test @miconda's commits on top of the 5.3 branch--can't get > Kamailio to notify systemd on startup. strace doesn't show anything > attempting to send notification to systemd. I'll keep trying... Looking through `main.c`, I think this is because `sr_corecb_void_exec(app_ready);` is

Re: [sr-dev] [kamailio/kamailio] support sd_notify() to improve systemd integration (#2139)

2019-11-21 Thread Anthony Messina
Trying to test @miconda's commits on top of the 5.3 branch--can't get Kamailio to notify systemd on startup. strace doesn't show anything attempting to send notification to systemd. I'll keep trying... -- You are receiving this because you are subscribed to this thread. Reply to this email

Re: [sr-dev] [kamailio/kamailio] nathelper : added new function set_alias_to_avp (#2124)

2019-11-21 Thread Yasin CANER
@ycaner06 pushed 1 commit. 2f863bfbf95e0f9dec590c4ec5f1839d94f8120d nathelper : set_alias_to_avp is renamed to set_alias_to_pv -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [sr-dev] [kamailio/kamailio] keepalive : added new function del_destination and added cfg functions (#2133)

2019-11-21 Thread Henning Westerholt
@gbour - some comments from your side about this extensions from Yasin? -- 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 sending CCR TERMINATE request without waiting for the CCR INITIAL request response (#2143)

2019-11-21 Thread Henning Westerholt
I don't know, but then it could be analysed and if its not working also fixed in our code. -- 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] support sd_notify() to improve systemd integration (#2139)

2019-11-21 Thread Victor Seva
> Feel free to improve/change it as you need I will, thank you! -- 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 sending CCR TERMINATE request without waiting for the CCR INITIAL request response (#2143)

2019-11-21 Thread harishyadav1465
is it working as expected in 5.2.x or 5.3.x version ? -- 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/2143#issuecomment-557082089___

Re: [sr-dev] rtpengine play DTMF from SIP INFO

2019-11-21 Thread Henning Westerholt
Hello, have a look to the version 5.3.1 https://kamailio.org/docs/modules/5.3.x/modules/rtpengine.html#rtpengine.f.block_dtmf Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com Kamailio Merchandising – https://skalatan.de/merchandising

Re: [sr-dev] [kamailio/kamailio] Kamailio sending CCR TERMINATE request without waiting for the CCR INITIAL request response (#2143)

2019-11-21 Thread Henning Westerholt
Thanks for the report. Unfortunately the version 4.2 is long end of life and is not supported anymore. Please update to a version from the 5.2.x or 5.3.x releases. -- 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 sending CCR TERMINATE request without waiting for the CCR INITIAL request response (#2143)

2019-11-21 Thread Henning Westerholt
Closed #2143. -- 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/2143#event-2819593706___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] support sd_notify() to improve systemd integration (#2139)

2019-11-21 Thread Daniel-Constantin Mierla
Closed #2139. -- 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/2139#event-2819536796___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] support sd_notify() to improve systemd integration (#2139)

2019-11-21 Thread Daniel-Constantin Mierla
See the newly added systemdops module -- beware it was not tested! Feel free to improve/change it as you need, I did more or less the framework to avoid the need to re-compile the core with libsystemd dependency. -- You are receiving this because you are subscribed to this thread. Reply to

[sr-dev] git:master:f6c17cef: Makefile.defs: version set to 5.4.0-dev2

2019-11-21 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: f6c17cefe4c84fff3321a14e2a95c346c095b319 URL: https://github.com/kamailio/kamailio/commit/f6c17cefe4c84fff3321a14e2a95c346c095b319 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-11-21T13:45:29+01:00 Makefile.defs:

[sr-dev] git:master:0c48e162: systemdops: new module to facilitate integration with systemd

2019-11-21 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 0c48e1621c88bf1d390e4cfb82e52b2d6339b837 URL: https://github.com/kamailio/kamailio/commit/0c48e1621c88bf1d390e4cfb82e52b2d6339b837 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-11-21T13:42:14+01:00 systemdops: new

[sr-dev] git:master:b19d702e: src/Makefile.groups: added systemdops module to systemd group

2019-11-21 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: b19d702e66098adad723cbb667006589a65a37b2 URL: https://github.com/kamailio/kamailio/commit/b19d702e66098adad723cbb667006589a65a37b2 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-11-21T13:44:35+01:00 src/Makefile.groups:

[sr-dev] git:master:03aa6556: core: main - executes callbacks on app ready and shutdown

2019-11-21 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 03aa6556ef59c0b274c78f2edc2231c6d2ed333b URL: https://github.com/kamailio/kamailio/commit/03aa6556ef59c0b274c78f2edc2231c6d2ed333b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-11-21T13:41:38+01:00 core: main - executes

[sr-dev] git:master:99403c83: core: events - support for basic void core callbacks

2019-11-21 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 99403c83f2163350eda3b76180947b1fddcdf500 URL: https://github.com/kamailio/kamailio/commit/99403c83f2163350eda3b76180947b1fddcdf500 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-11-21T13:40:21+01:00 core: events -

[sr-dev] [kamailio/kamailio] Kamailio sending CCR TERMINATE request without waiting for the CCR INITIAL request response (#2143)

2019-11-21 Thread harishyadav1465
**Description** We are using ims_charging module and Freediameter as diameter server for billing processrecently we faced one issue...For Initial **INVITEs** kamailio sending **CCR request (INITIAL_REQUEST)** to **diameter server** but if we receive Immediate **CANCLE** for the

Re: [sr-dev] Kamailio Developer Guide

2019-11-21 Thread Daniel-Constantin Mierla
Hello, the source of the that documentation is on:   * https://github.com/asipto/kamailio-devel-guide which uses docbook xml files. The rpm.kamailio.org was redirected recently to a different server that is now building rpms and hosting those repos. Probably we have to add another subdomain

[sr-dev] rtpengine play DTMF from SIP INFO

2019-11-21 Thread Giuseppe Pandolfi
Hi, I'm using kamailio (v. 5.2.1) and rtpengine (v. mr8.0.1.1) to test transcoding rtp. All works. From rtpengine documentation I see that ther is possibility to play DTMF tone from SIP INFO message using "play DTMF" ng control protocol message but I don't found rtpengine module function to do

[sr-dev] git:master:0ad7fb46: dispatcher: set the proper internal id for $dsv(reason)

2019-11-21 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 0ad7fb46f633b8f710c4bab299121fe993ed03c5 URL: https://github.com/kamailio/kamailio/commit/0ad7fb46f633b8f710c4bab299121fe993ed03c5 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-11-21T11:49:50+01:00 dispatcher: set the

Re: [sr-dev] [kamailio/kamailio] core: add support for parsing http/2 replies parsing (#2132)

2019-11-21 Thread Federico Cabiddu
The patches applied cleanly on both branches, I needed a couple of days to test. I've cherry-picked the commit. -- 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.3:c3392b75: core: add support for parsing http/2 replies parsing

2019-11-21 Thread Federico Cabiddu
Module: kamailio Branch: 5.3 Commit: c3392b750ebe70db7aee8928fd40b704af23a5d9 URL: https://github.com/kamailio/kamailio/commit/c3392b750ebe70db7aee8928fd40b704af23a5d9 Author: Federico Cabiddu Committer: Federico Cabiddu Date: 2019-11-21T11:27:35+01:00 core: add support for parsing http/2

[sr-dev] git:5.2:18444d61: core: add support for parsing http/2 replies parsing

2019-11-21 Thread Federico Cabiddu
Module: kamailio Branch: 5.2 Commit: 18444d619b87c3734f3078f09c50a4fef1f8a259 URL: https://github.com/kamailio/kamailio/commit/18444d619b87c3734f3078f09c50a4fef1f8a259 Author: Federico Cabiddu Committer: Federico Cabiddu Date: 2019-11-21T11:26:53+01:00 core: add support for parsing http/2

[sr-dev] git:5.3:8b558ce9: tm: execute TMCB_REQUEST_FWDED cb as BRANCH_ROUTE when necessary

2019-11-21 Thread Victor Seva
Module: kamailio Branch: 5.3 Commit: 8b558ce9aa0625bdc2d3c66d795a450ce982a716 URL: https://github.com/kamailio/kamailio/commit/8b558ce9aa0625bdc2d3c66d795a450ce982a716 Author: Victor Seva Committer: Victor Seva Date: 2019-11-21T10:08:13+01:00 tm: execute TMCB_REQUEST_FWDED cb as BRANCH_ROUTE

[sr-dev] git:5.2:7b103271: tm: execute TMCB_REQUEST_FWDED cb as BRANCH_ROUTE when necessary

2019-11-21 Thread Victor Seva
Module: kamailio Branch: 5.2 Commit: 7b10327189fc6c1cf1c53fc7c90bed84753ec54b URL: https://github.com/kamailio/kamailio/commit/7b10327189fc6c1cf1c53fc7c90bed84753ec54b Author: Victor Seva Committer: Victor Seva Date: 2019-11-21T10:05:00+01:00 tm: execute TMCB_REQUEST_FWDED cb as BRANCH_ROUTE

Re: [sr-dev] [kamailio/kamailio] tm: TMCB_REQUEST_FWDED callbacks are always executed as ROUTE_REQUEST (#2141)

2019-11-21 Thread Victor Seva
Closed #2141. -- 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/2141#event-2818800775___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] tm: execute TMCB_REQUEST_FWDED cb as BRANCH_ROUTE when necessary (#2142)

2019-11-21 Thread Victor Seva
Merged #2142 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/2142#event-2818799147___ Kamailio (SER) - Development Mailing

Re: [sr-dev] [kamailio/kamailio] tm: TMCB_REQUEST_FWDED callbacks are always executed as ROUTE_REQUEST (#2141)

2019-11-21 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/issues/2141#issuecomment-556986242___ Kamailio (SER) - Development Mailing List

[sr-dev] git:master:bc40eaa4: tm: execute TMCB_REQUEST_FWDED cb as BRANCH_ROUTE when necessary

2019-11-21 Thread Victor Seva
Module: kamailio Branch: master Commit: bc40eaa4fe446bffd9f41d5d6b21becd7b7fdc87 URL: https://github.com/kamailio/kamailio/commit/bc40eaa4fe446bffd9f41d5d6b21becd7b7fdc87 Author: Victor Seva Committer: Victor Seva Date: 2019-11-21T10:01:14+01:00 tm: execute TMCB_REQUEST_FWDED cb as

Re: [sr-dev] [kamailio/kamailio] tm: TMCB_REQUEST_FWDED callbacks are always executed as ROUTE_REQUEST (#2141)

2019-11-21 Thread Daniel-Constantin Mierla
I think it is ok, the TMCB_REQUEST_FWDED callback seems to be used only by dialog module for dmq replication. -- 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] Crashes on handling of BYE with 5.3.0 (#2121)

2019-11-21 Thread Daniel-Constantin Mierla
Can you print the sip_msg structure that is given as parameter to pv_set_ruri() in frame 6? It should be named msg or so ... the backtrace you pasted doesn't have the usual format printed by GNU gdb. Can you use GNU gdb and give the backtrace printed by it? Because I am familiar with that one

Re: [sr-dev] [kamailio/kamailio] Crashes on handling of BYE with 5.3.0 (#2121)

2019-11-21 Thread Daniel-Constantin Mierla
It is about dst uri ($du) because the error message is about previous memory fragment: ``` qm_debug_check_frag(): BUG: qm: prev. fragm. tail overwritten(c0c0c000, abcdefed)[0x801544380:0x8015443b8] ``` And looking at the previous fragment, the details show it was allocated by set_dst_uri():