Different Sounds for Admin/Customer Notes

  1. What is your original issue/pain point you want to solve?
    When a ticket has a note submit, a sound is created. It would be nice in order to distinguish Customer notes from Admin notes. I.E Internal Notes/Public Notes.

  2. Which are one or two concrete situations where this problem hurts the most?
    The admin team is working on inputting notes to tickets constantly asking other team members “Was that you”? Distinguishing by sound when a note is from a customer or admin.

  3. Why is it not solvable with the Zammad standard?
    If anyone would like to build off this we are going to focus on the online_notification.coffee file contained in /opt/zammad/app/assets/javascripts/app/controllers/widget/
    I attempted to add lines below:
    try
    if item.object is ‘Article’
    article = App.Article.find(item.o_id)
    if article? and article.internal?
    App.Audio.play(‘/assets/sounds/Bell.mp3’)
    else
    App.Audio.play(‘/assets/sounds/Xylo.mp3’)
    else
    App.OnlineNotification.play()
    catch error
    console.error(“Notification sound error:”, error)
    App.OnlineNotification.play()
    This seems to make 0 sounds for ticket notifications (I am not familiar with CoffeeScript so im sure im doing something wrong)
    Ive tried other alterations to this scripting, although it seems to break the login page of Zammad.

  4. What is your expectation/what do you want to achieve?
    One sound plays if internal notification, A different sound plays if its a public notification

Your Zammad environment:

  • Average concurrent agent count: 3
  • Average tickets a day: 10
  • What roles/people are involved: IT/Admin

Anything else which you think is useful to understand your use case:

Thank you and have fun.