Pause and Resume
Verint RIS Server:
Extension Number:
Audio
Video
SOURCE of HTML
<html> <head> <script type="text/javascript"> function doPauseAudio () { var myhostname = document.getElementById('RIS-Hostname'); var myext = document.getElementById('ext'); url = 'http://' + myhostname.value + ':3020/servlet/eQC6?interface=IContactManagement&method=deliverevent&device.systemdevice=CiscoIP&attribute.key=Contact.ContentType&attribute.value=Audio&attribute.key=Contact.Requestor&attribute.value=CRMApp&contactevent=PauseRecord&device.device=' + myext.value; newwindow=window.open(url,'name','height=450,width=450,resizable=1'); if (window.focus) {newwindow.focus()} return false; } function doResumeAudio () { var myhostname = document.getElementById('RIS-Hostname'); var myext = document.getElementById('ext'); url = 'http://' + myhostname.value + ':3020/servlet/eQC6?interface=IContactManagement&method=deliverevent&device.systemdevice=CiscoIP&attribute.key=Contact.ContentType&attribute.value=Audio&attribute.key=Contact.Requestor&attribute.value=CRMApp&contactevent=ResumeRecord&device.device=' + myext.value; newwindow=window.open(url,'name','height=450,width=450,resizable=1'); if (window.focus) {newwindow.focus()} return false; } function doPauseVideo () { var myhostname = document.getElementById('RIS-Hostname'); var myext = document.getElementById('ext'); url = 'http://' + myhostname.value + ':3020/servlet/eQC6?interface=IContactManagement&method=deliverevent&device.systemdevice=MGRSC&attribute.key=Contact.ContentType&attribute.value=AudioVideo&attribute.key=Contact.Requestor&attribute.value=CRMApp&contactevent=PauseRecord&device.device=' + myext.value; newwindow=window.open(url,'name','height=450,width=450,resizable=1'); if (window.focus) {newwindow.focus()} return false; } function doResumeVideo () { var myhostname = document.getElementById('RIS-Hostname'); var myext = document.getElementById('ext'); url = 'http://' + myhostname.value + ':3020/servlet/eQC6?interface=IContactManagement&method=deliverevent&device.systemdevice=MGRSC&attribute.key=Contact.ContentType&attribute.value=AudioVideo&attribute.key=Contact.Requestor&attribute.value=CRMApp&contactevent=ResumeRecord&device.device=' + myext.value; newwindow=window.open(url,'name','height=450,width=450,resizable=1'); if (window.focus) {newwindow.focus()} return false; } </script> </head> <body> Verint RIS Server: <input type="text" id="RIS-Hostname" value="RIS-Server01" /> <p> Extension Number: <input type="text" id="ext" value="61652" /> <p> <p> Audio <p> <input id="clickPauseAudio" type="button" value="Pause Audio" onclick="doPauseAudio();" /> <input id="clickResumeAudio" type="button" value="Resume Audio" onclick="doResumeAudio();" /> <p> Video <p> <input id="clickPauseVideo" type="button" value="Pause Video" onclick="doPauseVideo();" /> <input id="clickResumeVideo" type="button" value="Resume Video" onclick="doResumeVideo();" /> <p> </body> </html>