Obtaining statistic values programmatically

6 views
Skip to first unread message

Victor Neiman

unread,
Jun 15, 2012, 7:27:24 AM6/15/12
to little...@googlegroups.com
Hi,

I am interested in obtaining the statistic values that appear on the web pages for the P-CSCF and S-CSCF under SIP Statistics, like the 'Current call sessions' and 'Total call sessions' and so on. I was hoping that there are API methods for accessing those values but looking around in the code I could not find anything. Please advise if such API calls exist, or perhaps which package I should look at for generating/calculating the values?

Regards and thanks
Victor Neiman

Nicolas

unread,
Jun 15, 2012, 7:40:53 AM6/15/12
to little...@googlegroups.com
Hi,
These statistics can be get using JMX on MBean:
org.cipango.server.session:type=sessionmanager,id=0
Current call sessions is the attribute callSessions
Total call sessions is the attribute callSessionsTotal

If you want to look at the code that display SIP statistics, it is available at

http://code.google.com/p/cipango/source/browse/trunk/cipango-console/src/main/java/org/cipango/console/printer/statistics/SipStatisticPrinter.java

Regards,
Nicolas

Le 15/06/2012 13:27, Victor Neiman a �crit :
> --
> Vous recevez ce message, car vous �tes abonn� au groupe Google
> Groupes littleims-dev.
> Cette discussion peut �tre lue sur le Web � l'adresse
> https://groups.google.com/d/msg/littleims-dev/-/cNh3pcjQnAEJ.
> Pour envoyer un message � ce groupe, adressez un e-mail
> � little...@googlegroups.com.
> Pour vous d�sabonner de ce groupe, envoyez un e-mail � l'adresse
> littleims-de...@googlegroups.com.
> Pour plus d'options, consultez la page de ce groupe :
> http://groups.google.com/group/littleims-dev?hl=fr
Reply all
Reply to author
Forward
0 new messages