VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jason at voicesession.com Guest
|
Posted: Mon Feb 02, 2009 10:08 pm Post subject: [Freeswitch-users] Application language to support C or C++? |
|
|
Hi All,
I saw the applications using FreeSwitch library can be written in JavaScript, Perl, Python and Lua but I need to use Linux C or C++ for applications, Is FreeSwitch can supported it? Where can I get the sample codes? My Linux platform is base on Fedora.
Thanks a lot.
Jason |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Mon Feb 02, 2009 10:18 pm Post subject: [Freeswitch-users] Application language to support C or C++? |
|
|
Do you want to write modules in c++ for FreeSWITCH? If so then yes
you can write modules in c++... If thats not what you mean please
clarify.
/b
On Feb 2, 2009, at 8:21 PM, lee jason wrote:
Quote: | Hi All,
I saw the applications using FreeSwitch library can be written
in JavaScript, Perl, Python and Lua but I need to use Linux C or C+
+ for applications, Is FreeSwitch can supported it? Where can I get
the sample codes? My Linux platform is base on Fedora.
Thanks a lot.
Jason
|
_______________________________________________
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 |
|
Back to top |
|
|
krice at freeswitch.org Guest
|
Posted: Mon Feb 02, 2009 11:26 pm Post subject: [Freeswitch-users] Application language to support C or C++? |
|
|
FreeSwitch is written in C mainly and some things like mod_opal are written in C++, you can create your own modules in C... Grab the source and look around its pretty straight forward
From: lee jason <jason@voicesession.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Tue, 3 Feb 2009 10:21:25 +0800
To: <freeswitch-users@lists.freeswitch.org>
Subject: [Freeswitch-users] Application language to support C or C++?
Hi All,
I saw the applications using FreeSwitch library can be written in JavaScript, Perl, Python and Lua but I need to use Linux C or C++ for applications, Is FreeSwitch can supported it? Where can I get the sample codes? My Linux platform is base on Fedora.
Thanks a lot.
Jason
_______________________________________________
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 |
|
Back to top |
|
|
raul at etellicom.com Guest
|
Posted: Tue Feb 03, 2009 8:36 am Post subject: [Freeswitch-users] Application language to support C or C++? |
|
|
Depending on what you want to do, I suggest having a look at
mod_event_socket: http://wiki.freeswitch.org/wiki/Mod_event_socket
That module is a socket based interface that provides a vast range of
options to control FreeSWITCH and its applications.
Just for the record, my application is entirely written in C++ and uses
FreeSWITCH as a back-end for providing PBX functionality through a
combination of mod_event_socket and mod_xml_curl.
Regards,
Raul
On Tue, 2009-02-03 at 10:21 +0800, lee jason wrote:
_______________________________________________
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 |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Feb 03, 2009 11:43 am Post subject: [Freeswitch-users] Application language to support C or C++? |
|
|
Lee,
You also might want to take a look at some of the examples in the
contrib folder in the source tree. There are several items there that
use the event socket. The event socket is extremely powerful and is
suitable for a wide range of applications. However, it isn't the only
way to do things. You could also build an actual FreeSWITCH
application like the ones found in the "mod" directory. That's a bit
more involved and I don't recommend starting there unless you're C/C++
skills are well established.
What is your application? Most likely others here have done something
similar and can share with you their experiences, including what
worked and what didn't work.
-MC
On Tue, Feb 3, 2009 at 5:33 AM, Raul Fragoso <raul@etellicom.com> wrote:
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|