Custom features
Hi
While checking FOP2 FAQ I found interesting feature: custom_popup()
This function can popup some window based on phone number or name. This feature looks good, but I need a bit different one: is it possible to show custom block on my agent's FOP panel, that will show some info, which my custom script will pass? Like caller ID lookup results from my custom CRM or agent script, based on what DID this number comes to.
This is extremely useful, as I found no ways to show the info above to my agents.
While checking FOP2 FAQ I found interesting feature: custom_popup()
This function can popup some window based on phone number or name. This feature looks good, but I need a bit different one: is it possible to show custom block on my agent's FOP panel, that will show some info, which my custom script will pass? Like caller ID lookup results from my custom CRM or agent script, based on what DID this number comes to.
This is extremely useful, as I found no ways to show the info above to my agents.
Comments
I have done that, I wrote a short integration with HIGHRISE.
If you need help you can always buy support/consultancy time from us if you have problems getting started with it.
Best regards,
1. When the call is hanged up I still have info in my custom block, there should be some js function, handling call hangup, which I can use to "clean" the block? Can you gimme the function name or any other way I can clean the block.
2. I didn't find any way to show the DID my customers are calling to. I have several DIDs and I wanna show something like +18001234567 (DID 1) in this block, so my agent will know which DID this customer is calling to. I belive there should be some var, which has some DID info?
You can edit jcallback.js and add a method to JCallBack to handle the "state" command. If the data is DOWN, the call is finished for the first line appearance (slot 0).
Regarding the DID, that is probably set as a variable in the dialplan, things gets more complicated there as you should put hook on the server/ami side via FOP2Callbacks.pm, etc. The easiest way to handle this is to set the callerid name to be the did number inside the dialplan, so you will see it in regular ami events.
Best regards,