[Freeswitch-users] Event Socket

Roger Castaldo roger.castaldo at gmail.com
Mon Jun 11 22:06:35 MSD 2012


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 at 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 at 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 at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Roger
>> Castaldo
>> *Sent:* Thursday, December 22, 2011 10:41 AM
>> *To:* freeswitch-users at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120611/6a9ac1e9/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list