external-ipv6.xml 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <profile name="external-ipv6">
  2. <gateways>
  3. <NO-PRE-PROCESS cmd="include" data="external-ipv6/*.xml"/>
  4. </gateways>
  5. <aliases>
  6. </aliases>
  7. <domains>
  8. <domain name="all" alias="false" parse="true"/>
  9. </domains>
  10. <settings>
  11. <param name="debug" value="0"/>
  12. <!-- If you want FreeSWITCH to shutdown if this profile fails to load, uncomment the next line. -->
  13. <!-- <param name="shutdown-on-fail" value="true"/> -->
  14. <param name="sip-trace" value="no"/>
  15. <param name="sip-capture" value="no"/>
  16. <param name="rfc2833-pt" value="101"/>
  17. <!-- RFC 5626 : Send reg-id and sip.instance -->
  18. <!--<param name="enable-rfc-5626" value="true"/> -->
  19. <param name="sip-port" value="$${external_sip_port}"/>
  20. <param name="dialplan" value="XML"/>
  21. <param name="context" value="public"/>
  22. <param name="dtmf-duration" value="2000"/>
  23. <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
  24. <param name="outbound-codec-prefs" value="$${outbound_codec_prefs}"/>
  25. <param name="hold-music" value="$${hold_music}"/>
  26. <param name="rtp-timer-name" value="soft"/>
  27. <!--<param name="enable-100rel" value="true"/>-->
  28. <!--<param name="disable-srv503" value="true"/>-->
  29. <!-- This could be set to "passive" -->
  30. <param name="local-network-acl" value="localnet.auto"/>
  31. <param name="manage-presence" value="false"/>
  32. <!-- used to share presence info across sofia profiles
  33. manage-presence needs to be set to passive on this profile
  34. if you want it to behave as if it were the internal profile
  35. for presence.
  36. -->
  37. <!-- Name of the db to use for this profile -->
  38. <!--<param name="dbname" value="share_presence"/>-->
  39. <!--<param name="presence-hosts" value="$${domain}"/>-->
  40. <!--<param name="force-register-domain" value="$${domain}"/>-->
  41. <!--all inbound reg will stored in the db using this domain -->
  42. <!--<param name="force-register-db-domain" value="$${domain}"/>-->
  43. <!-- ************************************************* -->
  44. <!--<param name="aggressive-nat-detection" value="true"/>-->
  45. <param name="inbound-codec-negotiation" value="generous"/>
  46. <param name="nonce-ttl" value="60"/>
  47. <param name="auth-calls" value="false"/>
  48. <param name="inbound-late-negotiation" value="true"/>
  49. <!--
  50. DO NOT USE HOSTNAMES, ONLY IP ADDRESSES IN THESE SETTINGS!
  51. -->
  52. <param name="rtp-ip" value="$${local_ip_v6}"/>
  53. <param name="sip-ip" value="$${local_ip_v6}"/>
  54. <param name="ext-rtp-ip" value="auto-nat"/>
  55. <param name="ext-sip-ip" value="auto-nat"/>
  56. <param name="rtp-timeout-sec" value="300"/>
  57. <param name="rtp-hold-timeout-sec" value="1800"/>
  58. <!--<param name="enable-3pcc" value="true"/>-->
  59. <!-- TLS: disabled by default, set to "true" to enable -->
  60. <param name="tls" value="$${external_ssl_enable}"/>
  61. <!-- Set to true to not bind on the normal sip-port but only on the TLS port -->
  62. <param name="tls-only" value="false"/>
  63. <!-- additional bind parameters for TLS -->
  64. <param name="tls-bind-params" value="transport=tls"/>
  65. <!-- Port to listen on for TLS requests. (5081 will be used if unspecified) -->
  66. <param name="tls-sip-port" value="$${external_tls_port}"/>
  67. <!-- Location of the agent.pem and cafile.pem ssl certificates (needed for TLS server) -->
  68. <!--<param name="tls-cert-dir" value=""/>-->
  69. <!-- Optionally set the passphrase password used by openSSL to encrypt/decrypt TLS private key files -->
  70. <param name="tls-passphrase" value=""/>
  71. <!-- Verify the date on TLS certificates -->
  72. <param name="tls-verify-date" value="true"/>
  73. <!-- TLS verify policy, when registering/inviting gateways with other servers (outbound) or handling inbound registration/invite requests how should we verify their certificate -->
  74. <!-- set to 'in' to only verify incoming connections, 'out' to only verify outgoing connections, 'all' to verify all connections, also 'in_subjects', 'out_subjects' and 'all_subjects' for subject validation. Multiple policies can be split with a '|' pipe -->
  75. <param name="tls-verify-policy" value="none"/>
  76. <!-- Certificate max verify depth to use for validating peer TLS certificates when the verify policy is not none -->
  77. <param name="tls-verify-depth" value="2"/>
  78. <!-- If the tls-verify-policy is set to subjects_all or subjects_in this sets which subjects are allowed, multiple subjects can be split with a '|' pipe -->
  79. <param name="tls-verify-in-subjects" value=""/>
  80. <!-- TLS version ("sslv23" (default), "tlsv1"). NOTE: Phones may not work with TLSv1 -->
  81. <param name="tls-version" value="$${sip_tls_version}"/>
  82. </settings>
  83. </profile>