Re: [SR-Users] SNMP, export concurrent calls count

2022-05-30 Thread Ovidiu Sas
Take a look at the xhttp_prom module. You will need to upgrade. -ovidiu On Mon, May 30, 2022 at 13:37 ZZ Wave wrote: > Hello. > > Debian 10, Kamailio 5.2.1 > > I want to monitor concurrent calls in/out per every trunk connected to > this proxy (it's done with dialog profiles), and export this t

[SR-Users] SNMP, export concurrent calls count

2022-05-30 Thread ZZ Wave
Hello. Debian 10, Kamailio 5.2.1 I want to monitor concurrent calls in/out per every trunk connected to this proxy (it's done with dialog profiles), and export this to Zabbix. But I can't find in snmpstats documentation how to export user-defined variables. Help me please. Maybe SNMP isn't the be

Re: [SR-Users] Centos kamailio.repo file is not updated

2022-05-30 Thread Daniel-Constantin Mierla
Thanks Sergey for looking into it! Cheers, Daniel On 30.05.22 16:05, Sergey Safarov wrote: > Hello Patrick > Repo file updated, you can try to install the latest releases. > > Sergey > > On Mon, May 30, 2022 at 1:18 PM Daniel-Constantin Mierla > wrote: > > Hello, > > maybe Sergey can tak

Re: [SR-Users] Fedora RPMs

2022-05-30 Thread Sergey Safarov
Hi Tim and Daniel Kamailio for Fedora 35 and 36 is not packaged because for building script we use docker container on https://codefresh.io/ provider and this dist does not work on codefresh.io server in the docker containers. Reason Fedora 35 and 36 use new Linux calls that is supported only on th

Re: [SR-Users] Centos kamailio.repo file is not updated

2022-05-30 Thread Sergey Safarov
Hello Patrick Repo file updated, you can try to install the latest releases. Sergey On Mon, May 30, 2022 at 1:18 PM Daniel-Constantin Mierla wrote: > Hello, > > maybe Sergey can take a look at it, he used to take care of rpm repos. > > Or, if there is a command that should be run, I can try to

Re: [SR-Users] DNS Failover try next destination on receiving code other than 503

2022-05-30 Thread Daniel-Constantin Mierla
On 30.05.22 12:45, Patrick Karton wrote: > Thanks for Feedback. > I will create PR. It would be appreciated. Just in case it helps, as a hint, maybe you can leverage (reuse or inspire from) the C code done for dispatcher modparam ds_ping_reply_codes: - https://www.kamailio.org/docs/modules/stab

Re: [SR-Users] DNS Failover try next destination on receiving code other than 503

2022-05-30 Thread Patrick Karton
Thanks for Feedback.I will create PR.Le 30 mai 2022 11:28, Daniel-Constantin Mierla a écrit : Hello, probably you have to extend the C code to support this feature, if there is no module parameter in tm module that allows customization at this moment.

Re: [SR-Users] KEMI Python Syntax

2022-05-30 Thread Daniel-Constantin Mierla
Hello, there is not such KSR.py file at this moment, but maybe you can start from the script made for Lua:   - https://github.com/kamailio/kamailio/blob/master/misc/tools/kemi/lua/kemiksrlib.py and adapt it for Python. The one above generates something similar for Lua. You can play with it in th

Re: [SR-Users] DNS Failover try next destination on receiving code other than 503

2022-05-30 Thread Daniel-Constantin Mierla
Hello, probably you have to extend the C code to support this feature, if there is no module parameter in tm module that allows customization at this moment. Cheers, Daniel On 23.05.22 16:48, Patrick Karton wrote: > Hello,  > > im using DNS Failover and everything works well except i would li

Re: [SR-Users] get and store destination ip address and port that the request will be sent to

2022-05-30 Thread Daniel-Constantin Mierla
Hello, if you want them in the onsend_route, then there should be variables like $sndto(ip), $sndto(port). Cheers, Daniel On 23.05.22 21:30, Patrick Karton wrote: > Hello is there a way or pseudo var to get ip address & port  that the > request will be sent to and save it in to another variab

Re: [SR-Users] Possibility of mirroring the rpm/deb.kamailio.org repos efficiently via rsync?

2022-05-30 Thread Daniel-Constantin Mierla
Hello, there is no read-only for all rsync available on rpm/deb repos, afaik. Not sure what it would take to do it from security point of view. The debs are built on a cloud service, not residing on our servers. Cheers, Daniel On 03.03.21 07:51, Malte Schmidt wrote: > Hello, > > is there an rsyn

Re: [SR-Users] Fedora RPMs

2022-05-30 Thread Daniel-Constantin Mierla
Hello, I do not know if they were ever packaged so far. Pinging again Sergey to comment on this one, as maintainer of the rpm repos. Cheers, Daniel On 16.05.22 12:22, Tim Anderson wrote: > Hi, > > I can't find any RPMs for Fedora 35 or 36. Have they moved somewhere > other than rpm.kamailio.org?

Re: [SR-Users] Centos kamailio.repo file is not updated

2022-05-30 Thread Daniel-Constantin Mierla
Hello, maybe Sergey can take a look at it, he used to take care of rpm repos. Or, if there is a command that should be run, I can try to do it -- as a Debian user, I am not familiar with the rpm-based distros. Cheers, Daniel On 24.05.22 00:46, Patrick Wakano wrote: > Hello ist, > I've noticed s

Re: [SR-Users] Find Values in User part of Diversion URI

2022-05-30 Thread Lewis Hutchinson
Thanks Daniel In this case we are good with the {uri.user} because I am only reading this header for something else but appreciate what you have said around {tobody.uri} From: Daniel-Constantin Mierla Sent: 30 May 2022 09:41 To: Kamailio (SER) - Users Mailing List ; Lewis Hutchinson Subject

Re: [SR-Users] Find Values in User part of Diversion URI

2022-05-30 Thread Daniel-Constantin Mierla
Hello, you should use {tobody.uri} before {uri.user}, because Diversion body does not include only a URI. To remove numbers, try {re.subst,/[0-9]//g} Cheers, Daniel On 30.05.22 10:13, Lewis Hutchinson wrote: > >   > > Excellent thanks I knew there would be a simple way that I was > missing, jus

Re: [SR-Users] Find Values in User part of Diversion URI

2022-05-30 Thread Lewis Hutchinson
Excellent thanks I knew there would be a simple way that I was missing, just couldn't get my head into it late on Friday. Thanks Henning Lewis From: Henning Westerholt Sent: 28 May 2022 11:13 To: Kamailio (SER) - Users Mailing List Cc: Lewis Hutchinson Subject: RE: Find Values in User part