[OpenSIPS-Users] opensipsctl fifo get_statistics 'usrloc:' registered_users=3, but in script stat(registered_users) is always 0

jing 605507247 at qq.com
Fri Jul 4 11:34:46 CEST 2014


hi,all
 I want to get the value of registered_users in my script :
   xlog ("$fu not registered, register users $stat(registered_users)");
  
 The log shows:
 sip:10000 at 10.75.58.9 not registered, register users 0
  
 But when I use opensipsctl fifo get_statistics 'usrloc:' in command line,it shows:
 usrloc:registered_users = 4
usrloc:location-users = 4
usrloc:location-contacts = 4
usrloc:location-expires = 0

 I don't how to use the export statistics in script.
 regards,
  jing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140704/5af00706/attachment.htm>


More information about the Users mailing list