hi,
i'm using kamailio+rtpengine as SBC. I need info about
- current number of total calls
- current number of incoming calls
- current number of outgoing calls
what's you preferred way? (kamailio snmp, statistics module,rtpengine-ctl list numsessions,...)
Marek
Hi Marek,
depends on your needs.
There is an Prometheus module if you on that side or I personally use dialog module with profiles in out total and fetch that with shell scripts by telegraf which feeds them into influxdb. Also that parsed rtpengine-ctl.
But rtpengine had also an grafana export that I do not use at this time.
And there is an lighter dlg module maybe that can count also. And the statistics of Kamailio itself brings many numbers.
There is no turnkey read solution more ideas how to solve the question.
Kind regards Karsten Horsmann
marek cervajs64@gmail.com schrieb am Fr., 19. Feb. 2021, 13:58:
hi,
i'm using kamailio+rtpengine as SBC. I need info about
current number of total calls
current number of incoming calls
current number of outgoing calls
what's you preferred way? (kamailio snmp, statistics module,rtpengine-ctl list numsessions,...)
Marek
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
there is some problem problem with rtpengine-ctl list numsessions and caching.
i have
Current sessions own: 719 Current sessions foreign: 0 Current sessions total: 719
but current calls is maybe around 50
i wil check the prometheus module
thanks
Marek
Dne 19/02/2021 v 15:06 Karsten Horsmann napsal(a):
Hi Marek,
depends on your needs.
There is an Prometheus module if you on that side or I personally use dialog module with profiles in out total and fetch that with shell scripts by telegraf which feeds them into influxdb. Also that parsed rtpengine-ctl.
But rtpengine had also an grafana export that I do not use at this time.
And there is an lighter dlg module maybe that can count also. And the statistics of Kamailio itself brings many numbers.
There is no turnkey read solution more ideas how to solve the question.
Kind regards Karsten Horsmann
marek <cervajs64@gmail.com mailto:cervajs64@gmail.com> schrieb am Fr., 19. Feb. 2021, 13:58:
hi, i'm using kamailio+rtpengine as SBC. I need info about - current number of total calls - current number of incoming calls - current number of outgoing calls what's you preferred way? (kamailio snmp, statistics module,rtpengine-ctl list numsessions,...) Marek _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi Marek,
Could be that your rtpengine sessions are not deleted correctly in some cases.
You can list the sessions with "rtpengine-ctl list sessions all" and check the callids there with your cdrs and check the "mark for deletion" row.
rtpengine AFAIK keeps the deleted sessions in the list and remove it then from time to time.
Which is normally not a long period (not sure every 30 seconds or longer).
Anyhow if the number of rtpengine sessions grows up and your dialog did not match with that, than it could be an issue with your config how you control rtpengine.
Or your dialog counter is not corrected.
Kind regards
marek cervajs64@gmail.com schrieb am Mi., 24. Feb. 2021, 14:16:
there is some problem problem with rtpengine-ctl list numsessions and caching.
i have
Current sessions own: 719 Current sessions foreign: 0 Current sessions total: 719
but current calls is maybe around 50
i wil check the prometheus module
thanks
Use the dialog module to group those calls into named profiles, and query using the dialog module RPC command ‘dlg.profile_get_size’.
— Sent from mobile, with due apologies for brevity and errors.
On Feb 19, 2021, at 7:57 AM, marek cervajs64@gmail.com wrote:
hi,
i'm using kamailio+rtpengine as SBC. I need info about
current number of total calls
current number of incoming calls
current number of outgoing calls
what's you preferred way? (kamailio snmp, statistics module,rtpengine-ctl list numsessions,...)
Marek
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users