Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

symposium scripting

Status
Not open for further replies.

sk391

Technical User
Jun 13, 2007
102
GB
hello im trying to set up a script that will measure the number of calls queuing against a skillset. I have used a script of the master script with the following,


IF QUEUED CALL COUNT test WITH CALL PRIORITY 1 > 1 THEN
DISCONNECT
END IF

QUEUE TO SKILLSET test WITH PRIORITY 1

its just a test script and im just testing that the symposium knows that the number of call is greater than 1 and then disconnect. It doesnt do this and instead queues all the calls against the test skillset instead. Do i have to define the 'queued call count' somewhere in symposium?

Thanks
 
If you don't queue the call first, it is not included in the queued call count.

Also, your check will only disconnect the call if 2 or more priority 1 calls are currently queued. You may want to use >= instead of just >.
 
Thanks Milesprower

iv changes the script now so that the call is queued;


QUEUE TO SKILLSET test

IF QUEUED CALL COUNT test > 1 THEN DISCONNECT

END IF

but it still doesnt discconect the call. I think that the sym server doesnt know what a QUEUED CALL COUNT is do I have to predefined it somewhere. I know that it is a skillset intrinsics - but where do I define that this is a value and how would I go about then scripting it.

Thanks
 
Your syntax is correct. But it will only disconnect the call if there is more than 1 (e.g. 2 or more) calls in queue.

You should either change the value to zero (QUEUED CALL COUNT test > 0) or change the logical expression (QUEUED CALL COUNT test >= 1).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top