Mibew Messenger Community

General => Support => Topic started by: frankiekam on August 11, 2013, 08:31:59 AM

Title: Play wav sound after clicking the Send button
Post by: frankiekam on August 11, 2013, 08:31:59 AM
By default, a ding wav sound is heard everytime I receive a message. However, I would like the system to play a wav file each and everytime I send a message. Like right after I click the send button and the message appears on my operator's window (or on the visitor's window). How do I do this?
Frankie Kam
Title: Re: Play wav sound after clicking the Send button
Post by: Dmitriy Simushev on August 12, 2013, 10:03:10 AM
Hello,

Unfortunately there is no any configuration option to do what you want.

If you know JavaScript well you can modify your 'js/sorce/chat.js' file and add call for playSound function to postMessage method
of Ajax.ChatThreadUpdater class.

More information about changing Mibew JavaScript files you can find at http://mibew.org/forums/index.php/topic,329.0.html (http://mibew.org/forums/index.php/topic,329.0.html)

Dmitriy