Re: [sr-dev] Make some commands in kamailio rtpengine module asynchronous

2022-11-28 Thread Henning Westerholt
Hello, what is the motivation behind this? Are you seeing performance issues in a production environment that could not solved e.g., by adding some more rtpengine resources? Regarding implementation, you could also have a look for example at the http_async_client module, which might be a bit m

[sr-dev] Build failed in Jenkins: kamailio56-nightly-binaries » amd64,jammy #31

2022-11-28 Thread kamailio
See Changes: -- [...truncated 20.94 KB...] *** Adding content of /etc/jenkins/pbuilderrc to pbuilder configfile *** + cat /etc/jenkins

[sr-dev] Build failed in Jenkins: kamailio56-nightly-binaries » amd64,jessie #31

2022-11-28 Thread kamailio
See Changes: -- [...truncated 20.73 KB...] + echo EATMYDATA=yes + use_ccache + '[' '' = true ']' + '[' -n /etc/jenkins/pbuilderrc ']'

[sr-dev] git:5.6:e8494799: pkg/kamailio/deb: fix jammy build

2022-11-28 Thread Victor Seva
Module: kamailio Branch: 5.6 Commit: e8494799a86a0487c013ca457cac88fac4ce6501 URL: https://github.com/kamailio/kamailio/commit/e8494799a86a0487c013ca457cac88fac4ce6501 Author: Victor Seva Committer: Victor Seva Date: 2022-11-28T10:05:40+01:00 pkg/kamailio/deb: fix jammy build --- Modified: p

Re: [sr-dev] Make some commands in kamailio rtpengine module asynchronous

2022-11-28 Thread Aditya Gupta
We have 2 rtpengines in production and thousands of calls coming in. Few of them get timed out because they don't get processed in time by rtpengine. Simply by making 3 commands; offer, answer and delete. It can help us a lot with this. I think I've understood what needs to be done and, in a da

Re: [sr-dev] [kamailio/kamailio] Bad content-length header value after invoking uac_auth() (Issue #3275)

2022-11-28 Thread Ay
We have finally solved this issue with playing with branc_routes. Creating another branch_route in the failure_route (for auth purposes) and moving rtp_engine offer and record_route() to this branch_route fixed the issue. We also had to use set_send_socket () to get rid of the FIXME issues. Tha

Re: [sr-dev] [kamailio/kamailio] Bad content-length header value after invoking uac_auth() (Issue #3275)

2022-11-28 Thread Ay
Closed #3275 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3275#event-7900906683 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Develo

[sr-dev] git:master:afd78113: Makefile.defs: version set to 5.7.0-dev2

2022-11-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: afd781131248e4271c1ea9bc66dc5c76010838b7 URL: https://github.com/kamailio/kamailio/commit/afd781131248e4271c1ea9bc66dc5c76010838b7 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2022-11-28T09:55:39+01:00 Makefile.defs: version

Re: [sr-dev] [kamailio/kamailio] Bad content-length header value after invoking uac_auth() (Issue #3275)

2022-11-28 Thread Daniel-Constantin Mierla
OK, good that it was solved and the feedback here should help others with similar issues. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3275#issuecomment-1328785639 You are receiving this because you are subscribed to this thread. Message ID:

Re: [sr-dev] Make some commands in kamailio rtpengine module asynchronous

2022-11-28 Thread Henning Westerholt
Hello, as mentioned, there are people using rtpengine with larger installations (like some racks of rtpengine). But we are of course always open for improvements of our code base. 😊 If there are some changes that are needed in rtpengine daemon code as well, it probably needs to be raised in th

[sr-dev] Info: Dates for next Kamailio World Conference in Berlin: June 5-7, 2023

2022-11-28 Thread Daniel-Constantin Mierla
Hello, the next year Kamailio World Conference is planed to return in Berlin for an in-person event at the usual location in the city center. For the moment, we would like to announce the dates, respectively June 5-7, 2023. If nothing unexpected happens meanwhile, the call for speakers and regis

[sr-dev] git:master:305b1323: pkg/kamailio/deb: version set 5.7.0~dev2

2022-11-28 Thread Victor Seva
Module: kamailio Branch: master Commit: 305b13237cfbd11c45f19bc6a92b2fc829f05409 URL: https://github.com/kamailio/kamailio/commit/305b13237cfbd11c45f19bc6a92b2fc829f05409 Author: Victor Seva Committer: Victor Seva Date: 2022-11-28T11:54:49+01:00 pkg/kamailio/deb: version set 5.7.0~dev2 --- M

[sr-dev] [kamailio/kamailio] Added asynchronous offer, answer and delete rtpe functions (PR #3286)

2022-11-28 Thread Aditya_gupta
New feature Description: Added functions that provide asynchronous functionality of the standard rtpe functions; Offer, Answer, Delete. You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/3286 -- Commit Summary -- * Added asynchronous

Re: [sr-dev] [kamailio/kamailio] Added asynchronous offer, answer and delete rtpe functions (PR #3286)

2022-11-28 Thread Aditya_gupta
@adityagupta-9900 pushed 1 commit. 89f43a1d2c0137059bf2cf94ce9c19481bab01a2 Corrected datatype issue by using int instead of bool -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3286/files/3d10d212dd3403514b6efc4529739c975152a41e..89f43a1d2c0137059bf2cf94ce9c19481bab01a2 You ar

Re: [sr-dev] [SR-Users] Info: Dates for next Kamailio World Conference in Berlin: June 5-7, 2023

2022-11-28 Thread Alex Balashov
Ausgezeichnet!!! > On Nov 28, 2022, at 6:34 AM, Giovanni Maruzzelli wrote: > > On Mon, Nov 28, 2022 at 11:47 AM Daniel-Constantin Mierla > wrote: > > the next year Kamailio World Conference is planed to return in Berlin > for an in-person event at the usual location in the city center. > >

Re: [sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)

2022-11-28 Thread iliesh
Hi @miconda , I can't compile the module anymore, getting the error: ``` make nats_mod.c: In function ‘nats_cleanup_connection’: nats_mod.c:540:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for(int s = 0; s < NATS_MAX_SERVERS; s++) { ^ nats_mod.c:540:2: note: use opt

[sr-dev] [kamailio/kamailio] accounting module inserts random data into reason header fields (Issue #3287)

2022-11-28 Thread Henning Westerholt
The accounting module seems to inserts random data into reason header fields, see attached screenshot. This was observed after an upgrade to Kamailio 5.5.4 from an 5.4.9. I did a quick review of the changes between both branches, and the commit c5f6ff37f61f99e0 seems to be touching this functio

[sr-dev] git:master:d315eb26: nats: declare variable at beginning of function

2022-11-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: d315eb26c1e4b9fcb4b9696f3b6492b2131ccf1b URL: https://github.com/kamailio/kamailio/commit/d315eb26c1e4b9fcb4b9696f3b6492b2131ccf1b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2022-11-28T14:27:34+01:00 nats: declare variable

[sr-dev] git:master:8531e4f5: app_python3: updates to use generic kemi function execution from core

2022-11-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 8531e4f50ec33f06562bd102e334532df2474102 URL: https://github.com/kamailio/kamailio/commit/8531e4f50ec33f06562bd102e334532df2474102 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2022-11-28T14:27:34+01:00 app_python3: updates t

Re: [sr-dev] [kamailio/kamailio] accounting module inserts random data into reason header fields (Issue #3287)

2022-11-28 Thread Henning Westerholt
Actually its the same problem as in #2981 reported. Its already fixed in git master, will backport the commit to 5.5. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3287#issuecomment-1329092250 You are receiving this because you are subscribed t

[sr-dev] git:5.5:0ad72e16: acc: Fix reason code for locally generated replies. (#3137)

2022-11-28 Thread Henning Westerholt
Module: kamailio Branch: 5.5 Commit: 0ad72e16757e86b6e3be9095d2e6282e9ba1690f URL: https://github.com/kamailio/kamailio/commit/0ad72e16757e86b6e3be9095d2e6282e9ba1690f Author: Frits Wiersma Committer: Henning Westerholt Date: 2022-11-28T13:30:11Z acc: Fix reason code for locally generated repl

Re: [sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)

2022-11-28 Thread Daniel-Constantin Mierla
I don't recall enforcing specific c standard in makefile, although we try to use older standards in c code to enable using on old systems, although c99 is very old and probably we can consider it as ok for everything now. What are the OS, kernel and gcc versions you use? For the sake of testing

Re: [sr-dev] [kamailio/kamailio] accounting module inserts random data into reason header fields (Issue #3287)

2022-11-28 Thread Henning Westerholt
Closed #3287 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3287#event-7902995039 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Develo

Re: [sr-dev] [kamailio/kamailio] accounting module inserts random data into reason header fields (Issue #3287)

2022-11-28 Thread Henning Westerholt
Should be fixed in 5.5 branch also now by 0ad72e16757e8 -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3287#issuecomment-1329098728 You are receiving this because you are subscribed to this thread. Message ID: ___

Re: [sr-dev] [kamailio/kamailio] accounting module inserts random data into reason header fields (Issue #3287)

2022-11-28 Thread Daniel-Constantin Mierla
Remember that you have to cherry-pick from the next upper stable branch (in this case from branch 5.6), if it is not the latest stable branch, because it keeps tracks of all cherry-picks, allowing to compare with all upper stable branches as well as with master in order to find easier what commi

Re: [sr-dev] Make some commands in kamailio rtpengine module asynchronous

2022-11-28 Thread Richard Fuchs
On 28/11/2022 04.14, [EXT] Aditya Gupta wrote: We have 2 rtpengines in production and thousands of calls coming in. Few of them get timed out because they don't get processed in time by rtpengine. Simply by making 3 commands; offer, answer and delete. It can help us a lot with this. I think I

Re: [sr-dev] Make some commands in kamailio rtpengine module asynchronous

2022-11-28 Thread Aditya Gupta
Hey! I've raised a PR against the master. It has passed all the build checks successfully. I'm looking forward to someone's code review. Thank you. From: Henning Westerholt Sent: Monday, November 28, 2022 3:09:20

Re: [sr-dev] [kamailio/kamailio] ims_usrloc_pcscf: implementation of db_mode DB_ONLY (value 3) (PR #3279)

2022-11-28 Thread petermarianF
@petermarianF pushed 1 commit. 906a982b8f4a43084b96a8879ecdccbc5d647b52 add modparam db_mode to usrloc_api -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3279/files/fee4d6c7d84f0b5fee9bf92ed330da37b2f8da46..906a982b8f4a43084b96a8879ecdccbc5d647b52 You are receiving this because

Re: [sr-dev] [kamailio/kamailio] Added asynchronous offer, answer and delete rtpe functions (PR #3286)

2022-11-28 Thread Daniel-Constantin Mierla
At first look, this is not about async processing, but only suspending the transaction before doing the rtpproxy control command. There is no passing of a task to some async worker, nor resuming the transaction. Practically your code does something like: ``` t_suspend(); rtpengine_offer()/_answ

Re: [sr-dev] Make some commands in kamailio rtpengine module asynchronous

2022-11-28 Thread Daniel-Constantin Mierla
On 28.11.22 14:58, Richard Fuchs wrote: > On 28/11/2022 04.14, [EXT] Aditya Gupta wrote: >> We have 2 rtpengines in production and thousands of calls coming in. >> Few of them get timed out because they don't get processed in time by >> rtpengine. Simply by making 3 commands; offer, answer and de

Re: [sr-dev] [kamailio/kamailio] Added asynchronous offer, answer and delete rtpe functions (PR #3286)

2022-11-28 Thread Henning Westerholt
If it can be implemented with another module, this is of course better and easier then changing the module code, which needs maintenance in the end. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3286#issuecomment-1329326866 You are receiving this

Re: [sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)

2022-11-28 Thread iliesh
Hi @miconda , Now it's compiling successfully and kamailio doesn't seem to crash anymore but it's not starting either. Those are the errors from the log file: ``` Nov 28 16:20:26 k1-dev k1-dev[24701]: INFO: nats [nats_mod.c:439]: nats_init_connection(): adding server [nats://192.168.1.1:4222] [

Re: [sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)

2022-11-28 Thread Emmanuel Schmidbauer
Hi, that last error appears to be related to libnats `could not create nats options [System Error]` Can you confirm the Nats server is available? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3253#issuecomment-1329423422 You are receiving this

Re: [sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)

2022-11-28 Thread iliesh
Hi @eschmidbauer , Yes, at least using telnet I'm able to connect from Kamailio server. ``` [root@dev src]# telnet 192.168.1.1 4222 Trying 192.168.1.1... Connected to 192.168.1.1. Escape character is '^]'. INFO {"server_id":"NAK6SMFE53GJYNICKK6QFTXDAIWEL753AC4ZN4CMRFC5XSWXBIA6GUJA","server_name"

Re: [sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)

2022-11-28 Thread iliesh
I installed a nats server on the same box where kamailio is running, and got the same error: ``` Nov 28 18:02:25 k1-dev k1-dev[25790]: INFO: nats [nats_mod.c:439]: nats_init_connection(): adding server [nats://127.0.0.1:4222] [1] Nov 28 18:02:25 k1-dev k1-dev[25790]: ERROR: nats [nats_mod.c:458]

Re: [sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)

2022-11-28 Thread iliesh
unfortunately that didn't help either, the same error: ``` Nov 28 18:26:35 k1-dev k1-dev[27366]: INFO: nats [nats_mod.c:439]: nats_init_connection(): adding server [nats://127.0.0.1:4222] [1] Nov 28 18:26:35 k1-dev k1-dev[27366]: ERROR: nats [nats_mod.c:458]: nats_init_connection(): could not cr

Re: [sr-dev] [kamailio/kamailio] Kamailio 5.7 (master branch) commit 0d363cf1 segfault related to dialog variable print debug function (Issue #3276)

2022-11-28 Thread MayamaTakeshi
OK. Latest commit 8531e4f50ec33f06562bd102e334532df2474102 passed all functional tests. I have started 4 load test environments with it. Thank you. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3276#issuecomment-1329933374 You are receiving th

[sr-dev] Build failed in Jenkins: kamailio56-nightly-binaries » amd64,jessie #32

2022-11-28 Thread kamailio
See Changes: -- [...truncated 20.73 KB...] + echo EATMYDATA=yes + use_ccache + '[' '' = true ']' + '[' -n /etc/jenkins/pbuilderrc ']'

[sr-dev] Build failed in Jenkins: kamailio55-nightly-binaries » amd64,jessie #77

2022-11-28 Thread kamailio
See Changes: -- [...truncated 20.73 KB...] + echo EATMYDATA=yes + use_ccache + '[' '' = true ']' + '[' -n /etc/jenkins/pbuilderrc ']'

[sr-dev] git:master:9dbf3aef: app_python: updates to use generic kemi function execution from core

2022-11-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 9dbf3aefa4de2e794fba12978a9640e803fb483e URL: https://github.com/kamailio/kamailio/commit/9dbf3aefa4de2e794fba12978a9640e803fb483e Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2022-11-29T08:10:46+01:00 app_python: updates to

[sr-dev] git:master:6e813fd8: app_python3: removed extra semicolon

2022-11-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 6e813fd8e0522f43f5c07b145834cd12dbd006f9 URL: https://github.com/kamailio/kamailio/commit/6e813fd8e0522f43f5c07b145834cd12dbd006f9 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2022-11-29T08:28:37+01:00 app_python3: removed e