Recording link to clipboard

All installation and configuration problems and questions

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

Recording link to clipboard

Postby destefanix » Fri Jul 24, 2020 5:25 pm

Hi guys,
does anyone has tested or ever made somethung similar? I'd like to create a button in my script that, once the agent stops on-demand recording, copies the link to clipboard and make it ready to paste in other external tools.

Once agent presses START RECORDING system shows something like "20200724-184726_123456789" for example. Is there a solution to concatenate all the other parts of the string, like "http://XX.XX.XX.XX/RECORDINGS/MP3/" & "20200724-184726_123456789" & ="-all.mp3"?

Thanks!
Vicidial 2.14-650a BUILD: 180111-1544 (ViciBox_v8.x86_64-8.0.1) & Asterisk 11.25.1-vici
Vultr VPS: 6 vCore | RAM 16384 MB | 200 GB SSD | 1Gbps
destefanix
 
Posts: 14
Joined: Mon Jun 19, 2017 11:52 pm

Re: Recording link to clipboard

Postby williamconley » Fri Aug 07, 2020 2:44 pm

Not a part of Vicidial, but could be built in javascript and added. This would require modifying the code, which would require customizing it again if you update. Concatenation included.

However, you could (instead) use a server-side method in the dispo url field, and that script could even perform the paste into wherever the agent should be putting that value (removing human error from the equation). The dispo url script even gets the disposition so that value can be used in decisionmaking.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 63 guests