Zammad CTI and Swyx Netphone Server

Continuing the discussion from Zammad CTI and SwyxIT:

Infos:

  • Used Zammad version: 5.4
  • Used Zammad installation type: package
  • Operating system: Linux
  • Browser + version: Edge, Chrome etc.

Expected behavior:

  • getting phone calls from swyx netphone server
  • integrated VBS script of @awedor in our start block of our routing.

Actual behavior:

  • nothing happens in Zammad
  • we tried to call the generated URL strings for new calls and hangup calls and the are working fine - all events were shown in Zammad

Steps to reproduce the behavior:

Questions

@awedor is it simply copy and paste your script into the start block of the routing in field “user script” - of course replacing MYNUMBER placeholder.
But how will swyx netphone call your sub-routines “Sub NewCall”, “Sub CallAnswer” and “Sub CloseCall”? Do we have to do any mapping in the start routine block?
May can send us a screenshot via PM? Or give us other further tips? Thank you very much!

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:

  1. copy my script with your modifications into the block “Start → Parameter → Userscript”
  2. 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

2022-12-13 09_01_56-ASGRD - ASG-RemoteDesktop 2022

  1. 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 :smile::