Dashing widget to show number of calls in Queue for a Broadworks call center. This widget uses the default dashing meter widget.
This widget uses the XSI interface defined by the XSI Schema for your Broadworks deployment.
Add the following code snippet to your dashboard .erb file:
<!-- set your data-max="" value to match your Queue length in your callcenter -->
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="QUEUECALLS" data-view="Meter" data-title="Queue Calls" data-moreinfo="# of calls in Queue." data-min="0" data-max="100" style="background-color:#ff9618"></div>
</li>
Copy qcalls.rb into your jobs directory.
In your dashboard.erb file set data-max="" to match your Call Center Queue length.
In qcalls.rb set the uri = URI(TO THE URL OF RESOURCE FOR YOUR BROADWORKS CALL CENTER)
In qcalls.rb set SCHEDULER.every <'NUMBER OF SECONDS'> to the number of seconds to poll Queue calls. Make sure you do not exceed server transaction limits.
Hey there, I am getting the following output. Does anybody have any idea how to fix?