View previous topic :: View next topic |
Author |
Message |
yj13535428332 at gmail... Guest
|
Posted: Fri Sep 11, 2009 3:58 am Post subject: [Freeswitch-users] How to subscribe to custom event in cli? |
|
|
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! |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Sep 11, 2009 8:25 am Post subject: [Freeswitch-users] How to subscribe to custom event in cli? |
|
|
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:
Quote: | 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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Fri Sep 11, 2009 10:16 am Post subject: [Freeswitch-users] How to subscribe to custom event in cli? |
|
|
or from fs_cli
/events plain all
On Fri, Sep 11, 2009 at 8:21 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
--
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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
yj13535428332 at gmail... Guest
|
Posted: Fri Sep 11, 2009 9:13 pm Post subject: [Freeswitch-users] How to subscribe to custom event in cli? |
|
|
found it.
the correct typing in fs_cli is : /event plain CHANNELL_CREATE
freeswitch@internal> /event plain CHANNEL_CREATE
+OK event listener enabled plain
2009/9/11 Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)>
|
|
Back to top |
|
|
|