external-ipv6.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. <param name="inbound-zrtp-passthru" value="true"/> <!-- (also enables late negotiation) -->
  50. <!--
  51. DO NOT USE HOSTNAMES, ONLY IP ADDRESSES IN THESE SETTINGS!
  52. -->
  53. <param name="rtp-ip" value="$${local_ip_v6}"/>
  54. <param name="sip-ip" value="$${local_ip_v6}"/>
  55. <param name="ext-rtp-ip" value="auto-nat"/>
  56. <param name="ext-sip-ip" value="auto-nat"/>
  57. <param name="rtp-timeout-sec" value="300"/>
  58. <param name="rtp-hold-timeout-sec" value="1800"/>
  59. <!--<param name="enable-3pcc" value="true"/>-->
  60. <!-- TLS: disabled by default, set to "true" to enable -->
  61. <param name="tls" value="$${external_ssl_enable}"/>
  62. <!-- Set to true to not bind on the normal sip-port but only on the TLS port -->
  63. <param name="tls-only" value="false"/>
  64. <!-- additional bind parameters for TLS -->
  65. <param name="tls-bind-params" value="transport=tls"/>
  66. <!-- Port to listen on for TLS requests. (5081 will be used if unspecified) -->
  67. <param name="tls-sip-port" value="$${external_tls_port}"/>
  68. <!-- Location of the agent.pem and cafile.pem ssl certificates (needed for TLS server) -->
  69. <!--<param name="tls-cert-dir" value=""/>-->
  70. <!-- Optionally set the passphrase password used by openSSL to encrypt/decrypt TLS private key files -->
  71. <param name="tls-passphrase" value=""/>
  72. <!-- Verify the date on TLS certificates -->
  73. <param name="tls-verify-date" value="true"/>
  74. <!-- TLS verify policy, when registering/inviting gateways with other servers (outbound) or handling inbound registration/invite requests how should we verify their certificate -->
  75. <!-- 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 -->
  76. <param name="tls-verify-policy" value="none"/>
  77. <!-- Certificate max verify depth to use for validating peer TLS certificates when the verify policy is not none -->
  78. <param name="tls-verify-depth" value="2"/>
  79. <!-- 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 -->
  80. <param name="tls-verify-in-subjects" value=""/>
  81. <!-- TLS version ("sslv23" (default), "tlsv1"). NOTE: Phones may not work with TLSv1 -->
  82. <param name="tls-version" value="$${sip_tls_version}"/>
  83. </settings>
  84. </profile>