internal-ipv6.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <profile name="internal-ipv6">
  2. <!--
  3. This is an example of a sofia profile setup to listen on IPv6.
  4. -->
  5. <!-- http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files -->
  6. <!--aliases are other names that will work as a valid profile name for this profile-->
  7. <settings>
  8. <!-- Can be set to "_undef_" to remove the User-Agent header -->
  9. <!-- <param name="user-agent-string" value="FreeSWITCH Rocks!"/> -->
  10. <param name="debug" value="0"/>
  11. <param name="sip-trace" value="no"/>
  12. <param name="context" value="public"/>
  13. <param name="rfc2833-pt" value="101"/>
  14. <!-- port to bind to for sip traffic -->
  15. <param name="sip-port" value="$${internal_sip_port}"/>
  16. <param name="dialplan" value="XML"/>
  17. <param name="dtmf-duration" value="2000"/>
  18. <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
  19. <param name="outbound-codec-prefs" value="$${global_codec_prefs}"/>
  20. <param name="use-rtp-timer" value="true"/>
  21. <param name="rtp-timer-name" value="soft"/>
  22. <!-- ip address to use for rtp -->
  23. <param name="rtp-ip" value="$${local_ip_v6}"/>
  24. <!-- ip address to bind to -->
  25. <param name="sip-ip" value="$${local_ip_v6}"/>
  26. <param name="hold-music" value="$${hold_music}"/>
  27. <!--<param name="enable-100rel" value="false"/>-->
  28. <!--<param name="disable-srv503" value="true"/>-->
  29. <param name="apply-inbound-acl" value="domains"/>
  30. <!--<param name="apply-register-acl" value="domains"/>-->
  31. <!--<param name="dtmf-type" value="info"/>-->
  32. <param name="record-template" value="$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
  33. <!--enable to use presence and mwi -->
  34. <param name="manage-presence" value="true"/>
  35. <!-- This setting is for AAL2 bitpacking on G726 -->
  36. <!-- <param name="bitpacking" value="aal2"/> -->
  37. <!--max number of open dialogs in proceeding -->
  38. <!--<param name="max-proceeding" value="1000"/>-->
  39. <!--max number of receiving requests per second (Default: 1000, 0 - unlimited) -->
  40. <!--<param name="max-recv-requests-per-second" value="0"/>-->
  41. <!--session timers for all call to expire after the specified seconds -->
  42. <!--<param name="session-timeout" value="1800"/>-->
  43. <!--<param name="multiple-registrations" value="true"/>-->
  44. <!--set to 'greedy' if you want your codec list to take precedence -->
  45. <param name="inbound-codec-negotiation" value="generous"/>
  46. <!-- if you want to send any special bind params of your own -->
  47. <!--<param name="bind-params" value="transport=udp"/>-->
  48. <!--<param name="unregister-on-options-fail" value="true"/>-->
  49. <!-- TLS: disabled by default, set to "true" to enable -->
  50. <param name="tls" value="$${internal_ssl_enable}"/>
  51. <!-- additional bind parameters for TLS -->
  52. <param name="tls-bind-params" value="transport=tls"/>
  53. <!-- Port to listen on for TLS requests. (5061 will be used if unspecified) -->
  54. <param name="tls-sip-port" value="$${internal_tls_port}"/>
  55. <!-- Location of the agent.pem and cafile.pem ssl certificates (needed for TLS server) -->
  56. <param name="tls-cert-dir" value="$${internal_ssl_dir}"/>
  57. <!-- TLS version ("sslv23" (default), "tlsv1"). NOTE: Phones may not work with TLSv1 -->
  58. <param name="tls-version" value="$${sip_tls_version}"/>
  59. <!--If you don't want to pass through timestampes from 1 RTP call to another (on a per call basis with rtp_rewrite_timestamps chanvar)-->
  60. <!--<param name="rtp-rewrite-timestamps" value="true"/>-->
  61. <!--<param name="pass-rfc2833" value="true"/>-->
  62. <!--If you have ODBC support and a working dsn you can use it instead of SQLite-->
  63. <!--<param name="odbc-dsn" value="dsn:user:pass"/>-->
  64. <!--Uncomment to set all inbound calls to no media mode-->
  65. <!--<param name="inbound-bypass-media" value="true"/>-->
  66. <!--Uncomment to set all inbound calls to proxy media mode-->
  67. <!--<param name="inbound-proxy-media" value="true"/>-->
  68. <!-- Let calls hit the dialplan before selecting codec for the a-leg -->
  69. <param name="inbound-late-negotiation" value="true"/>
  70. <!-- Allow ZRTP clients to negotiate end-to-end security associations (also enables late negotiation) -->
  71. <param name="inbound-zrtp-passthru" value="true"/>
  72. <!-- this lets anything register -->
  73. <!-- comment the next line and uncomment one or both of the other 2 lines for call authentication -->
  74. <!-- <param name="accept-blind-reg" value="true"/> -->
  75. <!-- accept any authentication without actually checking (not a good feature for most people) -->
  76. <!-- <param name="accept-blind-auth" value="true"/> -->
  77. <!-- suppress CNG on this profile or per call with the 'suppress_cng' variable -->
  78. <!-- <param name="suppress-cng" value="true"/> -->
  79. <!--TTL for nonce in sip auth-->
  80. <param name="nonce-ttl" value="60"/>
  81. <!--Uncomment if you want to force the outbound leg of a bridge to only offer the codec
  82. that the originator is using-->
  83. <!--<param name="disable-transcoding" value="true"/>-->
  84. <!-- Used for when phones respond to a challenged ACK with method INVITE in the hash -->
  85. <!--<param name="NDLB-broken-auth-hash" value="true"/>-->
  86. <!-- add a ;received="<ip>:<port>" to the contact when replying to register for nat handling -->
  87. <!--<param name="NDLB-received-in-nat-reg-contact" value="true"/>-->
  88. <param name="auth-calls" value="$${internal_auth_calls}"/>
  89. <!-- on authed calls, authenticate *all* the packets not just invite -->
  90. <param name="auth-all-packets" value="false"/>
  91. <!-- Shouldn't set these on IPv6 -->
  92. <!-- <param name="ext-rtp-ip" value="$${external_rtp_ip}"/> -->
  93. <!-- <param name="ext-sip-ip" value="$${external_sip_ip}"/> -->
  94. <!-- rtp inactivity timeout -->
  95. <param name="rtp-timeout-sec" value="300"/>
  96. <param name="rtp-hold-timeout-sec" value="1800"/>
  97. <!-- VAD choose one (out is a good choice); -->
  98. <!-- <param name="vad" value="in"/> -->
  99. <!-- <param name="vad" value="out"/> -->
  100. <!-- <param name="vad" value="both"/> -->
  101. <!--<param name="alias" value="sip:10.0.1.251:5555"/>-->
  102. <!--
  103. These are enabled to make the default config work better out of the box.
  104. If you need more than ONE domain you'll need to not use these options.
  105. -->
  106. <!--all inbound reg will look in this domain for the users -->
  107. <param name="force-register-domain" value="$${domain}"/>
  108. <!--all inbound reg will stored in the db using this domain -->
  109. <param name="force-register-db-domain" value="$${domain}"/>
  110. <!-- disable register and transfer which may be undesirable in a public switch -->
  111. <!--<param name="disable-transfer" value="true"/>-->
  112. <!--<param name="disable-register" value="true"/>-->
  113. <!--<param name="enable-3pcc" value="true"/>-->
  114. <!-- use stun when specified (default is true) -->
  115. <!--<param name="stun-enabled" value="true"/>-->
  116. <!-- use stun when specified (default is true) -->
  117. <!-- set to true to have the profile determine stun is not useful and turn it off globally-->
  118. <!--<param name="stun-auto-disable" value="true"/>-->
  119. <!-- the following can be used as workaround with bogus SRV/NAPTR records -->
  120. <!--<param name="disable-srv" value="false" />-->
  121. <!--<param name="disable-naptr" value="false" />-->
  122. </settings>
  123. </profile>