Different SoundBoard Audio for Different Agent

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Different SoundBoard Audio for Different Agent

Postby elyc1990 » Sat Dec 02, 2017 4:00 pm

Hi all,

I successfully configured soundboard for agents. However, the audio files in soundboard are shared. Is there any way to upload and play different audio file (each recorded with agents' own voice) for different agents?

The reason is that our customers may ask out-of-box questions so we need agents to come in whenever this happens.

My Vicidial Version:
VERSION: 2.14-636a
BUILD: 171011-1450
elyc1990
 
Posts: 26
Joined: Fri Dec 16, 2016 5:35 am

Re: Different SoundBoard Audio for Different Agent

Postby blackbird2306 » Sat Dec 02, 2017 8:44 pm

No this feature is not implemented yet.
But follow my instructions and then it's possible:
1. Backup and edit "vdc_soundboard_display.php" in directory srv/www/htdocs/agc :
change line 476 to:
Code: Select all
PLAY_query = "source=soundboard&stage=PLAY&dial_override=Y&function=audio_playback&user=" + api_user + "&pass=" + clean_var(api_set) + "&agent_user=" + agent_user + "&value=" + temp_audio_file + "_" + agent_user + "&agent_debug=" + soundboard_event_log;

2. Upload your files for each agent with different file name in this format: "soundfilename_agent_user" e.g. "traffic_6666.gsm"
3. Take care that all files have the same prefix soundfilename from soundboard configuration menu followed by "_" and the agent id: e.g. traffic_6666.gsm, traffic_4444.gsm and so on
3. This is just a fast solution: the real sound file length for the progress bar will be ignored (put for all sound files a base file also in directory e.g. "traffic.gsm" without agent prefix
3. That's all for now have fun
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: Different SoundBoard Audio for Different Agent

Postby elyc1990 » Sun Dec 03, 2017 12:41 am

Thanks for your solution! I will try it out
elyc1990
 
Posts: 26
Joined: Fri Dec 16, 2016 5:35 am


Return to Support

Who is online

Users browsing this forum: No registered users and 83 guests