Re: [SR-Users] xHTTP_PROM with older Kamailio

2020-07-13 Thread Marat Gareev
Hello, Karsten, Thanks for the link. I will definitely examine it. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] xHTTP_PROM with older Kamailio

2020-07-13 Thread Karsten Horsmann
Hi Marat, You could also reach your goal with an golang program that provides prometheus for example https://github.com/florentchauveau/kamailio_exporter AFAIK there are also an implementation from pacom. Cheers Karsten Marat Gareev schrieb am Mo., 13. Juli 2020, 14:31: > I found that the e

Re: [SR-Users] No of registartions

2020-07-13 Thread Henning Westerholt
Hello, if you use the DB storage mode, you can simple look in the database. If you use in-memory storage, look to the usrloc readme to see the available RPC commands to print user location. If you are interested in statistics, you can print the usrloc statistics with kamcmd stats command. Che

Re: [SR-Users] xHTTP_PROM with older Kamailio

2020-07-13 Thread Henning Westerholt
Hello Marat, Thanks for letting us know, good that you found it. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com From: Marat Gareev Sent: Monday, July 13, 2020 2:29 PM To: Henning Westerholt Cc: Kamailio (SER) - Us

Re: [SR-Users] xHTTP_PROM with older Kamailio

2020-07-13 Thread Marat Gareev
I found that the export module interface was changed ( https://www.kamailio.org/w/2018/09/new-module-exports-interface/). I downgraded to old-style version this structure > struct module_exports exports = { > "xhttp_prom", > DEFAULT_DLFLAGS, /* dlopen flags */ > cmds, > params, >

Re: [SR-Users] subsequent ds_select_dst with different groups

2020-07-13 Thread David VILLAUME
Hello, Thanks Daniel , I missed it in 5.2 releases notes, my code went really clearer now. Regards, David From: Daniel-Constantin Mierla Sent: Monday, July 13, 2020 1:39 PM To: Kamailio (SER) - Users Mailing List ; David VILLAUME Subject: Re: [SR-Users] subsequent ds_select_dst with differen

Re: [SR-Users] subsequent ds_select_dst with different groups

2020-07-13 Thread Daniel-Constantin Mierla
Hello, see also:   - https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.f.ds_select_routes Maybe suits better to do all selections in one step. Cheers, Daniel On 13.07.20 13:24, David VILLAUME wrote: > > Hello, > >   > > Thanks both of you for your answers, my prob

Re: [SR-Users] subsequent ds_select_dst with different groups

2020-07-13 Thread David VILLAUME
Hello, Thanks both of you for your answers, my problem was effectively with unexhausted set/group. Thanks again. Regards, David From: David VILLAUME Sent: Friday, July 10, 2020 7:51 PM To: Kamailio (SER) - Users Mailing List Subject: subsequent ds_select_dst with different groups Hello, Is

[SR-Users] No of registartions

2020-07-13 Thread Pavithra Mohanraja
Hi, Is there any way to query number of registrations happened in kamailio IMS. Kindly reply . Thanks, Pavithra ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Compact SIP

2020-07-13 Thread Daniel-Constantin Mierla
Hello, I don't recall having any out-of-the-box function for it, but you should be able to leverage the text operation functions, like: replace_hdrs("^f:", "From:"); If you need to see the update in the config, you have to see the msg_apply_changes() function. Otherwise, it should not be hard t