Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
yj13535428332 at gmail...
Guest





PostPosted: Fri Sep 11, 2009 3:58 am    Post subject: [Freeswitch-users] How to subscribe to custom event in cli? Reply with 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!
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri Sep 11, 2009 8:25 am    Post subject: [Freeswitch-users] How to subscribe to custom event in cli? Reply with quote

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





PostPosted: Fri Sep 11, 2009 10:16 am    Post subject: [Freeswitch-users] How to subscribe to custom event in cli? Reply with quote

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:
Quote:
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 (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 ([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





PostPosted: Fri Sep 11, 2009 9:13 pm    Post subject: [Freeswitch-users] How to subscribe to custom event in cli? Reply with quote

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)>
Quote:
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:
Quote:
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 (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 ([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

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services