Hi,
o Elena-Ramona Modroiu [02/11/09 11:48]:
Hi everybody,
a new version, 0.9.1, of SIREMIS - the web management interface for
Kamailio (OpenSER) and
SIP-Router.org - is released.
this looks very nice.
Just recently I started with some monitoring support
for SEMS
(
http://lists.iptel.org/pipermail/semsdev/2009-February/003517.html)
The way this works is to push some call related info to the monitoring
module, and access it from the outside via DI functions, e.g. via XMLRPC
(
http://svn.berlios.de/wsvn/sems/trunk/doc/Readme.monitoring). So you
can get e.g. a list of callids by executing the XMLRPC function
server.listActive(), and get the info for a call with server.get(callid).
At the moment it logs ruri/from/to/application/direction in the core,
for conference application additionally the conference room. To
illustrate, you would get this from the server:
>> s.list()
['3c2d4bde0d60-gds81g00uz1n']
>> s.get(s.list()[0])
[{'from': '"2(a)stefan-lap.office.iptego.de"
<sip:2@stefan-lap.office.iptego.de>', 'app': 'conference',
'to':
'<sip:35@stefan-lap.office.iptego.de;user=phone>', 'conf_id':
'35',
'ruri': 'sip:35@stefan-lap.office.iptego.de;user=phone', 'dir':
'in'}]
This is of course extensible, e.g. codec used, call start/end time etc.
Maybe, if we would add a way to monitor SEMS servers from within
SIREMIS, it would give a good opportunity to monitor e.g. conference
bridge, voicemail server, prepaid app, or b2bua (like sbc).
What do you think?
I think it would be very useful. It looks to me more like an extension
to communicate via XMLRPC with SEMS - send command and display the result.
What is the XMLRPC you are using in SEMS? The C library used in Kamailio
proved quite unstable, therefore SIREMIS uses MI UDP - simpler protocol
and easy to troubleshoot. There should be XMLRPC PHP lib, therefore easy
to extend SIREMIS.
Is it possible to get statistic information out of SEMS? Like number of
active calls? Such data can be used to build charts, which is nice to
monitor the service health and evolution.
Regards,
Ramona