27364 Commits

Author SHA1 Message Date
Travis Cross
03202e3017 Add fsctl command to summon reincarnation
If you start freeswitch with -reincarnate or -reincarnate-reexec, FS
will restart automatically in the event of an unexpected exit.

Currently, you can cause FS to immediately call exit(0) with `fsctl
shutdown now`, or you can have it call abort() with `fsctl crash`.
Which are both nice, but if you have reincarnation engaged, you really
might want FS to call exit([non-zero]) so the great supervisor
immediately breathes life back into your system.

This is now available via `fsctl shutdown reincarnate now`.
2014-06-10 22:39:27 +00:00
Chris Rienzo
d94e393480 freeswitch-config-rayo.spec remove some dependencies to high def audio and specific fs version 2014-06-10 15:02:15 -04:00
Steve Underwood
10647be5a0 Fixed incorrect T.30 CTC messages. Fixed reseting of the CRC generator
in the HDLC tx code
2014-06-11 01:49:29 +08:00
Anthony Minessale
0685027bd8 FS-6574 --resolve 2014-06-09 14:29:08 -04:00
Nathan Neulinger
148c21c6b2 FS-477 mod_skinny fix leaked lock 2014-06-09 12:34:52 -05:00
Nathan Neulinger
2974734479 FS-477 mod_skinny: re-add ability to set digit timeout in patterns, update example configs 2014-06-09 12:29:47 -05:00
Nathan Neulinger
8b6fd66f34 FS-477 default to 10 seconds to avoid noticeable impact on current users until variable timeout support re-added 2014-06-09 10:56:52 -05:00
Simon Wunderlich
31a181a4b5 mod_skinny: implement digit timeout for dialing
For numbers with variable length, there should be a timeout to wait for
further digits before routing the number. This has been prepared with
the skinny-wait target, which waited forever. This patch implements the
digit timeout which routes the call after the timeout has elapsed. The
timeout can be configured in the mod_skinny XML settings
("digit-timeout") and defaults to 2 seconds.

This implementation has been requested and sponsored by Blackned GmbH.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2014-06-09 10:55:36 -05:00
Jeff Lenk
a607c20a94 windows fix for a0e9ddf58943171a9031159919e99ef20147a11e 2014-06-08 16:06:32 -05:00
Anthony Minessale
49ee6781a5 FS-6540 please test 2014-06-05 23:49:50 +05:00
Anthony Minessale
36e72b86ca force spandsp rebuild 2014-06-05 22:07:08 +05:00
Brian West
9847b2a6f4 CVE-2014-0224 2014-06-05 08:37:09 -05:00
Travis Cross
31186d815b Improve a parameter name for fs_cli
What we momentarily called log-uuid-chars is now better called
log-uuid-length.  Setting log-uuid-length will specify a truncation
length for UUIDs displayed by setting log-uuid.
2014-06-04 16:07:10 +00:00
Steve Underwood
3549488e8e Fixed a problem in FAX where a received handshake, delayed so much it is
received as we queue a retry, causes the retry frame to remain queued in the
HDLC entity.
2014-06-04 23:54:03 +08:00
Anthony Minessale
37a194d956 FS-6555: move -w to the right place so it silences the warnings in generated code instead of using gnu makeisms that didn't actually fix the problem 2014-06-04 20:43:38 +05:00
Travis Cross
c015013e5f Add log-uuid-short option to fs_cli
If log-uuid-short is set, or -S is passed to fs_cli, we only display
the first 8 hex digits of the UUID.  The log-uuid-chars option may
instead be set to specify some other truncation length for the UUID.
2014-06-04 12:01:01 +00:00
Travis Cross
a0e9ddf589 Convert esl_true and esl_false to functions
Prior to this commit, an expression such as:

  esl_true("true") ? 42 : 0

...would return 1 rather than 42.
2014-06-04 12:00:31 +00:00
Ken Rice
9479729340 bump revsions v1.4.6 2014-06-03 14:35:16 -05:00
Ken Rice
6d4fa0ea12 Merge branch 'master' into v1.4 2014-06-03 14:33:50 -05:00
Ken Rice
70b03acf71 FS-6563 --resolve update the freeswitch.spec file for building on Centos6, drop spidermonkey and add other requirements 2014-06-03 14:33:16 -05:00
Anthony Minessale
3ab1044d6e FS-6562 --resolve 2014-06-03 15:16:45 -04:00
Brian West
6722e3dfea fix regression from regression 2014-06-02 19:25:04 -05:00
Brian West
f358c35b67 remove debug line 2014-06-02 19:21:02 -05:00
Anthony Minessale
a7b9329a08 FS-6446 regression fixed 2014-06-02 19:09:48 -05:00
Anthony Minessale
0eda5cb80f suppress audio flaw tally when coming off hold 2014-06-02 19:09:10 -05:00
Anthony Minessale
956da6d689 Modify sofia profile to attempt to bind to the interface up to 3 tries with a 5 second wait between attempts.
Add new profile params bind-attempts and bind-attempt-interval to modify default behavior.
--NEEDSDOCS
2014-06-02 22:47:26 +05:00
William King
7ce2009fad Fix compiler warning about possibly uninitialized variable in libs/esl 2014-06-02 08:33:05 -07:00
Michael Jerris
e992c4c4d8 CID:1216560 Unchecked return value from ioctl 2014-06-02 14:11:07 +00:00
Seven Du
ead290870a fix compiler warning for implicit convertion 2014-06-01 08:09:49 +08:00
Anthony Minessale
495db48f5a make device state code more accurate 2014-05-31 00:30:59 +05:00
Travis Cross
79a888de2c Revert addition of PERL_GCC_PEDANTIC to CFLAGS
Brian and I decided to handle this by just stripping -ansi -pedantic
from the mod_perl build instead.

Revert "Since we can't tell if the system perl was built with
pedantic, we have a problem because we default debug enabled which
uses AX_CFLAGS_WARN_ALL_ANSI, For the GNU CC compiler it will be
-Wall (and -ansi -pedantic) The result is added to the shellvar being
CFLAGS by default.  Which then gets included for building mod_perl,
Either way I think this is the correct corse of action to overcome
these new builds of mod_perl."

This reverts commit cb94340e268466d19f41961f3b435897994ec1fa.
2014-05-30 15:40:46 +00:00
Travis Cross
750e2bae36 Build mod_perl without pedantic flags even when debugging
This means we don't have to set PERL_GCC_PEDANTIC which removes
assertions that are helpful for debugging.
2014-05-30 15:37:14 +00:00
Brian West
cb94340e26 Since we can't tell if the system perl was built with pedantic, we have a problem because we default debug enabled which uses AX_CFLAGS_WARN_ALL_ANSI, For the GNU CC compiler it will be -Wall (and -ansi -pedantic) The result is added to the shellvar being CFLAGS by default. Which then gets included for building mod_perl, Either way I think this is the correct corse of action to overcome these new builds of mod_perl. 2014-05-29 21:13:07 -05:00
Michael Jerris
6092524f17 CID:1174726 Dereference before null check, CID:1214199 Dereference null return value; refactor channel_outgoing_channel to have failure conditions first to reduce indenting level 2014-05-29 21:59:26 +00:00
Anthony Minessale
0d7b1ff42a chrome now requires longer ice password 2014-05-29 15:46:31 -04:00
Anthony Minessale
8f5c321714 chrome now requires longer ice password v1.4.5 2014-05-29 14:45:29 -05:00
Ken Rice
db4d062318 new version YAY! 2014-05-29 14:39:47 -05:00
Ken Rice
db111f6a29 Merge branch 'master' into v1.4 2014-05-29 14:38:46 -05:00
Travis Cross
b53a6c2b2e Remove unused assignment
If we don't find it, we create a new one, and if we do find it, we
don't use it.
2014-05-29 16:01:09 +00:00
William King
2b0c9a1482 FS-6560 --resolve 2014-05-29 08:37:21 -07:00
Travis Cross
609982cf2f Remove redundant check for null
We're asserting now, and we would have already blown up from
dereferencing earlier.
2014-05-29 14:25:49 +00:00
Travis Cross
6663692ff7 Assert on implied failure to malloc
switch_event_expand_headers should only return null on a malloc
failure, so we might as well just assert here.
2014-05-29 14:24:48 +00:00
Travis Cross
e66d24622a Fix potential dereference of null pointer
The node could conceivably disappear before we grab the globals mutex
and we'd get back a null pointer.
2014-05-29 14:11:33 +00:00
Travis Cross
17137d089d Add missing parenthesis pair
This would have briefly prevented setting outbound_per_cycle from the
mod_fifo config file.
2014-05-29 13:21:22 +00:00
Travis Cross
84fe7b0794 Remove tautological condition check
We already decided to goto end if node is null, so it cannot be null
here.
2014-05-29 13:15:44 +00:00
Travis Cross
bf59d57dab Add missing parenthesis pair
This would have briefly caused the importance value in the fifo config
file to be ignored.
2014-05-29 13:10:23 +00:00
Anthony Minessale
50dfce2845 FS-6513 --resolve This function was assuming the app was being run with execute_on_media so it did not properly check for established media. Now it will use the scheduler method automatically when this state is detected. 2014-05-29 01:14:28 +05:00
Brian West
eb923bbd2d Copy snafu here is the correct file 2014-05-28 12:32:28 -05:00
Brian West
93561c6720 Nike edition of makefile for quickly building debian7 or centos 6.5 freeswitch takes care of all deps. 2014-05-28 12:29:47 -05:00
Travis Cross
a976badec7 Document the length limit of fifo_outbound_uuid
Ask me sometime how I was "reminded" of this.
2014-05-28 17:04:46 +00:00