[Freeswitch-users] How to subscribe to custom event in cli?

jun yang yj13535428332 at gmail.com
Fri Sep 11 19:09:59 PDT 2009


found it.
the correct typing in fs_cli is :    /event plain CHANNELL_CREATE

freeswitch at internal> /event plain CHANNEL_CREATE
+OK event listener enabled plain

2009/9/11 Anthony Minessale <anthony.minessale at gmail.com>

> or from fs_cli
>
> /events plain all
>
>
>
> On Fri, Sep 11, 2009 at 8:21 AM, Brian West <brian at freeswitch.org> wrote:
>
>> You need to telnet to the socket or use fs_cli... example...
>>
>> telnet 0 8021
>> auth ClueCon<enter><enter>
>> events all plain<enter><enter>  (or what ever commands you wish to run)
>>
>> /b
>>
>>
>> On Sep 11, 2009, at 3:48 AM, jun yang wrote:
>>
>> > how can i subscribe to custom event in cli.
>> > cli: load mod_event_socket
>> > say Module mod_event_socket Already Loaded!
>> > but i use
>> > cli: event plain CHANNEL_CREATE
>> > return event: Command not found!
>> > cli: api event plain  CHANNEL_CREATE
>> > return api: Command not found!
>> >
>> > then what is the correct command?
>> > thanks for some hint!
>>
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
>
> _______________________________________________
> 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/20090912/9236838b/attachment-0002.html 


More information about the FreeSWITCH-users mailing list