I have updated the code base with more functionality as well as added in a fix to handle a memory leak issue within mono if you had not noticed it. On Thu, Dec 22, 2011 at 12:04 PM, Roger Castaldo <roger.castaldo@gmail.com>wrote:
Okay thanks for the info I will just have to do it somewhat differently in my code then, as i said I was just curious thinking that there might be some obscure command to list them
On Thu, Dec 22, 2011 at 11:19 AM, Hector Geraldino < Hector.Geraldino@ip-soft.net> wrote:
Hi Roger,****
** **
If the set of available events is constant (any of the existing events can be received by the ESL application at any time), I don’t see why you need to query FS to get this list. Let’s suppose this api command exists: issuing this command will always return a list with the same values, which are the values already listed on the Events list page:****
** **
http://wiki.freeswitch.org/wiki/Event_List****
** **
Can you do that? I’m pretty sure you can’t. But, if you **really** want to get this list of events after issuing an api command to freeswitch (non-negotiable feature), you can always send an “api echo STRING_LIST” with the list of possible values:****
** **
api echo CHANNEL_CALLSTATE CHANNEL_CREATE CHANNEL_DESTROY CHANNEL_STATE CHANNEL_ANSWER CHANNEL_HANGUP CHANNEL_HANGUP_COMPLETE CHANNEL_EXECUTE CHANNEL_EXECUTE_COMPLETE****
** **
Content-Type: api/response****
Content-Length: 157****
** **
CHANNEL_CALLSTATE CHANNEL_CREATE CHANNEL_DESTROY CHANNEL_STATE CHANNEL_ANSWER CHANNEL_HANGUP CHANNEL_HANGUP_COMPLETE CHANNEL_EXECUTE CHANNEL_EXECUTE_COMPLETE ****
** **
** **
PS: I’m kidding****
** **
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Roger Castaldo *Sent:* Thursday, December 22, 2011 10:41 AM *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] Event Socket****
** **
Hi everyone i have a simple question, is there an api command that will list all the available events that can be listened on by the event socket? i realize there is a wiki page containing a list but for my purposes an api command to list the available event names would be much better.****
_________________________________________________________________________ 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