Hi Brian, It would have then been more complicated to deploy as you also need to distribute the esl lib for all platforms. But the main reason is that I wanted an object-oriented event loop. Here you define a Handler struct with all your call-specific data that implements the ConnectionHandler interface. Everytime an event callback is fired from the main loop, this struct is available so you can retrieve or update the related call data. Best Regards, -- Vallimamod Abdullah SIP Solutions vma@sipsolutions.fr .
On 24 Aug 2017, at 15:43, Brian West <brian@freeswitch.org> wrote:
Why didn't you create a wrapper for libesl in go?
On Thu, Aug 24, 2017 at 5:51 AM, Vallimamod Abdullah <vma@vallimamod.org> wrote: Hi,
I am the author of github.com/vma/esl. I wrote it because I was mostly unhappy with the existing libs and wanted a lib a bit similar to the C one with a simple event loop. It is used in various esl apps I wrote for my customers and works fine so far. Feel free to contact me if you have any questions or issues.
Best Regards, -- Vallimamod Abdullah SIP Solutions vma@sipsolutions.fr .
On 24 Aug 2017, at 00:26, Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote:
What is the best ESL Go library? By best I mean complete, maintained, bug free, efficient, etc. There seem to be MANY alternative Go ESL packages. I am wondering which ones are being actively and successfully used. Recommendations?
Some of the ones I found:
https://github.com/fiorix/go-eventsocket https://github.com/0x19/goesl https://github.com/mattwilliamson/go-eventsocket https://github.com/cgrates/fsock https://github.com/vma/esl
Thanks,
-- 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
-- Brian West brian@freeswitch.org
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com http://www.freeswitchcookbook.com
Book a phone call (CST)
Allison prompts for FreeSWITCH:
https://www.gofundme.com/allison-prompts-for-freeswitch
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) Skype:briankwest
_________________________________________________________________________ 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