diff --git a/userparameter_fusionpbx.conf b/userparameter_fusionpbx.conf new file mode 100644 index 0000000..f175a16 --- /dev/null +++ b/userparameter_fusionpbx.conf @@ -0,0 +1,6 @@ +UserParameter=freeswitch.calls-count-total, fs_cli -x 'show calls count as xml' | cut -d'"' -f2 +UserParameter=freeswitch.calls-count-inbound, fs_cli -x 'show calls count inbound as xml' | sed 's/total.//g' +UserParameter=freeswitch.calls-count-outbound, fs_cli -x 'show calls count outbound as xml' | sed 's/total.//g' +UserParameter=freeswitch.channels-count, fs_cli -x 'show channels count as xml' | cut -d'"' -f2 +UserParameter=freeswitch.sessions, fs_cli -x 'show status' | grep 'out of max' | cut -d' ' -f1 +UserParameter=freeswitch.registration-count, fs_cli -x 'sofia status profile internal reg' | sed 's/Total items returned:\|//' | tail -3 | sed -n '1p' \ No newline at end of file