Member
Last active 10 years ago
I've tried leaving it blank and checking automatic popups on and off. In Firebug it looks like the browser is getting the message to pop but has fatal error:
responseText
"window.open('http://www.google.com/search?q=WIRELESS CALLER'); <br /> <b>Fatal error</b>: Call to a member function consulta() on a non-object in <b>/var/www/html/fop2/checkdir.php</b> on line <b>93</b><br /> "
status
200
statusText
"OK"
I just used to automatic popups in the panel preferences where you put the url with the #{CLIDNUM} variable.
I tried uncommenting:
header("Content-type: text/javascript");
echo "window.open('http://www.google.com/search?q=$clidnum');\n";
in checkdir.php but never got a popup to work using that method. Any troubleshooting hints greatly appreciated. I'm pretty psyched on customizing this.
I have the automatic popup feature working well to take the callerid number and insert it into a url for our web based crm. Is there a way to tweak it so that internal calls won't pop it? Maybe a line of code somewhere to abort if less than 5 digits?