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 991b83d23c
.
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 48acc0cd38
]
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
Travis Cross
0571e81a4b
Revert "fs_cli: do not assume that LineInfo buffers are null-terminated"
...
This reverts commit 48acc0cd38
.
2011-09-23 17:42:54 +00:00
Travis Cross
991b83d23c
fs_cli: use buffered printers
2011-09-23 17:14:28 +00:00
Travis Cross
481e71970f
fs_cli: style
2011-09-23 16:58:41 +00:00
Travis Cross
6724d7af97
fs_cli: clear the CLI before inserting function key commands
2011-09-23 01:25:43 +00:00
Travis Cross
d410c84336
fs_cli: vanity
2011-09-23 01:25:43 +00:00
Travis Cross
c7ec19d6f0
fs_cli: implement configurable prompt, input, and output coloring
...
In .fs_cli_conf, set:
prompt-color => blue
input-text-color => red
output-text-color => yellow
2011-09-23 01:25:43 +00:00
Travis Cross
a79f1f4202
fs_cli: implement CLI prompt redrawing
...
The CLI prompt and any text-in-progress now stays cleanly below log
messages and other received output from FS.
This also implements hardcoded prompt coloring.
2011-09-23 01:25:43 +00:00
Travis Cross
244bb73f7c
fs_cli: fix off-by-one error
2011-09-23 01:25:43 +00:00
Travis Cross
48acc0cd38
fs_cli: do not assume that LineInfo buffers are null-terminated
...
man editline(3el) says that they're not.
2011-09-23 01:25:43 +00:00
Travis Cross
e87af9011a
fs_cli: fix misplaced assert
2011-09-23 01:25:43 +00:00
Travis Cross
73d7e5a364
fs_cli: tell el_init() about stdin and stderr
2011-09-23 01:25:42 +00:00
Travis Cross
05046e005e
fs_cli: fix default location of CLI history
...
Modern linux systems don't write volatile information to /etc.
2011-09-23 01:25:42 +00:00
Travis Cross
1e93151b79
fs_cli: ignore leading spaces on the CLI
2011-09-23 01:25:42 +00:00
Travis Cross
ee94dac7cb
fs_cli: refactor allow_ctl_c handling
...
This way we don't have to lie about whether we're connected to achieve
our intended result.
2011-09-23 01:25:42 +00:00
Travis Cross
4ae6cce43c
fs_cli: make sure we find a match even if we cannot write to stdout
2011-09-23 01:25:42 +00:00
Travis Cross
cbe8b9d55d
fs_cli: fix segfault if a pressed function key is not bound
2011-09-23 01:25:42 +00:00
Travis Cross
712853d900
fs_cli: do not print extra newline on function key press
2011-09-23 01:25:42 +00:00
Travis Cross
5d1e95021c
fs_cli: use nanosleep
2011-09-23 01:25:42 +00:00
Travis Cross
e0db2c0e10
fs_cli: refactor out read_config()
2011-09-23 01:25:41 +00:00
Travis Cross
41937b04c6
fs_cli: refactor out stdout_writeable()
2011-09-23 01:25:41 +00:00
Travis Cross
a511dcee94
fs_cli: make some stylistic improvements
2011-09-23 01:25:41 +00:00
Travis Cross
a78ec2588a
fs_cli: cleanup whitespace and reindent
2011-09-23 01:25:41 +00:00
Anthony Minessale
7333d46d5b
add new chatplan concept and mod_sms. Apps for chat messages: copy new base freeswitch.xml and chatplan dir if you are upgrading on existing config base
2011-09-21 14:31:18 -05:00
Jeff Lenk
482b319512
FS-3544 --resolve
2011-09-06 21:27:13 -05:00
Anthony Minessale
1c775c3bf0
finish up last commit
2011-09-06 15:07:51 -05:00
Anthony Minessale
391da66cac
reswig
2011-09-06 16:30:04 -05:00
Anthony Minessale
2ae688a33b
add sendmsg function to esl
2011-09-06 14:53:38 -05:00
Daniel Swarbrick
0db88b5999
Tweak link order of some libs to fix build on gcc platforms that have ld flag "--as-needed" as default. Fixes FS-2873 and FS-2874
2011-09-01 16:42:00 +02:00
Brian West
a5ae0e32d6
swigall
2011-09-01 03:22:30 -05:00
Michal Bielicki - cypromis
3dca6066f8
getting rid of some gcc crap
2011-08-31 21:05:37 +02:00
Anthony Minessale
e420e17f84
FS-3386 Jeff Lenk found this one, Good Catch!
2011-07-08 12:52:18 -05:00
Anthony Minessale
37064511e4
fix bug from the *cough* FRICKING MAILING LIST WHERE IT SHOULD NOT HAVE BEEN REPORTED FROM *cough*
2011-05-31 09:53:39 -05:00
Mathieu Rene
9d756ecc77
FS-3320 --resolve
2011-05-27 12:24:48 -04:00
Anthony Minessale
ffa0a07198
add array manipulation to the wraper code
2011-05-26 12:18:18 -05:00
Jeff Lenk
4cd07bc241
fix code analysis warnings - this time while awake
2011-05-26 11:32:07 -05:00
Anthony Minessale
7fb6fb3076
doh merge conflict put back changes
2011-05-26 10:04:15 -05:00
Anthony Minessale
c080fb15d9
update on array patch
2011-05-26 10:00:06 -05:00
Mathieu Rene
ea38df0aed
missed one
2011-05-26 10:52:41 -04:00
Jeff Lenk
6648a4c79e
doh this is stupid
2011-05-26 09:50:07 -05:00
Jeff Lenk
140810df78
fix code analysis vs2010 pre sp1
2011-05-26 09:05:12 -05:00
Jeff Lenk
55c24567bd
fix windows code analysis problems
2011-05-25 23:51:48 -05:00
Anthony Minessale
c1c759526d
add arrays to event headers and chanvars
2011-05-25 15:42:36 -05:00
Mathieu Rene
5fad26b46e
add timeout option to fs_cli
2011-05-25 15:02:02 -04:00
Jeff Lenk
566d94d094
VS2010 add esl lua project
2011-04-25 06:57:01 -05:00
Anthony Minessale
73279f01bf
FS-3166 --resolve
2011-04-22 16:43:29 -05:00
Jeff Lenk
3d73e23b12
stupid compiler this should never have worked
2011-04-20 16:26:47 -05:00
Michael S Collins
f564d38385
Add digit_timeout to ESL::IVR's playAndGetDigits method
2011-04-08 16:33:17 -07:00
Jeff Lenk
0cde6bc039
code analysis warnings fix and acknowledge stack usage warning
2011-03-27 12:09:10 -05:00
Anthony Minessale
9795dd2f0a
fix finicky build
2011-03-26 11:07:34 -05:00
Anthony Minessale
ae595cd529
use poll instead of select in ESL client lib because select is not your friend....
2011-03-26 10:59:55 -05:00
Michael S Collins
73ca862cb0
Change logger.pl host flag to -H from -h (conflicted w/ -h for help); add -H/--host to usage
2011-03-22 21:31:35 -07:00
Michael S Collins
f7c5a66f1e
Fix -h flag on logger.pl; commit missing lines from ChangeLog
2011-03-22 21:25:19 -07:00
Anthony Minessale
2fa993f4ee
revert 44bfcf1d7c
this breaks the build for everyone who does not have python-dev package
2011-03-21 15:18:07 -05:00
cypromis
44bfcf1d7c
FS-3128
2011-03-20 11:00:51 +01:00
Michael S Collins
06c4217922
Add 'make perlmod-install' to ESL (please test)
2011-03-18 09:26:03 -07:00
Anthony Minessale
e8474d602d
ESL-57
2011-03-10 00:33:43 -06:00
Michael S Collins
0db261ac28
Add missing newline on fs_cli usage
2011-03-07 10:57:25 -08:00
Anthony Minessale
e7b3c3b1ad
add -i --interrupt to fs_cli to allow control-c to exit the program
2011-03-06 19:57:05 -06:00
Anthony Minessale
0444626b72
fix linger support in esl client lib
2011-02-25 16:13:24 -06:00
Anthony Minessale
bc397ab600
FS-2971
2011-02-25 10:55:47 -06:00
Anthony Minessale
986f258db0
let ctl-c work until you are connected
2011-02-24 18:48:16 -06:00
Anthony Minessale
e96acac3c8
add optional job-uuid param to bgapi in oop mod
2011-02-24 17:48:51 -06:00
Anthony Minessale
e8a1055854
ESL-56 null terminate buffer after reading from the socket to prevent cross-over to old data that confuses the parser and throws off framing. (regression from 2081bf97b9
)
2011-02-22 17:07:18 -06:00
Michal Bielicki - cypromis
65d5932c9f
fixes for the python esl (we need ESL.py as well)
...
deleting the sangoma modules if they are not defined to be build but are build anyway
2011-02-17 10:09:26 +01:00
Michal Bielicki - cypromis
3ce98c4ebd
major cleanups, mod_skinny and skypopen and sangoma ftdm modules added to rpm spec file
2011-02-17 00:02:37 +01:00
Michal Bielicki - cypromis
e8335f5880
added DESTDIR to esl makefiles so that it can be used during rpm building
2011-02-16 20:54:57 +01:00
Michal Bielicki - cypromis
837c6ff6e8
adding centos standard java include parts to javamod esl module
2011-02-16 20:35:56 +01:00
Michal Bielicki - cypromis
b83a30caf6
added python eslmod installation to esl Makefiles
2011-02-16 20:35:11 +01:00
Anthony Minessale
2ec2a9b0d3
skip blocking writes on fs_cli to avoid backing up event socket
2011-02-04 09:40:04 -06:00
Anthony Minessale
dc436b82a5
block control-z from fs cli and print a warning how to exit properly
2011-02-03 20:42:17 -06:00
Jeff Lenk
9c7b507d06
managed esl vs2010 converted from 2008 w/x64 lib support
2011-01-12 23:10:29 -06:00
Joao Mesquita
eb88304a16
Small fix on ESL that cause event_id to be set wrong on headers that had value failure.
2011-01-12 16:24:04 -03:00
Jeff Lenk
1aa6bc6eec
fix assert with standard code analysis macro
2011-01-05 09:59:14 -06:00
Jeff Lenk
5254df0466
FS-2957 esl lib on windows fails to build
2011-01-04 22:57:49 -06:00
Jeff Lenk
55dbbcf195
add vs2008 windows lua-esl build files
2010-12-24 09:41:31 -06:00
Raymond Chandler
08769e97b2
couple small usability issues
2010-12-23 18:01:21 -05:00
Jeff Lenk
d29d83d743
ESL-53 Noevent/Noevents disparity
2010-12-20 19:23:13 -06:00
Jeff Lenk
7b1de56baa
vs2010 fix build
2010-12-16 14:24:54 -06:00
Jeff Lenk
dcce6bb510
vs2010 fix build
2010-12-16 13:52:46 -06:00
Jeff Lenk
dfdf4e1e23
windows fix for last esl commit
2010-12-16 12:27:55 -06:00
Anthony Minessale
871c871b80
wrong week to quit sniffing glue
2010-12-16 12:17:02 -06:00
Anthony Minessale
526436fd1f
doh
2010-12-16 11:58:18 -06:00
Anthony Minessale
2081bf97b9
use a packet buffer for ESL
2010-12-16 11:33:38 -06:00
Jeff Lenk
a15f51d577
ESL-37 [patch] Make last_event pointer last longer
2010-12-09 09:22:17 -06:00
Michael S Collins
7039ba47a1
libesl: allow fs_cli -x to have args up to 1024 chars (was 256)
2010-12-01 17:39:17 -08:00
Michael S Collins
61bc810bf8
Fix usage formatting in logger.pl
2010-11-23 17:17:46 -08:00
Michal Bielicki
1752405754
added include path for openjdk6 includes on debian
2010-10-15 01:07:15 +02:00
Brian West
413dcc4cd2
ESL-50: Call close on connection handle if the connection fails
2010-10-08 09:03:43 -05:00
Jeff Lenk
184f395553
fix several code analysis problems and mask several that are required
2010-09-20 09:25:14 -05:00
Mathieu Rene
99b3d675bb
really? don't scrap my php config
2010-08-30 10:57:00 -04:00
Jeff Lenk
62206e3d43
FSBUILD-296 Fix VS2008 code analysis build
2010-08-24 08:55:00 -05:00
Jeff Lenk
1977aa8684
VS2010 add missing project filters
2010-08-19 10:38:54 -05:00
Mathieu Rene
b38909af0e
esl: init fd_flags to 0
2010-08-18 18:27:29 -04:00
Mathieu Rene
4263d60e38
esl: fix leak-on-error in esl_connect_timeout()
2010-08-12 12:00:12 -04:00
cypromis
910729b5dd
Fix for ESL-44, thank you to Lakschmanan for providing the Patch
2010-07-29 12:09:49 +02:00
Anthony Minessale
70d215ef6d
add -R to reconnect
2010-07-22 15:50:02 -05:00
Mathieu Rene
46c2d71464
fix windows build
2010-07-20 17:19:30 -04:00
Mathieu Rene
90da341a70
fix git screwup
2010-07-20 17:18:43 -04:00
Jeff Lenk
b079eee5fb
fix windows build
2010-07-20 15:33:48 -05:00
Mathieu Rene
644a144e19
Add esl_connect_timeout to specify custom connection timeouts
2010-07-20 15:33:46 -05:00
Mathieu Rene
49d6c803d1
use uint32_t instead of long for timeout as in the rest of the lib, 0 means forever. Also added esl_send_recv_timed()
2010-07-20 16:24:50 -04:00
Mathieu Rene
13137e228c
esl: use recv_timed in esl_connect_timemout in case we get stuck in a blocking recv
2010-07-20 16:24:50 -04:00
Mathieu Rene
12a0ec741b
Add esl_connect_timeout to specify custom connection timeouts
2010-07-20 14:45:53 -04:00
Jeff Lenk
394d545468
doh
2010-07-19 15:27:25 -05:00
Jeff Lenk
6a9a61c79f
fix windows build
2010-07-19 15:25:45 -05:00
Mathieu Rene
52885dfc1d
esl: make esl_connect thread-safe by using getaddrinfo instead of gethostbyname
2010-07-19 16:13:10 -04:00
Jeff Lenk
74c40f5aa3
Fix windows build
2010-07-19 12:54:30 -05:00
Mathieu Rene
84b4b5da62
Fix esl doc, s/ESL_STATUS_SUCESS/ESL_SUCCESS/g
2010-07-19 13:09:21 -04:00
Anthony Minessale
c0c699ba7e
small tweak to last patch
2010-07-19 12:00:19 -05:00
Anthony Minessale
36bfe432cf
add -r to fs_cli to retry every second up to 2 min to connect
2010-07-19 11:56:01 -05:00
Mathieu Rene
c5ad49da17
mod_hash: begin working on remote support
2010-07-16 22:50:58 -04:00
Anthony Minessale
60af226890
deal with empty param to serialize()
2010-07-12 15:37:16 -05:00
Jeff Lenk
7af395ef83
more tweaks for VS2010
2010-07-10 15:22:25 -05:00
Jeff Lenk
68fef16e37
more tweaks for VS2010
2010-07-06 16:10:35 -05:00
Jeff Lenk
9361e2ba9d
more tweaks for VS2010
2010-06-29 09:55:08 -05:00
Jeff Lenk
a87429ac87
Add initial support for VS2010
2010-06-28 15:49:19 -05:00
Anthony Minessale
09e386deda
add error checking
2010-06-24 10:02:55 -05:00
Anthony Minessale
4b2f56daf1
fix serialize issue
2010-06-23 13:34:43 -05:00
Jeff Lenk
c2bcc926c5
fix line endings
2010-06-17 23:13:32 -05:00
Stefan Knoblich
88b7110014
esl-json: Add limits.h for INT_MIN/_MAX
2010-06-17 22:49:29 +02:00
Jeff Lenk
4ae090ffd9
oops fix this the right way - json malloc and free
2010-06-17 14:17:15 -05:00
Jeff Lenk
091952cab7
fix trivial compile errors under windows
2010-06-17 12:52:20 -05:00
Jeff Lenk
9e1508e23e
add new files for json
2010-06-17 12:18:06 -05:00
Anthony Minessale
7048c16fc4
jsonification into the core and ESL (part 2)
2010-06-17 11:49:16 -05:00
Anthony Minessale
c752e71afe
more work on callstate events
2010-06-07 18:01:02 -05:00
Brian West
5cd066df39
fix issue reported on mailing list along with segfault.
2010-06-06 23:26:09 -05:00
Anthony Minessale
9c9cb5b310
fix esl buffer overflow
2010-05-28 14:20:20 -05:00
Jeff Lenk
d1d6be889d
FSCORE-611 Increase buffer in fs_cli for Win
2010-05-23 23:32:44 -05:00
Mathieu Rene
6c98ba4819
fs_cli: add help text for /uuid
2010-05-02 18:10:52 -04:00
Mathieu Rene
0ea3d48529
Add /uuid command to fs_cli to filter logs by uuid
2010-04-30 17:20:42 -04:00