7253 Commits

Author SHA1 Message Date
Anthony Minessale
180282cd9a FS-6287 2014-04-04 13:42:13 -05:00
Anthony Minessale
7ea4acaece FS-6426 --resolve 2014-04-03 23:25:48 +05:00
Anthony Minessale
7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Michael Jerris
f50f04be51 FS-6356: --resolve fix assert when you set the time > 15 days in the future during operation while things are in queue to be processeed 2014-03-28 14:33:47 -04:00
Travis Cross
180d081be4 Use buffered printers in fs_cli
Now that all output should end in a newline, we don't need to play
tricks with getting certain escape codes out ahead of buffered output.

This updates what we tried to do in commit
991b83d23cf014226aa97f01f4290a6e6554fee1.

This partially reverts commit
8056125077d5a2583272219d193b94e81c97a50c.
2014-03-28 00:01:33 +00:00
Travis Cross
11f4628cae Reenable the new EL_REFRESH mechanism 2014-03-27 23:09:06 +00:00
Travis Cross
59f80c9e4f Handle bodies not ending in newlines w/EL_REFRESH
The issue is that sofia siptrace output doesn't end each line with a
newline.  Instead it sends a separate newline afterward, which comes
in as a separate event body.  With the new EL_REFRESH code in effect
the line is being cleared after the siptrace output has been written
but before that next newline comes in.

With our own refresh code this doesn't happen because of slight
differences in where the stdio buffers get flushed compared to where
the output of clear_line() ends up.

This is a bit of a clumsy workaround.  But we'll fix it first, then
refactor.
2014-03-27 23:06:07 +00:00
Travis Cross
3bc51dfff9 Turn on the fancy fs_cli with a modern libedit
We turn ON the features with a newer libedit.

This fixes commit 4f54f912c3e9f296d23a694bd29501b9bc5a700f.
2014-03-27 17:35:35 +00:00
Travis Cross
4f54f912c3 Add back terminal detection for old libedits
Using the system libedit means that libedit will again make absolute
movements on certain kinds of terminals.  Older versions of libedit
without EL_PROMPT_ESC miscalculate the length of the prompt.
Combined, this results in the cursor ending up in the wrong place.

We knew this was a possibility when we moved to system libedit, and
we're OK with it.  We certainly lived without this fancy prompt
feature for a long time.

This change puts back in place detection of the terminal type when
EL_PROMPT_ESC isn't available.  On these older versions of libedit,
we'll only enable the fancy features when we know that libedit will
only make relative movements and not tickle the bug.

This partially reverts commit:
b9b77bd6156b4343f8baa9ca1a0c803108dbcdb4
2014-03-27 17:19:55 +00:00
Travis Cross
dc093d179e Drop use of libedit EL_REFRESH in fs_cli for now
Newer versions of libedit provide an EL_REFRESH mechanism for
redrawing the prompt.  We had previously written our own code to
handle this.  In theory handing this over to libedit should be better.

Unfortunately when using EL_REFRESH the output of sofia siptrace isn't
showing up.  We're working on that, but for now we're just force own
our redrawing code to be used instead.
2014-03-27 12:20:43 +00:00
Travis Cross
f9d065cda3 Use system libyaml for mod_yaml
FS-353
2014-03-26 19:27:22 +00:00
Ico
fa17059787 Fix memory leak when outbound socket is closed by server
ESL-88 --resolve

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-26 01:36:48 +00:00
Jeff Lenk
4dd0a5848f FS-6293 windows duh 2014-03-24 18:45:05 -05:00
Jeff Lenk
07438df263 FS-6293 fix windows build from version.h being added to xmlrpc 2014-03-24 18:09:07 -05:00
Brian West
c7bd862e9a FS:353: correct #if check for libedit function capability 2014-03-24 16:18:03 -05:00
Seven Du
f5b18c0fdd FS-5642 --resolve add back the ETIMEDOUT check, needed on Mac 2013-12-13 11:46:14 +08:00
Jeff Lenk
069941f1da fix spandsp for windows build 2013-12-09 16:37:56 -06:00
Steve Underwood
ac2bf8a405 Fixed a file permission in the ESL library 2013-12-08 01:39:00 +08:00
Steve Underwood
eb3e843692 Eliminate a warning from valgrind, that might potentially be reporting actual
trouble.
2013-12-07 01:57:59 +08:00
Steve Underwood
d5a7495a72 This should fix the FAX crashes when negotiation falls back to slower modems 2013-12-05 21:49:59 +08:00
Steve Underwood
9edbbd9c61 Tweaks to FAX modem handling. These do NOT fix the occassional crashes people
see, but they are working towards a clean and complete fix.
2013-12-05 21:10:57 +08:00
Steve Underwood
7d6b0e48b7 Added an XML script to the FAX tests which will provoke the crashing
issue seen recently in spandsp's FAX engine. The next step is to fix
the actual crash.
2013-12-05 13:34:25 +08:00
Jeff Lenk
bb53175526 FS-6010 --resolve 2013-11-29 22:16:49 -06:00
Anthony Minessale
bbe1fe1a31 FS-6005 --resolve 2013-11-27 10:20:35 -06:00
Moises Silva
c62db1a600 freetdm: ftmod_wanpipe: Remove chatty debug msg, not really useful anyways 2013-11-27 09:51:33 -05:00
Anthony Minessale
ca8f121977 fix regression from recent refactor that causes infinite loop on unexpected disconnect 2013-11-22 04:53:34 +05:00
Anthony Minessale
634d936a02 kill socket in esl_disconnect to prevent blocking 2013-11-20 23:50:15 +05:00
Jeff Lenk
fc5557b949 FS-5986 --resolve fix download reference to windows libcelt 2013-11-20 07:36:20 -06:00
Jeff Lenk
4ee3b70496 fix windows esl compile 2013-11-13 17:59:52 -06:00
Anthony Minessale
9d2400b7ab doh 2013-11-14 01:48:48 +05:00
Anthony Minessale
c429de4139 fix build err 2013-11-14 01:38:00 +05:00
Anthony Minessale
c469e7ada2 cleanup ESL a little 2013-11-14 00:43:25 +05:00
Anthony Minessale
931d3fb86a remove condition for mem leak 2013-11-12 12:33:32 -06:00
wavecb
681ea6c40b fix build on mac os 10.9 2013-11-12 13:54:20 +08:00
Moises Silva
8469e83835 freetdm: ftmod_analog_em: Remove constant CAS debug log 2013-11-08 19:12:44 -05:00
wavecb
fca7a4732c add miss strlcat strlcpy check for libedit 2013-11-08 20:34:38 +08:00
Moises Silva
7542c5877c freetdm: E&M: Set the line offhook when suspended 2013-11-08 02:22:36 -05:00
Moises Silva
3b0e8d9e2d freetdm: ftmod_zt: Refactor event processing to store OOB events that arrive during read/write operations 2013-11-08 02:22:05 -05:00
Moises Silva
774784fbee mod_freetdm: Handle read errors gracefully when the device is dead already 2013-11-08 02:21:42 -05:00
Moises Silva
545d1e5079 freetdm: Fix hangup supervision on inbound calls for Analog E&M 2013-11-08 02:19:41 -05:00
Steve Underwood
54ae6ff6c1 Adjusted the test for -Wunused-but-set-variable in spandsp, so it gets the
answer right with clang.
2013-11-01 10:32:32 +08:00
Steve Underwood
f532640c49 Fixed an embedded assembly language constraint issue 2013-11-01 02:44:11 +08:00
Anthony Minessale
460b8014b9 add channel to logline 2013-10-31 11:21:34 -05:00
Anthony Minessale
c8be999c34 FS-5911 --resolve 2013-10-25 23:51:43 +05:00
Moises Silva
271eda310e freetdm: Added CAS hangup bit checking to the E&M signaling module 2013-10-24 19:05:35 -04:00
Moises Silva
2b3c98b069 ftmod_analog_em: Block/unblock signaling when a span is stopped/started 2013-10-24 19:05:12 -04:00
Moises Silva
9a45b983b3 Merge remote-tracking branch 'origin/master' into em_management 2013-10-24 16:29:45 -04:00
Jeff Lenk
88b2e96516 windows fix compiler errors 2013-10-22 23:23:48 -05:00
Anthony Minessale
20a55d3cc6 update 2013-10-22 16:27:15 -05:00