Popup on incoming call on FS
I am a recent adopter of FS and sorry if this has been addressed many times before. I would like the incoming call on FS pop up screen or update a page on my desktop. I need to know how this incoming call event can be captured and the Caller-id be picked up from the same. Based on the above I am assuming a notification can be sent to the webpage. Abhik
On 09/03/2016 12:54 AM, Abhik Biswas wrote:
I am a recent adopter of FS and sorry if this has been addressed many times before.
I would like the incoming call on FS pop up screen or update a page on my desktop. I need to know how this incoming call event can be captured and the Caller-id be picked up from the same.
Based on the above I am assuming a notification can be sent to the webpage.
Abhik
You could use mod_cidlookup to trigger the pop-up. If you are using Odoo, https://github.com/treveradams/connector-telephony branches freeswitch-odooversion or logcall-odooversion may have examples. The modules in logcall and freeswitch_click2dial (scripts directory) may have some relevant ideas even if you aren't using Odoo. If you are using mod_verto and not just webrtc, I am sure you can easily do this in other ways, but at least the example client (haven't tried verto communicator) does a pop-up of sorts. Trever
Easiest way would be to use a execute command, for example, 'execute_on_media' or 'execute_on_ring' in your dialplan. Execute a curl post to an external url, that url can notify your application for the pop up, I'm thinking Ajax in the browser or something similar. You could also just execute a curl post in the dialplan period, so whenever x extension is in use you get that post. Sincerely, Don Hawkins Sent from my NationPCS® Nexus 6. On Sep 3, 2016 11:06 AM, "Abhik Biswas" <abhik@cloudgate.in> wrote:
I am a recent adopter of FS and sorry if this has been addressed many times before.
I would like the incoming call on FS pop up screen or update a page on my desktop. I need to know how this incoming call event can be captured and the Caller-id be picked up from the same.
Based on the above I am assuming a notification can be sent to the webpage.
Abhik
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Or try with Verto, because you get events in javascript and also make calls with browser. There is a lot to dig if you are new to FS, but will worth it. 2016-09-05 22:20 GMT+02:00 Don Hawkins <hawkins@hawkinsegroup.com>:
Easiest way would be to use a execute command, for example, 'execute_on_media' or 'execute_on_ring' in your dialplan.
Execute a curl post to an external url, that url can notify your application for the pop up, I'm thinking Ajax in the browser or something similar.
You could also just execute a curl post in the dialplan period, so whenever x extension is in use you get that post.
Sincerely, Don Hawkins
Sent from my NationPCS® Nexus 6.
On Sep 3, 2016 11:06 AM, "Abhik Biswas" <abhik@cloudgate.in> wrote:
I am a recent adopter of FS and sorry if this has been addressed many times before.
I would like the incoming call on FS pop up screen or update a page on my desktop. I need to know how this incoming call event can be captured and the Caller-id be picked up from the same.
Based on the above I am assuming a notification can be sent to the webpage.
Abhik
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia • www.infomedia.si
participants (4)
-
Abhik Biswas
-
Don Hawkins
-
Gregor Nanger
-
Trever L. Adams