mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
Add mod_event_socket remote client module and sample client.
To Test: uncomment or add from modules.conf make installall again to compile it uncomment the load line from freeswitch.xml the default values are to bind to 127.0.0.1 port 8021 telnet to port 8021 enter "auth ClueCon" to authenticate from here you can do the following: *) events [xml|plain] <list of events to log or all for all> *) noevents *) log <level> // same as the console.conf values *) nolog *) api <command> <arg> *) exit there is a perl client in scripts/socket called fs.pl with the module up and loaded: cd scripts/socket perl fs.pl <optional log level> you can enter a few api commands like "show or status" git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2047 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -208,6 +208,14 @@ SWITCH_DECLARE(switch_status_t) switch_event_bind(char *id, switch_event_types_t
|
||||
*/
|
||||
SWITCH_DECLARE(char *) switch_event_name(switch_event_types_t event);
|
||||
|
||||
/*!
|
||||
\brief return the event id that matches a given event name
|
||||
\param name the name of the event
|
||||
\param type the event id to return
|
||||
\return SWITCH_STATUS_SUCCESS if there was a match
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status_t) switch_name_event(char *name, switch_event_types_t *type);
|
||||
|
||||
/*!
|
||||
\brief Reserve a subclass name for private use with a custom event
|
||||
\param owner the owner of the event name
|
||||
|
||||
Reference in New Issue
Block a user