[Freeswitch-dev] Look for some advice on how to implement a FreeSWITCH controlling module
Hi everyone, I am developing software for a conference call product with FreeSWITCH as IP PBX software, and I have some troubles on a module implementation. So I come here for some advice. Thanks in advance. My requirement of the module: I want to implement a controlling module (or separate program) for FreeSWITCH, this module (or separate program) receives the admin messages from a so-called admin server , parses the messages, and generates FreeSWITCH commands according to the message data, then send these commands to FreeSWITCH to execute (e.g. send a "conference dial ..." command to add a member into the conference call). Also, this module (or separate program) is required to listen the CHANNEL related events fired by FreeSWITCH, and report the FreeSWITCH channel status to admin server. My questions: I want to implement above functionality in a separate program. When running this program communicates with FreeSWITCH via FreeSWITCH's event socket library, is it applicable? I don't have much knowledge about FreeSWITCH's loadable module, is it better to implement it as a FreeSWITCH's loadable module, like the modules in src/mod/applications? -- Best Regards Erjian
ESL is your best choice unless you are trying to really mess with the audio streams. From what you describe, that's not what you are trying to do. I normally use inbound ESL for that. Regards, -- João Mesquita Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, February 21, 2012 at 7:25 AM, Erjian Li wrote:
Hi everyone,
I am developing software for a conference call product with FreeSWITCH as IP PBX software, and I have some troubles on a module implementation. So I come here for some advice. Thanks in advance.
My requirement of the module: I want to implement a controlling module (or separate program) for FreeSWITCH, this module (or separate program) receives the admin messages from a so-called admin server , parses the messages, and generates FreeSWITCH commands according to the message data, then send these commands to FreeSWITCH to execute (e.g. send a "conference dial ..." command to add a member into the conference call). Also, this module (or separate program) is required to listen the CHANNEL related events fired by FreeSWITCH, and report the FreeSWITCH channel status to admin server.
My questions: I want to implement above functionality in a separate program. When running this program communicates with FreeSWITCH via FreeSWITCH's event socket library, is it applicable? I don't have much knowledge about FreeSWITCH's loadable module, is it better to implement it as a FreeSWITCH's loadable module, like the modules in src/mod/applications?
-- Best Regards
Erjian
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto: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-dev mailing list FreeSWITCH-dev@lists.freeswitch.org (mailto:FreeSWITCH-dev@lists.freeswitch.org) http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
In my experience, ESL (mod_event_socket) is the perfect solution for this kind of implementation. I've done some simple conference handling, and I'm using ESL for it all. /Peter Från: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] För Erjian Li Skickat: den 21 februari 2012 11:25 Till: freeswitch-dev@lists.freeswitch.org Ämne: [Freeswitch-dev] Look for some advice on how to implement a FreeSWITCH controlling module Hi everyone, I am developing software for a conference call product with FreeSWITCH as IP PBX software, and I have some troubles on a module implementation. So I come here for some advice. Thanks in advance. My requirement of the module: I want to implement a controlling module (or separate program) for FreeSWITCH, this module (or separate program) receives the admin messages from a so-called admin server , parses the messages, and generates FreeSWITCH commands according to the message data, then send these commands to FreeSWITCH to execute (e.g. send a "conference dial ..." command to add a member into the conference call). Also, this module (or separate program) is required to listen the CHANNEL related events fired by FreeSWITCH, and report the FreeSWITCH channel status to admin server. My questions: I want to implement above functionality in a separate program. When running this program communicates with FreeSWITCH via FreeSWITCH's event socket library, is it applicable? I don't have much knowledge about FreeSWITCH's loadable module, is it better to implement it as a FreeSWITCH's loadable module, like the modules in src/mod/applications? -- Best Regards Erjian !DSPAM:4f43a50432761362825821!
On Tue, Feb 21, 2012 at 3:25 AM, Erjian Li <eli@netspectrum.com> wrote:
I want to implement above functionality in a separate program. When running this program communicates with FreeSWITCH via FreeSWITCH's event socket library, is it applicable? I don't have much knowledge about FreeSWITCH's loadable module, is it better to implement it as a FreeSWITCH's loadable module, like the modules in src/mod/applications?
Both writing a module and using the Event Socket will work. If you don't know which one to use, chances are, you want to start with Event Socket. Event Socket also has the added benefit of allowing you to use whatever language you like. BTW, there is already a mod_callcenter loadable module in the source code. Perhaps you can start with improving it. Good luck, Gabe
participants (4)
-
Erjian Li
-
Gabriel Gunderson
-
João Mesquita
-
Peter Olsson