Wiretap of current conversations isn't working. Incoming call doesn't even come on the phone. What problem could it be?
Screenshots:
htt p://imgur. com/XHv4cuQ,BC5a1iy,5JRYlIG,CGItN7Z#3
but the call never came and the logs asterisk empty
Linux srv08tel 2.6.18-194.8.1.el5.goPAE #1 SMP Fri Jul 30 05:30:57 EDT 2010 i686 i686 i386 GNU/Linux
GoAutoDial CE 2.0
- Code: Select all
function send_monitor(session_id,server_ip,stage)
{
alert(session_id + "|" + server_ip + "|" + monitor_phone + "|" + stage + "|" + user);
var xmlhttp=false;
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope with old IE versions.
// and security blocked creation of the objects.
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
xmlhttp = false;
}
}
@end @*/
if (!xmlhttp && typeof XMLHttpRequest!='undefined')
{
xmlhttp = new XMLHttpRequest();
}
if (xmlhttp)
{
var monitorQuery = "source=realtime&function=blind_monitor&user=" + user + "&pass=" + pass + "&phone_login=" + monitor_phone + "&session_id=" + session_id + '&server_ip=' + server_ip + '&stage=' + stage;
alert("source=realtime&function=blind_monitor&user=" + user + "&pass=" + pass + "&phone_login=" + monitor_phone + "&session_id=" + session_id + '&server_ip=' + server_ip + '&stage=' + stage);
xmlhttp.open('POST', 'non_agent_api.php');
xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8');
xmlhttp.send(monitorQuery);
xmlhttp.onreadystatechange = function()
{
if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
{
alert(xmlhttp.responseText);
var Xoutput = null;
Xoutput = xmlhttp.responseText;
var regXFerr = new RegExp("ERROR","g");
var regXFscs = new RegExp("SUCCESS","g");
if (Xoutput.match(regXFerr))
{alert(xmlhttp.responseText);}
if (Xoutput.match(regXFscs))
{alert("SUCCESS: calling " + monitor_phone);}
}
}
delete xmlhttp;
}
Sorry for my English