mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
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.
This commit is contained in:
1 parent
1dc44067cd
commit
5a209a9680
11 files changed
+11
-11
No files matched your search
+1
-1
@@ -27,7 +27,7 @@
|
||||
<!--Use the callerid of an inbound call in the from field on outbound calls via this gateway -->
|
||||
<!--<param name="caller-id-in-from" value="false"/>-->
|
||||
<!--extra sip params to send in the contact-->
|
||||
<!--<param name="contact-params" value="tport=tcp"/>-->
|
||||
<!--<param name="contact-params" value=""/>-->
|
||||
<!--send an options ping every x seconds, failure will unregister and/or mark it down-->
|
||||
<!--<param name="ping" value="25"/>-->
|
||||
<!--</gateway>-->
|
||||
|
||||
Reference in new issue
Block a user