Details
Description
A while ago I submitted a patch for not listing registrations when doing "sofia status profile foo" because that list can become quite long.
http://jira.freeswitch.org/browse/FS-3699
Since a while I've been using the "sofia xmlstatus profile foo" to get statistics to graph them in Cacti, so now I'm experiencing the same problem there, a long list of registrations, while all I want to get is some basic statistics. Documentation in the wiki already shows that reg should be appended with xmlstatus if you want to list them:
http://wiki.freeswitch.org/wiki/Mod_sofia#View_SIP_Registrations
Attached patch disables listing of all the registrations when doing xmlstatus without the reg appended.
The patch also adds a field "registrations" to both status and xmlstatus with a counter value.
http://jira.freeswitch.org/browse/FS-3699
Since a while I've been using the "sofia xmlstatus profile foo" to get statistics to graph them in Cacti, so now I'm experiencing the same problem there, a long list of registrations, while all I want to get is some basic statistics. Documentation in the wiki already shows that reg should be appended with xmlstatus if you want to list them:
http://wiki.freeswitch.org/wiki/Mod_sofia#View_SIP_Registrations
Attached patch disables listing of all the registrations when doing xmlstatus without the reg appended.
The patch also adds a field "registrations" to both status and xmlstatus with a counter value.