[SR-Users] SDP body, add maxptime attribut

2021-05-26 Thread Victor Velo
Hello, I would like to add the maxptime attribut to the sdp body. How and where should I do insertion? This kamailio is also using RTPEngine, so is it better to do the insertion using RTPEngine? And the source of the SDP is actually FreeSwitch :), maybe there to tweak? Of course, I don't know

Re: [SR-Users] Collecting stats from Kamailio.cfg using Kamailio_exporter Prometheus

2021-05-26 Thread Ovidiu Sas
Hello Hisham, Yes, you can. Here are the steps: 1. load the jsonrpcs and jansson module, 2. collect your data using the jsonrpc_exec() function, 3. handle the data using the jansson methods, 4. store the data in a new metric(s) using the prom_gauge_set() function. Then let the prometheus

[SR-Users] Body formats for filter_body()

2021-05-26 Thread Duarte Rocha
Hello all, A couple years ago the function filter_body() from textops would only work with "application/sdp" if the string on the body was "Content-Type: application/sdp\r\n". It would fail if there wasn't a space after ":" and it would fail if there was present "\r\n\r\n" instead of "\r\n". Is

Re: [SR-Users] not able to display number in SCA module

2021-05-26 Thread Daniel-Constantin Mierla
Hello, I am not familiar with SCA, if nobody answers soon, I can only recommend to look into source code of the module and see if that is possible in some way or needs C coding, based on SCA specs. Cheers, Daniel On 24.05.21 17:00, Aatif Shaikh wrote: > Hello All, >           I am using sca

Re: [SR-Users] segfault kamailio 4.4.6 Registrar

2021-05-26 Thread Daniel-Constantin Mierla
Hello, the backtrace is incomplete or corefile truncated, not much useful information out of it. Like it was suggested, the best is to move to a maintained series, 4.4 is pretty old for a devel to remember easily what issues were at that moment and fixed meanwhile. Cheers, Daniel On 25.05.21

Re: [SR-Users] Collecting stats from Kamailio.cfg using Kamailio_exporter Prometheus

2021-05-26 Thread Hisham Ahmad Jan
Hi Arsen, Thank you for the reply. Just a quick little question. Previously, I had installed NodeRed on my Kamamilio to show total calls. For that, I also enabled a JSON RPC module which used to collect data and show it on NodeRed. My question is, can I use kamailio_exporter to scrape data onto