Recommendations for an interface between FreeSwitch and ANSI C code
Hi, We have an application written in ANSI C which currently talks to the Asterisk Manager to make phone calls. We're possibly looking at converting this to FreeSwitch. At the moment it has an abstraction layer from Asterisk and speaks to between 1 and 80 Asterisk machines using round robin for distribution. Would you recommend that I use the mod_event socket and basically work with FreeSwitch in the same way as I work with Asterisk or am I overlooking a possibly different way of doing things? Cheers, Matt Riddell
Hi, I would recommand mod_event_socket, also look at libs/esl (event socket library), a C library that takes care of all the parsing to talk to mod_event_socket. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 20-Aug-09, at 5:35 AM, Matt Riddell wrote:
Hi,
We have an application written in ANSI C which currently talks to the Asterisk Manager to make phone calls.
We're possibly looking at converting this to FreeSwitch.
At the moment it has an abstraction layer from Asterisk and speaks to between 1 and 80 Asterisk machines using round robin for distribution.
Would you recommend that I use the mod_event socket and basically work with FreeSwitch in the same way as I work with Asterisk or am I overlooking a possibly different way of doing things?
Cheers,
Matt Riddell
_______________________________________________ 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
On 21/08/09 1:26 AM, Mathieu Rene wrote:
Hi,
I would recommand mod_event_socket, also look at libs/esl (event socket library), a C library that takes care of all the parsing to talk to mod_event_socket.
Awesome thanks man :) -- Cheers, Matt Riddell Director _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)
Matt, Event Socket would be perfect for your needs. If you run into any troubles don't hesitate to join #freeswitch or ask on the list to help you get on the right track. Thanks, /b On Aug 20, 2009, at 4:35 AM, Matt Riddell wrote:
Would you recommend that I use the mod_event socket and basically work with FreeSwitch in the same way as I work with Asterisk or am I overlooking a possibly different way of doing things?
On 21/08/09 1:26 AM, Brian West wrote:
Matt, Event Socket would be perfect for your needs. If you run into any troubles don't hesitate to join #freeswitch or ask on the list to help you get on the right track.
Cheers, will do! -- Cheers, Matt Riddell Director _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)
On Thu, 2009-08-20 at 21:35 +1200, Matt Riddell wrote:
We have an application written in ANSI C which currently talks to the Asterisk Manager to make phone calls.
We're possibly looking at converting this to FreeSwitch.
At the moment it has an abstraction layer from Asterisk and speaks to between 1 and 80 Asterisk machines using round robin for distribution.
Would you recommend that I use the mod_event socket and basically work with FreeSwitch in the same way as I work with Asterisk or am I overlooking a possibly different way of doing things?
Just to echo the sound advice from others, the event socket is almost certainly the right place to start. We've used it exclusively for our stuff for getting on for two years, and I've no regrets. --Dave -- David Knell, Director, 3C Limited T: +44 20 3298 2000 E: dave@3c.co.uk W: http://www.3c.co.uk
participants (4)
-
Brian West
-
David Knell
-
Mathieu Rene
-
Matt Riddell