End of call notification
-
-
FOP2 upcoming version will include some hooks for interfacing with both the client side and server side. What is exactly the script you want to run when a call ends? Just to be sure the hooks I am designing are good enough.
As an example, the next version lets you add some hooks in perl and intercept commands received from flash clients as well as ami commands. I am using them to add HOLD and UNHOLD events in queue_log. It can also be used to make FOP2 presence interact with the dialplan and viceversa. But It cannot be used to call a php script on the client, as the hooks are server side.
Best regards,
-
Could you please give me some hints where these server side hooks are?
I am, too, thinking about launching a perl script on start and at the end of call activities. E.g. I want to wake up the screen from screensaver on call start or incoming call and keep it on until the call progresses, then only allow screensaver activate after the hangup.
So, where can I connect/call my perl scripts on the server?
Many thanks. -
I do not understand exactly what you say about screen savers... the perl code is on the server, not on the client.
-
-
There is no particular event for call initiation... depends on your dialplan setup and what you consider to be a call initiation.. you can look at the "DIAL" event that is fired when the dial application is called. Or you can try with NEWCHANNEL, NEWEXTEN, etc.. But perhaps the DIAL one is what you are looking for.
Best regards,
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login