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
82f77413e9
Revert "speed up configure"
...
This reverts commit 324110bfa2
.
2011-09-23 16:54:41 +00:00
Travis Cross
324110bfa2
speed up configure
...
...at least until registration opens for next year's ClueCon.
2011-09-23 16:34:29 +00:00
Anthony Minessale
639afde2a4
FS-3571 --resolve
2011-09-23 08:20:59 -05: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
33998df974
alternate fix for a0e910014d
with a slightly more efficient function
2011-09-22 18:05:40 -05:00
Stefan Knoblich
a0e910014d
mod_sms: fix "format literal and no arguments" warning
...
mod_sms.c: In function ‘reply_function’:
mod_sms.c:450: error: format not a string literal and no format arguments
Reported-by: Gill #freeswitch @ irc.freenode.net
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-09-22 21:11:43 +02:00
Raymond Chandler
decb286114
i guess you're supposed to mention that you contributed :-\
2011-09-21 20:03:46 -04:00
Raymond Chandler
10397dd68a
Merge branch 'master' of fs-git:freeswitch
2011-09-21 18:43:50 -04:00
Raymond Chandler
1d5f5ec7f3
add ability to dump a list back to it's text file
2011-09-21 18:43:29 -04:00
Anthony Minessale
14678d54c1
fix switch_file_printf
2011-09-21 15:35:47 -05:00
Anthony Minessale
842ea87d64
FS-3571 try this, I don't have a way to test it so this is just guessing, give me a lab box if this doesn't work
2011-09-21 14:56:49 -05:00
Anthony Minessale
259a3e9fc3
add to modules.conf.in
2011-09-21 14:33:00 -05: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
Anthony Minessale
5fe3a22d83
fix inaccurate sample count in file handle, buffered samples were being double tallied
2011-09-21 11:05:33 -05:00
Michal Bielicki - cypromis
1fdd55f4d4
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch
2011-09-21 16:39:10 +02:00
Stefan Knoblich
41abb3e644
mod_blacklist: Resource leak fixes, config checks and add help output for api interface
...
Don't leak the file handle after parsing the configuration
Don't leak memory if the file could not be opened
Check list name and filename attribute of configuration entry.
Add "blacklist help" and error messages to api interface.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-09-21 15:50:57 +02:00
Michal Bielicki - cypromis
3ddb7d6c38
added mod_blacklist to spec file
2011-09-21 15:16:24 +02:00
Stefan Knoblich
d00f74640f
mod_blacklist: Add example configuration file
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-09-21 15:10:37 +02:00
Georgiewskiy Yuriy
6f4c4ea088
moves the switch_rtp_request_port() call from the contructor to FSH323Connection::CreateRealTimeLogicalChannel() - fix rtp port leak. tnx to Peter Olsson.
2011-09-20 15:22:09 +04:00
Anthony Minessale
626b5cb2a2
FS-3571 FS-3442 FS-957 --resolve tighten up the parsing of these boolean vals issue in t38 sdp
2011-09-19 20:11:23 -05:00
Anthony Minessale
d820fe082b
fix small valet parking issue
2011-09-19 17:09:50 -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
Stefan Knoblich
836804707a
Make top-level configure python checks python 3 ready
...
print <value> syntax does not work in python 3.
Add round braces to call it like any other function.
Tested with python-2.4 and 3.1.
NOTE: Only fixes the configure check, mod_python does NOT build with
python 3.x!
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-09-19 15:47:06 +02:00
Stefan Knoblich
0f45b8badd
mod_dingaling: Remove unused but set variables (GCC-4.6 -Wunused-but-set-variable)
...
Subject and type event headers were never used in chat_send(), remove them.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-09-18 01:14:56 +02:00