431 Commits

Author SHA1 Message Date
Jeff Lenk
0807b39c8d FS-4543 --resolve thanks Peter 2012-08-17 19:31:47 -05:00
Anthony Minessale
f454b79b9b fix color coding to be OS appropriate 2012-08-16 13:04:33 -05:00
Jeff Lenk
2dda038ba0 FS-4416 -- resolve 2012-07-15 21:52:02 -05:00
Stefan Knoblich
6ff084492b esl-php: Create installation directories if they do not exist (+ other minor clean ups).
Fixes:

   cp ESL.so /var/tmp/por.../image/usr/lib64/php5.3/lib/extensions/no-debug-zts-20090626
   cp: cannot create regular file `/var/tmp/por.../image/usr/lib64/php5.3/lib/extensions/no-debug-zts-20090626': No such file or directory

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-14 14:01:18 +02:00
Anthony Minessale
2aebe2456f first pass on some new stuff 2012-07-11 15:15:50 -05:00
Michael S Collins
eb7e640b59 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-07-11 11:10:33 -07:00
Michael S Collins
fbfa31d2d1 Add dump_events.pl script 2012-07-11 11:10:24 -07:00
Anthony Minessale
6c406aa0d9 add wait handler to forking code in ivrd 2012-07-10 13:32:35 -05:00
Anthony Minessale
27155bcb71 come to ClueCon its in one month 2012-07-10 12:05:26 -05:00
Anthony Minessale
163fffb3e8 fix issue with threaded ivrd, forking is back by default but threaded can be chosen with -t; in both modes the fd number is not passed as the first arg to the program but in threaded mode the stdin will no longer be mapped to the socket you will have to get the first command line arg instead of fileno stdin 2012-05-03 13:13:48 -05:00
Ken Rice
7a147e4762 Update a ton of copyright statements to make sure the dates are proper 2012-04-25 17:14:55 -05:00
Anthony Minessale
a40f304990 ESL-45 --resolve 2012-04-10 16:11:36 -05:00
Mitch Capper
6f87ac55d6 fs_cli: add batch mode
Signed-off-by: Travis Cross <tc@traviscross.com>
2012-04-08 16:54:40 +00:00
Anthony Minessale
c41a16d4da shutdown socket before closing to avoid blocking 2012-04-05 14:28:01 -05:00
Anthony Minessale
b80a3a3439 set session loglevel as well in fs_cli when doing 'console loglevel info' also now implies '/log info' locally 2012-04-02 11:58:00 -05:00
Ken Rice
c1f3ff998f opps missed an include 2012-03-27 14:24:58 -05:00
Ken Rice
a1ed759b1c try to make compiler -Werror hush 2012-03-27 14:11:41 -05:00
Ken Rice
57fac728c6 make compiler stop complaining 2012-03-27 13:58:27 -05:00
Anthony Minessale
d308694201 after f7f9a43a4056b7fb238ecfa0b7266b8c844f140f missing a bunch of code changes 2012-03-26 16:41:49 -05:00
Jeff Lenk
d827cfecb4 corrected managedEsl sample 2012-03-04 17:48:30 -06:00
Jeff Lenk
da36d1f57f FS-3953 --resolve 2012-02-28 08:38:45 -06:00
Anthony Minessale
23645b6af2 comment assert for windows 2012-02-27 16:49:12 -06:00
Travis Cross
b9b77bd615 fs_cli: make enhanced fs_cli features work on all TERMs
FS-3815 --resolve

This is a workaround for the fact that libedit counts terminal control
characters when calculating the length of the prompt.  By not using
absolute positioning, we avoid the issue.

Thanks to Ivan Isaev for the workaround and testing.
2012-01-31 18:42:47 +00:00
Jeff Lenk
c2ac8f5fcc correct managed esl sample 2012-01-27 16:04:54 -06:00
Travis Cross
f4968d0e6e fs_cli: style (FS-3815) 2012-01-18 22:44:44 +00:00
Jeff Lenk
24288832b1 FS-2216 partial with renaming 2012-01-08 14:19:16 -06:00
Anthony Minessale
dfb2dfd29e umm ya, the thread stack size is in bytes not kbytes 2011-12-20 17:14:38 -06:00
Anthony Minessale
0a8e6129d8 change default stacksize 2011-12-20 10:37:15 -06:00
Stefan Knoblich
cc083ccddb [libesl] Make sure esl event buffer array subscript ist within bounds [0, sizeof(buffer)-1].
cc1: warnings being treated as errors
  libs/esl/src/esl.c: In function "esl_recv_event":
  libs/esl/src/esl.c:1190: error: array subscript is above array bounds
  libs/esl/src/esl.c:1227: error: array subscript is above array bounds

Clamp handle_recv() return value to safe values.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-12-19 20:39:51 +01:00
Marc Olivier Chouinard
442f4d2522 FS-3766 --resolve 2011-12-16 07:35:05 -05:00
Marc Olivier Chouinard
58ccbe567c ESL-58 --resolve
Please Windows user test this one out.
2011-12-15 23:02:10 -05:00
Anthony Minessale
d05dcaaade ok, windows... you missed the real err but you are still crying about this other one =/ 2011-12-14 14:47:51 -06:00
Anthony Minessale
70a4ebd3fb sorry windows... 2011-12-14 14:38:00 -06:00
Anthony Minessale
f7f9a43a40 use threading in testserver and ivrd 2011-12-14 12:16:09 -06:00
Brian West
da10fe86a1 really now 2011-10-28 16:51:02 -05:00
Jeff Lenk
8aad82d653 FS-3647 --resolve fs_cli crash on windows 2011-10-28 08:41:17 -05:00
Travis Cross
26cd927cb0 fs_cli: only enable new features on supported terminals
This is a workaround to an issue where editline counts non-printable
control characters.  See issue FS-3606.
2011-10-27 15:15:59 +00:00
Michael Jerris
cbc92936f3 allow ;; seperated commands in fs_cli -x 2011-10-26 15:35:03 -04:00
Jeff Lenk
1afda8fb39 FS-3601 --resolve fix fs_cli for recent changes with windows 2011-10-07 09:03:09 -05:00
Travis Cross
b8eaec001a whitespace cleanup 2011-09-27 05:57:49 +00:00
Jeff Lenk
16a0a2ed6d another windows fix for fs_cli changes 2011-09-26 21:41:35 -05:00
Travis Cross
02481cabbf fs_cli: comply with -Wwrite-strings 2011-09-26 22:00:08 +00:00
Travis Cross
8056125077 fs_cli: fix siptrace output
This partially reverts commit 991b83d23cf014226aa97f01f4290a6e6554fee1.
2011-09-26 21:34:52 +00:00
Jeff Lenk
1244e55632 another fs_cli windows fix 2011-09-26 11:47:26 -05:00
Jeff Lenk
34827a892c fix fs_cli for windows after recent changes - may need more work 2011-09-26 09:15:12 -05:00
Travis Cross
a2d6a041eb fs_cli: ask less of the terminal; fix ctrl-l behavior 2011-09-24 03:07:34 +00:00
Travis Cross
fe60938686 fs_cli: exclude last character in buffer on redisplay 2011-09-23 22:40:02 +00:00
Travis Cross
682ed52cf7 fs_cli: do not assume that LineInfo buffers are null-terminated
man editline(3el) says that they're not.

[take #2, originally was 48acc0cd387f90390ba2a7a6435e02b2f4866336]
2011-09-23 22:24:58 +00:00
Travis Cross
4dbd950d70 fs_cli: be a bit more defensive 2011-09-23 21:44:55 +00:00
Travis Cross
7bcd1fe79e fs_cli: handle cursor positioning better 2011-09-23 21:25:42 +00:00