I mostly connect to event-socket using telnet and then subscribe to receive events. I want to connect to event-socket using a simple TCP client from within a C Program. Is it a goo idea or there is a better way ? -- Arnuld Uttre Systems Software Engineer arnuld@Phonologies.COM http://www.phonologies.com Phonologies (India) Private Limited West Wing, Marri Deep, M. C. H. No. 12-5-4, Lallaguda, Secunderabad 500017, INDIA. Ph:+91-40-2701 8993 / 36 Fax:+91-40-2701 8992
I'm usig it from java. This is good approach, but there is a chance that you should create custom events or mods on FS side. It depends of your SW architecture. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Arnuld Uttre (Phonologies) Sent: Friday, December 30, 2011 12:19 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Connecting to Event Socket I mostly connect to event-socket using telnet and then subscribe to receive events. I want to connect to event-socket using a simple TCP client from within a C Program. Is it a goo idea or there is a better way ? -- Arnuld Uttre Systems Software Engineer arnuld@Phonologies.COM http://www.phonologies.com Phonologies (India) Private Limited West Wing, Marri Deep, M. C. H. No. 12-5-4, Lallaguda, Secunderabad 500017, INDIA. Ph:+91-40-2701 8993 / 36 Fax:+91-40-2701 8992 _________________________________________________________________________ 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
fs_cli is a C program that uses ESL to abstract away a lot of the grunt work. If you need to listen for events then you should be using ESL, otherwise you're wasting time and energy reinventing the wheel, and unless you know more about the event socket than Anthony does then you're wheel will not be as good as his. :) -MC On Fri, Dec 30, 2011 at 3:19 AM, Arnuld Uttre (Phonologies) < arnuld@phonologies.com> wrote:
I mostly connect to event-socket using telnet and then subscribe to receive events. I want to connect to event-socket using a simple TCP client from within a C Program. Is it a goo idea or there is a better way ?
-- Arnuld Uttre Systems Software Engineer
arnuld@Phonologies.COM http://www.phonologies.com
Phonologies (India) Private Limited West Wing, Marri Deep, M. C. H. No. 12-5-4, Lallaguda, Secunderabad 500017, INDIA. Ph:+91-40-2701 8993 / 36 Fax:+91-40-2701 8992
_________________________________________________________________________ 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 (3)
-
Arnuld Uttre (Phonologies)
-
Drazen Blanusa
-
Michael Collins