Page 1 of 1

Audio Playback On A Live Call

PostPosted: Tue Jul 29, 2014 12:53 pm
by krishnandu.sarkar
Hello,
What I'm trying to achieve is, on agent screen I'll develop few buttons and on click of a button a pre-formatted audio file will be played on the line.

While searching I came upon eflo-dot-net/VICIDIALforum/viewtopic.php?t=13489 [Not able to post the URL] but I'm not able to understand how to proceed.

Also, I came upon a URL like SERVERIP/agc/api.php?source=test&user=agent002&pass=goautodial&agent_user=agent002&function=audio_playback&value=go_mymusic&stage=PLAY. I modified the value parameter to that of my file name, but it isn't working.

I'm running the latest version of GoAutoDial downloaded from it's official site. Is Vicibox any different from that?

I have reviewed the log at OpenHub and it seems that matt have already commited the changes. But I don't think the changes exists in latest version GoAutoDial.

Can anyone please guide me out?

Re: Audio Playback On A Live Call

PostPosted: Tue Jul 29, 2014 11:22 pm
by mflorell
Goautodial is using older code. You either have to upgrade it or install Vicibox.

Re: Audio Playback On A Live Call

PostPosted: Wed Jul 30, 2014 11:09 am
by williamconley
Or you could try this (Avatar!):
http://catalog.poundteam.com/product_in ... cts_id=521

We also have a "lite" version which is just an API interface.

Our Avatar works with any version of Vicidial and does not modify the Vicidial code in any way. It's an Add-On.

Re: Audio Playback On A Live Call

PostPosted: Wed Jul 30, 2014 1:50 pm
by mflorell
We also have an agent audio soundboard interface for the agent and admin. It requires the newest code and it is only available to ViciHost customers for now. It also has the ability to stop audio while playing and to restart them while playing as well. There is no extra cost to have this enabled on a ViciHost account.

Image

Re: Audio Playback On A Live Call

PostPosted: Mon Aug 04, 2014 9:16 am
by krishnandu.sarkar
Thanks a lot matt for all the help :)

Re: Audio Playback On A Live Call

PostPosted: Mon Aug 04, 2014 12:44 pm
by krishnandu.sarkar
Ok. Thanks a lot to Matt for giving the clues. The problem is solved. Just posting the findings here, so that someone in future can be benefited :)

First of all Asterisk not starting properly can be solved using viewtopic.php?f=8&t=33277

And finally, for playing a audio file on live call refer http://www.vicidial.org/docs/AGENT_API.txt with the function audio_playback

Sample :
http:// SERVERIP/agc/api.php?source=test&user=ADMIN_USER_NAME&pass=ADMIN_USER_PASS&agent_user=AGENT_USER_NAME&function=audio_playback&value=FILE_NAME_FROM_AUDIO_STORE_EXCEPT_EXTENSION&stage=PLAY

http:/ / SERVERIP/agc/api.php?source=test&user=6666&pass=1234&agent_user=201&function=audio_playback&value=mymusic&stage=PLAY [Note : No Extension in File Name]

Added space in URL so that it doesn't gets transformed in to a link.

Re: Audio Playback On A Live Call

PostPosted: Mon Aug 04, 2014 1:27 pm
by williamconley
krishnandu.sarkar wrote:Ok. Thanks a lot to Matt for giving the clues. The problem is solved. Just posting the findings here, so that someone in future can be benefited :)

First of all Asterisk not starting properly can be solved using viewtopic.php?f=8&t=33277

And finally, for playing a audio file on live call refer http://www.vicidial.org/docs/AGENT_API.txt with the function audio_playback

Sample :
http:// SERVERIP/agc/api.php?source=test&user=ADMIN_USER_NAME&pass=ADMIN_USER_PASS&agent_user=AGENT_USER_NAME&function=audio_playback&value=FILE_NAME_FROM_AUDIO_STORE_EXCEPT_EXTENSION&stage=PLAY

http:/ / SERVERIP/agc/api.php?source=test&user=6666&pass=1234&agent_user=201&function=audio_playback&value=mymusic&stage=PLAY [Note : No Extension in File Name]

Added space in URL so that it doesn't gets transformed in to a link.

Excellent postback!

Re: Audio Playback On A Live Call

PostPosted: Sun Nov 27, 2016 10:33 am
by mflorell
The VICIdial Agent Audio Soundboard is now included in the VICIdial codebase, just upgrade your system, activate the feature in System Settings, and you've got it.

Here's a screenshot of the agent screen with the soundboard loaded:
Image

You can also see what the admin interface for it looks like in our online demo: (6666 / 1234)
http://www.vicidial.org/vicidial_demo/a ... _test&DB=0

Re: Audio Playback On A Live Call

PostPosted: Sun Dec 04, 2016 7:16 am
by mehro
Incredible,

Just upgraded and i can see setting related to soundboard though cannot see how to add a soundboard into a campaign.
I guess it is added via SCRIPT but cannot see any simple way configuring it.

Do we have any guidelines as to how to setup the soundboard?

Re: Audio Playback On A Live Call

PostPosted: Sun Dec 04, 2016 8:55 am
by mflorell
Did you read the HELP on the Soundboard Admin screen?

Script Example -
<iframe src="./vdc_soundboard_display.php?user=--A--user--B--&pass=--A--pass--B--&bcrypt=OFF&soundboard_id=XXXX" style="background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" width="100%" height="500"> </iframe>

Re: Audio Playback On A Live Call

PostPosted: Sun Dec 04, 2016 3:00 pm
by williamconley
mflorell wrote:Did you read the HELP on the Soundboard Admin screen?

Script Example -
<iframe src="./vdc_soundboard_display.php?user=--A--user--B--&pass=--A--pass--B--&bcrypt=OFF&soundboard_id=XXXX" style="background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" width="100%" height="500"> </iframe>

Which means it *could* be set up as a web form instead, giving the agent a whole extra window. Handy for multiple monitor scenarios. Plus that would leave the script tab ... for a script.

Re: Audio Playback On A Live Call

PostPosted: Tue Jan 03, 2017 5:57 pm
by rrb555
where is the HELP files for the soundboard. I am still unsure how to use this

Re: Audio Playback On A Live Call

PostPosted: Tue Jan 03, 2017 7:12 pm
by mflorell
Enable it in System Settings, then go to the Audio Soundboard admin page in Admin.

Re: Audio Playback On A Live Call

PostPosted: Tue Jan 03, 2017 7:15 pm
by rrb555
Cool thanks. I was able to run the SoundBoard. using this

Code: Select all
<iframe src="./vdc_soundboard_display.php?user=--A--user--B--&pass=--A--pass--B--&bcrypt=OFF&soundboard_id=XXXX" style="background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" width="100%" height="500"> </iframe>


and added an entry in Scripts > Add a New Script

then used that Script in Campaign

lastly, clicking Script in Agent interface to show the soundboard.