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@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
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to