32 Commits

Author SHA1 Message Date
sean f
4cb44e6c60 FS-10593: clean up whitespaces from several xml files. 2017-08-16 14:58:01 -07:00
Armen Babikyan
6ed86abf9f FS-9300: Add support for disabling sofia's 100 Trying via configuration, and sending 100 Trying from dialplan 2017-02-13 14:49:05 -08:00
Brian West
8fc1acbb6c FS-8363 don't register gateways from directory, this exposes a bug where it registers over what appears to be ipv6 but doens't work correctly 2015-10-19 14:49:15 -05:00
Brian West
13b840e75c FS-7917 #resolve Fixed default config, original patch was correct but we really shouldn't be setting ext-*-ip settings for ipv6 profiles 2015-07-30 11:45:46 -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
Brian
d3a5605ab6 FS-7471 improve configs for video 2015-05-28 12:47:25 -05:00
Spencer Thomason
74e8db736f FS-7309: [mod_sofia] Allow removal of User-Agent header
In certain deployments it might be desirable to remove the User-Agent header from the SIP message.
Set the sofia profile parameter "user-agent-string" to "none" to suppress this header.
2015-02-20 08:36:44 -08:00
Russell Treleaven
e4f77140d2 make the gateway parameters to make the gateways samples the same
It was noticed that the sample gateways were diferent. Brian West
suggest that I merge all the parameters into both examples.
fs-6859
2014-09-26 13:54:52 -04:00
Russell Treleaven
4eb64cb107 make vanilla configuration gateways easier to understand for new users
having the same gateway definition bound to the ipv6 and ipv4 external
profiles caused confusion for some new users. Also having a gateway
bound to the internal profile was a bit confusing.
fs-6859
2014-09-25 14:06:58 -04:00
Russell Treleaven
ce96d95c5e add support for cache directory
make configs use specific directory variables instead of just base_dir
so that one configuration can be used for fhs and legacy installations
2014-08-31 20:22:08 -04: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
Brian West
1893c7ba33 External ipv6 2014-06-16 18:10:45 -05:00
William King
fd38a255f8 FS-6167 --resolve 2014-03-04 13:41:34 -08:00
Brian West
3fae719589 Update in-config docs 2014-02-06 08:58:48 -06:00
Travis Cross
5e8fe326c7 Move documentation to correct place 2014-02-05 17:59:08 +00:00
Travis Cross
8a7a2d95c7 Fix typo from commit 3ecb504fd 2014-02-05 17:57:14 +00:00
Anthony Minessale
3ecb504fda FS-6186 --resolve 2014-02-05 07:15:08 +05:00
Anthony Minessale
643c88f49b FS-6140 --resolve 2014-01-23 02:13:10 +05:00
Ken Rice
37a1f2c633 fix typo 2013-07-05 09:49:28 -05:00
Ken Rice
51fd5a6cee --resolve FS-5426 2013-07-03 14:13:05 -05:00
Ken Rice
bf89fbd81d --resolve FS-5432 2013-07-03 14:13:05 -05:00
Anthony Minessale
48532bd6d1 add config examples 2013-06-19 11:09:40 -05:00
Anthony Minessale
68055eab2b support tls dir options properly 2013-03-31 21:27:26 -05:00
Seven Du
5f733b24bf FS-4225 2013-03-11 18:04:05 +08:00
Ken Rice
784380a650 update these examples to use the correct syntax for pgsql 2012-11-02 19:07:26 +00:00
Eliot Gable
5cb354dddc Initial core-pgsql support based on native libpq; FS starts and stops without errors using core-pgsql. 2012-10-08 20:33:57 +00:00
Travis Cross
c6aa2f14ec add config comments about zrtp-passthru and late negotiation 2012-06-01 21:27:33 +00:00
Travis Cross
c6b523c65f add inbound-zrtp-passthru to sample configs 2012-05-27 05:58:12 +00:00
Travis Cross
8513be49de enable inbound-late-negotiation in sample configs
We often tell people to enable this for various reasons; it likely
makes a sensible default.
2012-05-27 05:50:47 +00:00
Travis Cross
73614127fc whitespace cleanup 2012-05-27 05:44:14 +00:00
Anthony Minessale
677b223579 FS-4122 --resolve this fixes the issue and eliminates the delay unless you configure it to have some 2012-04-18 09:56:06 -05:00
Ken Rice
ee71daa1f6 conf: mv conf/* -> conf/vanilla/* 2012-03-24 03:19:32 +00:00