web app talking to Freeswitch API
We are implementing mod_callcenter in our freeswitch and wanted to develop a small web app that could list members in the queue and also agents and agents status in each queue. These are all available through Freeswitch api. I’m wondering what the best module for getting this information and also login-in/out agents would be? I started looking at twisted but it feels like all I need is a simple rest web api? Is this what mod_curl is? -- - Freddy
No, you're looking at it the other way. Mod_curl is for getting data into freeswitch, not for getting out. As you've guessed you can just reach the API in a language of choice with the proper bindings. Python, lua, php, javascript - take a pick and start building your app. On Jun 11, 2014 1:33 AM, "Freddy Andersen" <freddy@cfandersen.com> wrote:
We are implementing mod_callcenter in our freeswitch and wanted to
develop a small web app that could list members in the queue and also agents and agents status in each queue. These are all available through Freeswitch api.
I’m wondering what the best module for getting this information and also
login-in/out agents would be? I started looking at twisted but it feels like all I need is a simple rest web api? Is this what mod_curl is?
-- - Freddy
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
The ESL protocol is a good approach to get information out of freeswitch from a remote script. There are implementations in libs/esl fior various languages On 11 June 2014 08:34, Daniel Ivanov <sertys@gmail.com> wrote:
No, you're looking at it the other way. Mod_curl is for getting data into freeswitch, not for getting out. As you've guessed you can just reach the API in a language of choice with the proper bindings. Python, lua, php, javascript - take a pick and start building your app.
On Jun 11, 2014 1:33 AM, "Freddy Andersen" <freddy@cfandersen.com> wrote:
We are implementing mod_callcenter in our freeswitch and wanted to
develop a small web app that could list members in the queue and also agents and agents status in each queue. These are all available through Freeswitch api.
I’m wondering what the best module for getting this information and also
login-in/out agents would be? I started looking at twisted but it feels like all I need is a simple rest web api? Is this what mod_curl is?
-- - Freddy
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Yeah, that's what i basically meant by API access. On Jun 11, 2014 2:18 PM, "Steven Ayre" <steveayre@gmail.com> wrote:
The ESL protocol is a good approach to get information out of freeswitch from a remote script. There are implementations in libs/esl fior various languages
On 11 June 2014 08:34, Daniel Ivanov <sertys@gmail.com> wrote:
No, you're looking at it the other way. Mod_curl is for getting data into freeswitch, not for getting out. As you've guessed you can just reach the API in a language of choice with the proper bindings. Python, lua, php, javascript - take a pick and start building your app.
On Jun 11, 2014 1:33 AM, "Freddy Andersen" <freddy@cfandersen.com> wrote:
We are implementing mod_callcenter in our freeswitch and wanted to
develop a small web app that could list members in the queue and also agents and agents status in each queue. These are all available through Freeswitch api.
I’m wondering what the best module for getting this information and
also login-in/out agents would be? I started looking at twisted but it feels like all I need is a simple rest web api? Is this what mod_curl is?
-- - Freddy
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Also, if you're looking for something more traditionally Web-ish you might check this out: https://wiki.freeswitch.org/wiki/Mod_xml_rpc -MC On Wed, Jun 11, 2014 at 4:14 AM, Steven Ayre <steveayre@gmail.com> wrote:
The ESL protocol is a good approach to get information out of freeswitch from a remote script. There are implementations in libs/esl fior various languages
On 11 June 2014 08:34, Daniel Ivanov <sertys@gmail.com> wrote:
No, you're looking at it the other way. Mod_curl is for getting data into freeswitch, not for getting out. As you've guessed you can just reach the API in a language of choice with the proper bindings. Python, lua, php, javascript - take a pick and start building your app.
On Jun 11, 2014 1:33 AM, "Freddy Andersen" <freddy@cfandersen.com> wrote:
We are implementing mod_callcenter in our freeswitch and wanted to
develop a small web app that could list members in the queue and also agents and agents status in each queue. These are all available through Freeswitch api.
I’m wondering what the best module for getting this information and
also login-in/out agents would be? I started looking at twisted but it feels like all I need is a simple rest web api? Is this what mod_curl is?
-- - Freddy
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Hi Freddy, I wrote a Python/Flask web dashboard for mod_callcenter two years ago. It is using mod_xml_rpc to access FreeSWITCH. This was adapted from an Asterisk Queue dashboard I wrote before, hence the slightly modularized backend. It was only used internally up to now. As this might be useful for you or other people, I just got permission to push this to Github, so here it is: https://github.com/gonicus/fsqueuemon I just added a quick README.md, the code itself is running unchanged since 2012 in an environment of < 50 users/agents and a few queues. Strings are Geman only, but that can be easily changed. Best regards, Markus On Wed, Jun 11, 2014 at 12:30 AM, Freddy Andersen <freddy@cfandersen.com> wrote:
We are implementing mod_callcenter in our freeswitch and wanted to develop a small web app that could list members in the queue and also agents and agents status in each queue. These are all available through Freeswitch api.
I’m wondering what the best module for getting this information and also login-in/out agents would be? I started looking at twisted but it feels like all I need is a simple rest web api? Is this what mod_curl is?
-- *- Freddy*
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
participants (5)
-
Daniel Ivanov
-
Freddy Andersen
-
Markus Lindenberg
-
Michael Collins
-
Steven Ayre