Commit Graph

5 Commits

Author SHA1 Message Date
Anthony Minessale
d1d1c73390 get fs.pl up to date
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4140 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 21:24:43 +00:00
Anthony Minessale
9727efd842 Change the socket protocol and the sample client to use multiline input
valid input:

-------------------------
<command>[ <args>]

-------------------------
or
-------------------------
<command>[ <args>]
Header1: Val
HeaderN: Val

-------------------------





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-25 14:14:07 +00:00
Anthony Minessale
4ef2d76948 fix quotes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2051 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-23 00:42:27 +00:00
Anthony Minessale
8aabcd4bdf fix quotes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2050 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-23 00:37:19 +00:00
Anthony Minessale
9c79c2a3fb 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
2006-07-22 21:49:52 +00:00