Member
Last active 9 years ago
The code is added in checkdir.php under function custom_popup($ALLVAR) .
I have added another code to write the file just below pop up script and it get executed without an issue however no pop up window. Also set both notify_on_ringing and notify_on_connect to 1 in /etc/asterisk/fop2/fop2.cfg
Hello,
I have installed Asterisk 1.8.12.0 and FOP2 2.25 but when I added a code in checkdir.php then if doesn't pop up the window.
========================
echo '<script type="text/javascript" language="javascript">';
echo "\n var w = 100;\n";
echo "var h = 40;\n";
echo "var left = Number((screen.width/2)-(w/2));\n";
echo "var tops = Number((screen.height/2)-(h/2));\n";
echo "window.open(\"http://abc.com/abc.php?go=ok\", \"_blank\", \"toolbar=no, scrollbars=no, location=no, status=no, resizable=yes, top=550, left=1100, width=200, height=200\")";
===============================
Please let me know what settings do i need to do .
Thanks in advance !