Sorry I’ve been extremely busy but I looked at our call routing script just now and yes you need to add more than only the script in the start block. I kind of forgot about that but you need to call the different sub routines in the corresponding blocks to have it actually do something.
So here’s what you need to do:
- copy my script with your modifications into the block “Start → Parameter → Userscript”
- in the script there are different routines like “Sub NewCall” so you open the block for a new call “Klingelt” (ringing) or whatever it’s named in your script and there you enter the command “NewCall” in the Parameter → Userscript section. This actually executes the script
- repeat this with the other two sub routines: add “CallAnswer” to your block “Ruf angenommen” and add “CloseCall” to the block “Anruf beendet”.
If these blocks are not present in your script you have to add them.
I hope this clears all confusion about the implementation and helps others if they are searching for this.
FYI this is a screenshot of our helpdesk call routing script :