found it.
the correct typing in fs_cli is : /event plain CHANNELL_CREATE
freeswitch@internal> /event plain CHANNEL_CREATE
+OK event listener enabled plain
or from fs_cli
/events plain all--On Fri, Sep 11, 2009 at 8:21 AM, Brian West <brian@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@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@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400
_______________________________________________
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