Justin Cassidy
d7edc5dc77
doh, my perl sux...
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5878 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-15 17:40:45 +00:00
Justin Cassidy
557660ca4f
add -tolerant option to FreeSWITCH::Client init to only spew nasty warnings, but not intentionally kill the script
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-15 17:16:45 +00:00
Anthony Minessale
c1a5bb9b39
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5762 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-26 15:37:09 +00:00
Anthony Minessale
64f1f65771
init to a blank string not to 0 cos that 0 is cast to a string in this case and causes an off by 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5761 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-26 15:25:26 +00:00
Michael Jerris
6f0c169c7d
Fix for MODAPP-27 from Bret McDanel.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5700 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 22:33:08 +00:00
Anthony Minessale
4b9afa2b36
unicast framework
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-09 18:38:47 +00:00
Anthony Minessale
10b1187110
fix Client.pm recv len
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4370 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 18:02:50 +00:00
Anthony Minessale
bd62246033
handle fragmented reads on the socket
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4358 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 16:44:04 +00:00
Anthony Minessale
df85aac80c
timeout bug pointed out by davidnicol
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 18:47:22 +00:00
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
9d1e2e9167
don't call us we'll call you
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 17:06:18 +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
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