Anthony Minessale
4240526ce3
add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device
2013-06-05 11:20:11 -05:00
Travis Cross
d7b139f3b4
Avoid dereferencing potential null value
2013-05-28 03:55:48 +00:00
Travis Cross
3217442d0e
Remove assignment without effect
2013-05-28 03:46:53 +00:00
Travis Cross
e887cecb5e
Avoid dereferencing potential null value
2013-05-28 03:41:44 +00:00
Travis Cross
2dea51ad58
Handle potential malloc failure better
2013-05-28 03:40:58 +00:00
Travis Cross
ef13a63447
Fix unlikely memory leak in ESL
2013-05-28 03:01:49 +00:00
Travis Cross
a5397e5980
Remove assignment without effect in fs_cli
2013-05-27 21:07:56 +00:00
Travis Cross
f00b77597f
Avoid dangling reference at end of fs_cli
...
Not that it really matters since we're returning to the OS momentarily
at that point anyway.
2013-05-27 21:07:52 +00:00
Travis Cross
8c37db140e
Handle a failure of strerror_r
...
This fixes the build on gcc-4.7.3. The build was breaking with:
error: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Werror=unused-result]
2013-05-25 19:05:34 +00:00
Travis Cross
6d5018007b
Add missing text editor local variable blocks
2013-05-25 19:05:34 +00:00
Stefan Knoblich
cb9090dc93
esl: Don't abort the esl_listen() loop(s) if accept() returns with errno == EINTR
...
ivrd doesn't use sigaction + SA_RESTART for SIGCHILD. An exiting
child process will interrupt accept() in the parent to handle
the signal, which makes accept() return -1 (errno = EINTR) after
the sighandler function returns.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-05-23 02:07:55 +02:00
Stefan Knoblich
ca1d407921
ivrd: fflush() stdout before entering esl_listen()
...
Fixes repeatedly printing the 'Starting forking listener' message,
if stdout has been redirected into a logfile (for example).
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-05-23 02:05:25 +02:00
William King
b4209ca93b
Theoretical memory leak where if attr_init failed, then check would have still been malloc'd but not used.
2013-05-18 20:42:03 -07:00
William King
e2ea6e58c8
Minor code cleanup. calling va_start without calling va_end doesn't leak does it? Either way, it's fixed now.
2013-05-18 20:15:55 -07:00
Jeff Lenk
b4826c1a7f
another esl managed tweak
2013-05-04 12:43:19 -05:00
Jeff Lenk
abbe992e1c
tweak windows esl managed - removing mixed mode and any from the solution - this should remove some of the ambiguity around building
2013-05-04 12:15:04 -05:00
Jeff Lenk
08e28d46b4
FS-5167 fix 2010 dependency
2013-04-15 11:46:23 -05:00
Jeff Lenk
06dcfdab8e
FS-5167 fs_cli update dependency
2013-04-10 10:23:46 -05:00
Jeff Lenk
6fa2c5d5e4
FS-5167
2013-04-10 07:54:24 -05:00
Jeff Lenk
092a794e41
FS-5167 add version stuff to vs2010
2013-04-09 18:12:47 -05:00
Jeff Lenk
5f3160ef0f
FS-5167
2013-04-08 21:17:02 -05:00
Anthony Minessale
5ee719d1d9
FS-5271 --resolve
2013-04-08 12:53:58 -05:00
Jeff Lenk
16a7014284
add more missing vs2012 project filters
2013-02-27 22:34:16 -06:00
Anthony Minessale
bd25514307
add FS_CLI_COLOR=false env and -n/--no-color command line flag to turn off colored banner
2013-02-20 13:51:53 -06:00
Ken Rice
9c975033a7
FS-4844 --resolve
2013-02-07 13:16:19 -06:00
Jeff Lenk
70a9560306
add windows vs2012 esl project and solution
2013-02-04 18:31:28 -06:00
Jeff Lenk
dc2c11f13f
FS-4768 initial add of vs2012 build support
2012-12-29 14:57:15 -06:00
Jeff Lenk
c7e8dce247
FS-4828 --resolve
2012-11-17 21:38:07 -06:00
Ken Rice
3c249b012e
FS-4003 --resolve add IPv6 support to ESL client library, thanks to Steven Ayre
2012-11-01 22:39:16 +00:00
Anthony Minessale
50cd5c28f5
add originated_legs and originate_causes to A leg when present in an originate to detail the B leg data
2012-10-18 13:23:05 -04:00
Jeff Lenk
77eabbbdf7
FS-4694 --resolve
2012-10-17 09:17:16 -05:00
Anthony Minessale
c51aebf621
FS-4694 --resolve
2012-10-16 19:03:29 -04:00
Anthony Minessale
5b0115676c
add void to declarations
2012-09-27 09:19:51 -05:00
Robert Jongbloed
cf0f483aab
Assuming, just because it is MSVC, that the standard integers are not defined, is not correct. Need to test for define _STDINT as well as later versions of MSVC (>= VS2010) do have stdint.h
2012-09-27 10:16:14 +10:00
Stefan Knoblich
8075b01569
Fix error in switch_core_screen_size() and screen_size() fallback code.
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-26 17:21:05 +02:00
Michael Jerris
ee50ed23ab
FS-4645: --resolve fix build error in fs_cli
2012-09-25 14:19:00 -04:00
Anthony Minessale
03c981bf72
add smaller banner for teeny tiny terminals
2012-09-24 14:59:09 -05:00
Michael Jerris
4ff9b2f102
revert fb2ffbafe2
2012-09-24 15:38:06 -04:00
Travis Cross
fb2ffbafe2
Add configure flags to moderate the ClueCon nags
...
The default remains the same: we show the huge ClueCon nag banner on
startup and in fs_cli.
However, if you pass --disable-huge-cluecon-nag, no banner will be
shown.
If you pass --enable-modest-cluecon-nag, a modest text-based ClueCon
reminder will be shown instead.
2012-09-23 07:49:26 +00:00
Jeff Lenk
6b8e177c58
fix strange code analysis error
2012-09-14 14:55:52 -05:00
Jeff Lenk
2e9b4c23de
FS-4618 --resolve
2012-09-14 07:38:03 -05:00
Anthony Minessale
5a956890af
update json lib in core and ESL and re-apply old patches
2012-09-13 12:54:31 -05:00
Jeff Lenk
d8fc88ea75
FS-4605 --resolve
2012-09-10 19:34:04 -05:00
Jeff Lenk
e4e044e310
FS-4566 --resolve Show fs_cli banner in color(windows)
2012-09-02 21:57:20 -05:00
Anthony Minessale
7d38669801
fix wrong len in ESL sendMSG method
2012-08-28 12:04:50 -05:00
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