Commit Graph

16145 Commits

Author SHA1 Message Date
Anthony Minessale b077217d44 FS-6337 2014-06-18 01:19:14 +05:00
Anthony Minessale 3c08104874 remove unused code 2014-06-18 01:17:35 +05:00
Nathan Neulinger d5856a4197 FS-477 fix inappropriate firing of timeout after call proceeds --resolve 2014-06-17 14:56:21 -05:00
Michael Jerris c76c132692 FS-6604: needs DESTDIR 2014-06-17 11:53:10 -05:00
Michael Jerris 6e05bfba13 FS-6604: install to archlib not sitelibexp 2014-06-17 11:19:02 -05:00
Michael Jerris 82dbc5d2b9 FS-6604: install to archlib not sitelibexp 2014-06-17 10:35:17 -05:00
Chris Rienzo 3c7c167581 mod_rayo: improved idle detection- call is idle only if no active components and not joined 2014-06-16 14:39:17 -04:00
Brian West 10719e58c8 work around macro definition of fileno breaking our c++ code 2014-06-16 11:14:42 -05:00
Brian West 23259812ac FS-6593 --resolve this isn't used, I've tested. 2014-06-16 10:42:58 -05:00
Travis Cross 13e02278a1 Use portable version of strerror_r()
FS-6596 --resolve
2014-06-16 13:45:39 +00:00
Jeff Lenk 9e600ec938 FS-6591 --resolve If you are still using spidermonkey you should migrate to v8 2014-06-13 22:49:01 -05:00
Jeff Lenk dc2f5cc491 vs2010 reswig 2014-06-13 22:41:37 -05:00
Anthony Minessale c0e7e7b88c add reset function to clear some state data in the rtp session 2014-06-14 07:05:00 +05:00
Anthony Minessale 280e816a90 FS-6590 --resolve 2014-06-14 04:56:55 +05:00
Anthony Minessale 9108a08a47 fix build 2014-06-13 23:15:41 +05:00
Chris Rienzo 633dfe2a56 FS-6535 mod_rayo: close recognizer when input component is complete 2014-06-13 12:34:19 -04:00
Chris Rienzo 1511fe3ee8 mod_rayo: rework component inheritance- component now inherits parent call/mixer mutex and parent reference counting moved to base class 2014-06-13 12:16:26 -04:00
Chris Rienzo 730d2f88ba mod_rayo: rename reference counting functions to something more sensible 2014-06-13 11:33:33 -04:00
Chris Rienzo 9aa5102142 FS-6535 mod_rayo: compile error 2014-06-13 10:08:49 -04:00
Chris Rienzo 4c54f45f4a FS-6535 mod_rayo: allow unimrcp recognizer w/ profile specified 2014-06-13 10:05:53 -04:00
Brian West 950de7fc5c reswig 2014-06-13 07:49:34 -05:00
Anthony Minessale c375e336bc add debugging 2014-06-13 06:06:14 -04:00
Anthony Minessale 41cea5c751 remove debug 2014-06-13 05:01:37 -04:00
Anthony Minessale 4e5ecdf995 only run plc on mono channels 2014-06-13 03:02:12 -04:00
Anthony Minessale 33541dcfd9 add logging 2014-06-13 03:02:09 -04:00
Anthony Minessale 4ffbf23ffa stereo refactoring 2014-06-13 01:49:16 -04:00
Jeff Lenk 56ef59e9ad vs2010 reswig and fix mod_rss for recent stereo changes 2014-06-12 22:48:21 -05:00
Chris Rienzo c82ac3afbf FS-6535 mod_rayo: fix double lock on speech detection failure 2014-06-12 23:24:35 -04:00
Chris Rienzo bb6869b7ab FS-6535 --resolve mod_rayo: allow multiple grammars (including dtmf) when using unimrcp 2014-06-12 22:56:34 -04:00
Anthony Minessale 0f62c4cd62 FS-6440 --resolve 2014-06-13 05:46:40 +05:00
Anthony Minessale ed7264b6d3 doh 2014-06-13 05:28:14 +05:00
Anthony Minessale 7642d846a9 some more channels updates 2014-06-13 05:13:43 +05:00
Anthony Minessale 579a051867 add channels param the the silence generator function 2014-06-13 04:49:44 +05:00
Chris Rienzo ab5278c02f stereo: fix mod_flite, mod_ssml, mod_unimrcp compile errors 2014-06-12 17:41:52 -04:00
Anthony Minessale 97cc089826 fix compile errs 2014-06-12 13:12:39 -04:00
Anthony Minessale 928a989de1 first pass of stereo support 2014-06-12 22:06:33 +05:00
Michael Jerris b333714906 fix coverity warnings 2014-06-11 17:11:47 -05:00
Michael Jerris bfaf20c2f3 fix install 2014-06-11 15:20:38 -05:00
Michael Jerris 1ffb1ee0d0 WIP 2014-06-11 12:48:46 -05:00
Travis Cross 12da85ef61 Check for execv(3) errors when reincarnating
When -reincarnate-reexec is given we run execv to restart FS.  If
argv[0] isn't a full pathname then execv is going to fail.  While not
common for a FS system started by init, this is a common occurrence
when FS is started from the shell.

Now if execv fails, we'll try execvp.  If that fails too then we'll
fall back on the normal reincarnation behavior.

Previously what would happen in that case is god would descend from
the heavens and become mortal.  Leaving heaven absent, all hope for
reincarnation was lost.

(That is, we'd simply return from reincarnate_protect and the
supervisor process would become the new instance of FS, so the trick
would only work once.)
2014-06-10 23:52:36 +00:00
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
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
Anthony Minessale 49ee6781a5 FS-6540 please test 2014-06-05 23:49:50 +05: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
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