Can anyone point me to any examples / source code of embedde Freeswitch? I have looked at the documentation, and the different books, but can find now examples of this. Guillermo -- Guillermo Ruiz Camauer
http://wiki.freeswitch.org/wiki/Embedding_FreeSWITCH a softphone http://wiki.freeswitch.org/wiki/FSClient The source code for FSClient can be found in the freeswitch-contrib repo (git://git.freeswitch.org/freeswitch-contrib.git https://stash.freeswitch.org/projects/FS/repos/freeswitch-contrib/browse/mit... This info should get you started in C#. Andrew From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Guillermo Ruiz Camauer Sent: Saturday, September 20, 2014 7:49 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Embedded Freeswitch Can anyone point me to any examples / source code of embedde Freeswitch? I have looked at the documentation, and the different books, but can find now examples of this. Guillermo -- Guillermo Ruiz Camauer
Andrew, Thanks for the response. I am wondering if there are any examples using C/C++. Guillermo On Sun, Sep 21, 2014 at 2:16 PM, Andrew <aademattia@comcast.net> wrote:
http://wiki.freeswitch.org/wiki/Embedding_FreeSWITCH
a softphone
http://wiki.freeswitch.org/wiki/FSClient
The source code for FSClient can be found in the freeswitch-contrib repo ( git://git.freeswitch.org/freeswitch-contrib.git
https://stash.freeswitch.org/projects/FS/repos/freeswitch-contrib/browse/mit...
This info should get you started in C#.
Andrew
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Guillermo Ruiz Camauer *Sent:* Saturday, September 20, 2014 7:49 PM *To:* FreeSWITCH Users Help *Subject:* [Freeswitch-users] Embedded Freeswitch
Can anyone point me to any examples / source code of embedde Freeswitch? I have looked at the documentation, and the different books, but can find now examples of this.
Guillermo
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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
-- Guillermo Ruiz Camauer
Hi Guillermo, On Mon, Sep 22, 2014 at 12:55 PM, Guillermo Ruiz Camauer < grcamauer@gmail.com> wrote:
Andrew,
Thanks for the response. I am wondering if there are any examples using C/C++.
You can have a look at the fscomm/ directory in FreeSWITCH git repo, then peak at fshost.cpp ( https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/fscomm/fsho... ) Pay particular attention to the FSHost::run() method calling the following functions: switch_core_init() switch_core_init_and_modload() switch_core_runtime_loop() That's the gist of it to get started. In my opinion most of the time is better to launch a lean freeswitch process (with only the modules you need in your app) in the background and control it using ESL Cheers Moy Moises Silva Manager, Software Engineering Sangoma Technologies 100 Renfrew Drive, Suite 100, Markham, Ontario, Canada L3R 9R6 T +1 905 474 1990 x128 | toll-free in North America +1 800 388-2475 | F +1 905 474 9223 www.sangoma.com
Thanks Moy! Guillermo On Tue, Nov 4, 2014 at 5:16 AM, Moises Silva <moises.silva@gmail.com> wrote:
Hi Guillermo,
On Mon, Sep 22, 2014 at 12:55 PM, Guillermo Ruiz Camauer < grcamauer@gmail.com> wrote:
Andrew,
Thanks for the response. I am wondering if there are any examples using C/C++.
You can have a look at the fscomm/ directory in FreeSWITCH git repo, then peak at fshost.cpp ( https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/fscomm/fsho... )
Pay particular attention to the FSHost::run() method calling the following functions:
switch_core_init() switch_core_init_and_modload() switch_core_runtime_loop()
That's the gist of it to get started. In my opinion most of the time is better to launch a lean freeswitch process (with only the modules you need in your app) in the background and control it using ESL
Cheers
Moy
Moises Silva
Manager, Software Engineering
Sangoma Technologies
100 Renfrew Drive, Suite 100, Markham, Ontario, Canada L3R 9R6
T +1 905 474 1990 x128 | toll-free in North America +1 800 388-2475 | F +1 905 474 9223
www.sangoma.com
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
Guillermo, Even though the project has been inactive for a long time since I have no time to work on it, if you have questions I can try and help answer them. Sent from my iPhone
On Nov 4, 2014, at 11:47 AM, Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
Thanks Moy!
Guillermo
On Tue, Nov 4, 2014 at 5:16 AM, Moises Silva <moises.silva@gmail.com> wrote: Hi Guillermo,
On Mon, Sep 22, 2014 at 12:55 PM, Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote: Andrew,
Thanks for the response. I am wondering if there are any examples using C/C++.
You can have a look at the fscomm/ directory in FreeSWITCH git repo, then peak at fshost.cpp (https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/fscomm/fsho...)
Pay particular attention to the FSHost::run() method calling the following functions:
switch_core_init() switch_core_init_and_modload() switch_core_runtime_loop()
That's the gist of it to get started. In my opinion most of the time is better to launch a lean freeswitch process (with only the modules you need in your app) in the background and control it using ESL
Cheers
Moy
Moises Silva Manager, Software Engineering
Sangoma Technologies 100 Renfrew Drive, Suite 100, Markham, Ontario, Canada L3R 9R6 T +1 905 474 1990 x128 | toll-free in North America +1 800 388-2475 | F +1 905 474 9223 www.sangoma.com
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer _________________________________________________________________________ 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
participants (4)
-
Andrew
-
Guillermo Ruiz Camauer
-
João Mesquita
-
Moises Silva