URL/Application Popup for user
Hopefully this is not a double post.
One thing my users miss a lot when i move them from HUD to FOP, is the user pop up URL.
For example when they answer the ringing line, a URL based on the caller ID number pops up.
some clients have CRM website that can for example open up caller web page when they answer the line( or ring).
One thing my users miss a lot when i move them from HUD to FOP, is the user pop up URL.
For example when they answer the ringing line, a URL based on the caller ID number pops up.
some clients have CRM website that can for example open up caller web page when they answer the line( or ring).
Comments
its pretty neat.
looks like you can get a URL popup when you get a ring, would it be possible to have it to popup when you answer the call?
You can enable that in fop2.cfg (notify_on_connect=1).
Best regards,
I am very interested in this feature.
Do I understand it correctly? When a call comes in and gets connected to an agent, there is a possibilty to popup a custom URL? This would be exactly what my client is looking for. If this is possible, we could purchase fop2 for this project.
Is there any description how to do this?
Thanks
Michael
Just wondering: There is no event when the call is ended, right? I dont use a popup but load into the asternicTag div. Would be nice to close this information as soon as the call is finished.
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 !
Also, you must just output javascript headers on the page (as the commented sections in checkdir.php shows, writing <script> won't do the trick. Example:
Also, you must set notify_on_ringing and/or notify_on_connect to 1 in fop2.cfg
Best regards,
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
echo '<script type="text/javascript" language="javascript">';
replace it for this:
header("Content-type: text/javascript");