Commit Graph

29 Commits

Author SHA1 Message Date
Chris Rienzo
7aa17a9987 FS-8708 [mod_rayo] fix example configuration to map to correct DETECTED_TONE event from spandsp_start_tone_detect 2016-01-05 14:18:32 -05:00
Travis Cross
1d726c1d91 Fix docs on enabling cert CN/SAN validation
The correct incantations to enable certification common name / subject
alternative name verification, per our code, are `subjects_all`,
`subjects_in`, and `subjects_out` in a Sofia profile's
`tls-verify-policy`.  What we've had in our examples and documentation
for years are `all_subjects`, `in_subjects`, and `out_subjects`.

The result of this is that we've almost certainly confused people into
using the incorrect forms.  Those poor people will believe that they
are verifying the CN/SAN of the received host certificate against the
list in `tls-verify-in-subjects` when in fact they are not.

One clear issue in this case was that the incorrect forms failed to
have any effect without providing any warning or error.  This issue
could not have persisted if we had made more noise about incorrect
input.

Given how long this has been broken, it's tempting to alias the
incorrect forms to the correct ones.  However this would certainly
break many existing installations that have, because of this error,
never actually tested their setup with CN/SAN validation enabled.

In this commit, we fix the examples and documentation, and add an
error-level log output when unknown values are passed to
`tls-verify-policy`.

Thanks-to: Andrew Patrikalakis <anrp+freeswitch@anrp.net>
2015-06-17 17:10:29 +00:00
Chris Rienzo
d04e1f03ff FS-7564 #resolve #comment [mod_rayo] Added new algorithms for offering calls to clients.
Two new params added to autoload_configs/rayo.conf.xml
     offer-algorithm
       all: offer to all clients (default and old behavior)
       first: offer to first client, fails over to next client in list
       random: offer to random client, fails over to next random client

     offer-timeout-ms
       0: disable
       > 0 and < 120000: time to wait for reply from offer.  On timeout, next client is offered call.
                         If no other clients available, call is rejected.  5000 is default.
2015-06-02 10:54:38 -04:00
Michael Jerris
e2236ad559 FS-7508: remove mod_vp8 which has been replaced by mod_vpx 2015-05-28 12:47:25 -05:00
Michael Jerris
91a6fc82c0 FS-7338: remove libsndfile from tree, use system lib instead
FS-7338: remove libsilk from tree, use system lib instead
FS-7338: change to always use system liblua
FS-7338: remove libbroadvoice from tree, use system lib instead
FS-7338: remove libilbc from tree, use system lib instead
FS-7338: remove libs using system libs from bootstrap
FS-7338: remove libg722_1 from tree, use system lib instead
FS-7338: remove mod_celt, it has be superseded by mod_opus
FS-7338: remove libcodec2 from tree, use system lib instead
FS-7338: remove libopus from tree, use system lib instead
FS-7338: remove libsoundtouch build from tree, use system lib instead
FS-7338: remove flite build from tree, use system lib instead
FS-7338: remove openldap build from tree, use system lib instead
FS-7338: remove libmongoc build from tree, use system lib instead
FS-7338: remove mod_mongo deps that are no longer actually required
FS-7338: remove some dup demo modules and don't include demo code in packages
2015-05-28 12:47:24 -05:00
Chris Rienzo
b28f7acac1 FS-7496 Updated mime.types, added switch_core_mime_type2ext function and used it in mod_httapi. Now, file extensions defined in mime.types will be applied if mod_httapi downloads a file without one. 2015-04-30 14:24:41 -04:00
Chris Rienzo
85fbddc655 FS-7150 #resolve #comment [mod_rayo] added param add-variables-to-events which will add channel variables to <offer>, <ringing>, <answered>, and <end> if set to true. Default is false. 2015-01-13 16:01:02 -05:00
Chris Rienzo
e1c0ef5008 mod_rayo: new configuration parameter, add-variables-to-offer (default=false). When true, all channel variables are included in the offer to rayo client 2014-11-14 13:22:53 -05:00
Nathan Neulinger
f175c71188 FS-6805 add support for logging full timestamps with dialplan, defaults to old behavior unless requested 2014-11-11 13:25:47 -06:00
Chris Rienzo
cf1424cfe5 mod_rayo: update config to use spandsp_start_tone_detect and spandsp_stop_tone_detect 2014-11-06 14:54:55 -05:00
Travis Cross
5a209a9680 Remove misleading tport example from configs
As an example of using mod_sofia's gateway parameter `contact-params`
we'd used the value `tport=tcp`.  Looking around, it's clear this has
misled people into believing you can specify `tport=tcp` to make the
gateway use TCP or `tport=tls` to make the gateway use TLS.  This does
not work.

The actual contact parameter is named `transport` rather than `tport`,
and you shouldn't use `transport` in `contact-params` because we
automatically add a `transport` to the Contact: based on the value of
`register-transport` (even if the gateway is set to not register).

It's clear why this would be confusing, so we'll just remove this as
an example.
2014-08-27 23:15:45 +00:00
Chris Rienzo
8b89313045 rayo config: increase mod_shout outscale to mpg123 default of 32768 2014-05-28 11:49:22 -04:00
Michael Jerris
d6fe10979d remove opezap from tree, it has been replaced by freetdm 2014-05-06 11:05:54 -04:00
Travis Cross
0b506af247 Remove mod_speex from other configs 2014-02-19 23:18:08 +00:00
Chris Rienzo
fd0d91c2b6 FS-6092 --resolve mod_rayo - mixer with single call can be recorded 2014-02-05 17:03:19 -05:00
Peter Olsson
9059fb91cc FS-5045 2014-02-02 12:33:37 +01:00
Chris Rienzo
5b2799284b mod_rayo CPA dtmf detection added 2014-01-07 10:10:50 -05:00
Chris Rienzo
8db351858b mod_rayo CPA implemented - still needs testing 2014-01-05 00:39:40 -05:00
Chris Rienzo
91f210a5fc mod_rayo CPA - added detector abstraction 2014-01-04 15:18:10 -05:00
Chris Rienzo
72aea1f53f build: updated mod_rayo config, fixed RPM packaging in master, added mod_rayo and mod_ssml 2013-12-09 17:40:14 -05:00
Chris Rienzo
2906721d01 mod_rayo: fixed config 2013-11-14 16:12:08 -05:00
Chris Rienzo
9500e120a9 mod_rayo: fix config to passthrough loopback dialstrings 2013-11-11 11:43:03 -05:00
Chris Rienzo
bb5d283e50 mod_rayo: <receivefax> component added. No support for HTTP(S) yet. 2013-11-06 17:00:13 -05:00
Chris Rienzo
a49c3a253a mod_ssml: added ordinal, telephone configuration 2013-09-12 11:58:53 -04:00
Chris Rienzo
580f8c21e7 mod_ssml: add default config for interpret-as='characters' 2013-08-28 13:52:37 -04:00
Chris Rienzo
4ae41dd1bd mod_rayo: move alias definition to config file, tweak console command completion to make testing easier 2013-08-14 18:00:30 -04:00
Chris Rienzo
96eba0d6a8 mod_rayo: add support for speech recognizers other than pocketsphinx, fixed some input component bugs, allow simultaneous dtmf and voice input. 2013-08-14 09:41:11 -04:00
Chris Rienzo
07e0de3229 mod_rayo: support secure client-to-server connections 2013-07-15 18:52:09 -04:00
Chris Rienzo
0d32f510f2 mod_rayo: move example config so that make config-rayo works 2013-07-03 14:22:30 -04:00