Commit Graph

5475 Commits

Author SHA1 Message Date
Jeff Lenk 58487c6551 FS-3614 --resolve Fix mod_dingaling build on Windows (VS2008), after recent SSL changes. 2011-10-18 08:53:11 -05:00
Anthony Minessale f506e19e15 FS-3471 making this the new default and patching libdingaling to use it exclusively with openssl, now we actually have single thread for gtalk an no gah noodlez 2011-10-17 12:30:51 -05:00
Anthony Minessale 4bd305e57d FS-3612 --resolve cool, thanks 2011-10-17 08:56:10 -05:00
Jeff Lenk 1afda8fb39 FS-3601 --resolve fix fs_cli for recent changes with windows 2011-10-07 09:03:09 -05:00
Jeff Lenk f0efbd3f08 FS-3599 --resolve correct windows compiler warnings 2011-10-07 08:38:48 -05:00
Stefan Knoblich 5a96ebdaa3 FreeTDM: Escape $(srcdir) in configure.ac variable
Silencing a "configure:xxxx: srcdir: command not found" error message.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-10-06 11:08:42 +02:00
Stefan Knoblich 7f17ad7f92 ftmod_misdn: Change last commit to set -D_GNU_SOURCE instead.
This fixes all build errors.
(Stand-alone build of FreeTDM worked fine, for some
 i-don't-really-want-to-know strange reason).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-10-01 14:05:14 +02:00
Stefan Knoblich 473aab18eb ftmod_misdn: Add -D_BSD_SOURCE to get u_int and friends.
Needed for the mISDN/mISDNif.h header structs, linux/types.h only
provides them for kernel code:

In file included from src/ftmod/ftmod_misdn/ftmod_misdn.c:51:
/usr/include/mISDN/mISDNif.h:296: error: expected specifier-qualifier-list before 'u_int'
/usr/include/mISDN/mISDNif.h:306: error: expected specifier-qualifier-list before 'u_int'
/usr/include/mISDN/mISDNif.h:339: error: expected ')' before 'nr'
...

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-10-01 13:31:16 +02: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 23c981df68 update and improve libs/.gitignore 2011-09-24 06:05:13 +00: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
David Yat Sin 8df1872fbe freetdm:Support for transmission of Caller ID Name on NI-2 2011-09-19 13:51:41 -04:00
Anthony Minessale 2ad4f00c9f add missing break on begin detect 2011-09-19 08:08:55 -05:00
Stefan Knoblich 975ac0ac70 FreeTDM: Fix private/libteletone*.h includes
libteletone headers include each other, use #include ""
to look in the local dir rather than the include search path.

Unbreaking all of my (still) external FreeTDM projects.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-09-19 15:55:07 +02:00
Anthony Minessale 379c9fc41d fix messup in dtmf change 2011-09-16 17:23:15 -05:00
Anthony Minessale f7b40140bb fix messup in dtmf change 2011-09-16 17:07:48 -05:00
Anthony Minessale 995d7dcb02 dont clear token on SIGEVENT_STOP for ISDN legs, save it for the hangup handler 2011-09-16 16:44:15 -05:00
Anthony Minessale 42ff14d22a use index in this loop instead of the max val for the iteration 2011-09-16 15:53:49 -05:00