internal-ipv6.xml 7.0 KB

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