2
0

vars.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <include>
  2. <X-PRE-PROCESS cmd="set" data="sound_prefix=$${sounds_dir}/en/us/callie"/>
  3. <!--<Z-PRE-PROCESS cmd="set" data="sound_prefix=$${sounds_dir}/en/us/allison"/>-->
  4. <!--
  5. This setting is what sets the default domain FreeSWITCH will use if all else fails.
  6. FreeSWICH will default to $${local_ip_v4} unless changed. Changing this setting does
  7. affect the sip authentication. Please review conf/directory/default.xml for more
  8. information on this topic.
  9. -->
  10. <X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/>
  11. <X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/>
  12. <X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/>
  13. <X-PRE-PROCESS cmd="set" data="use_profile=external"/>
  14. <!--
  15. Enable ZRTP globally you can override this on a per channel basis
  16. http://wiki.freeswitch.org/wiki/ZRTP (on how to enable zrtp)
  17. -->
  18. <X-PRE-PROCESS cmd="set" data="zrtp_secure_media=true"/>
  19. <X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMU,PCMA"/>
  20. <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA"/>
  21. <!--
  22. THIS IS ONLY USED FOR DINGALING
  23. bind_server_ip
  24. Can be an ip address, a dns name, or "auto".
  25. This determines an ip address available on this host to bind.
  26. If you are separating RTP and SIP traffic, you will want to have
  27. use different addresses where this variable appears.
  28. Used by: dingaling.conf.xml
  29. -->
  30. <X-PRE-PROCESS cmd="set" data="bind_server_ip=auto"/>
  31. <!-- unroll-loops
  32. Used to turn on sip loopback unrolling.
  33. -->
  34. <X-PRE-PROCESS cmd="set" data="unroll_loops=true"/>
  35. <X-PRE-PROCESS cmd="set" data="outbound_caller_name=FreeSWITCH"/>
  36. <X-PRE-PROCESS cmd="set" data="outbound_caller_id=0000000000"/>
  37. <!-- various debug and defaults -->
  38. <X-PRE-PROCESS cmd="set" data="call_debug=false"/>
  39. <X-PRE-PROCESS cmd="set" data="console_loglevel=info"/>
  40. <X-PRE-PROCESS cmd="set" data="default_areacode=617"/>
  41. <X-PRE-PROCESS cmd="set" data="default_country=US"/>
  42. <!-- if false or undefined, the destination number is included in presence NOTIFY dm:note.
  43. if true, the destination number is not included -->
  44. <X-PRE-PROCESS cmd="set" data="presence_privacy=false"/>
  45. <!--
  46. SIP and TLS settings. http://wiki.freeswitch.org/wiki/Tls
  47. -->
  48. <X-PRE-PROCESS cmd="set" data="sip_tls_version=tlsv1"/>
  49. <!-- Rayo -->
  50. <X-PRE-PROCESS cmd="set" data="rayo_ip=$${local_ip_v4}"/>
  51. <X-PRE-PROCESS cmd="set" data="rayo_domain_name=$${rayo_ip}"/>
  52. <!-- External SIP Profile -->
  53. <X-PRE-PROCESS cmd="set" data="external_rtp_ip=$${local_ip_v4}"/>
  54. <X-PRE-PROCESS cmd="set" data="external_sip_ip=$${local_ip_v4}"/>
  55. <X-PRE-PROCESS cmd="set" data="external_sip_port=5060"/>
  56. <X-PRE-PROCESS cmd="set" data="external_tls_port=5061"/>
  57. <X-PRE-PROCESS cmd="set" data="external_tls_enable=false"/>
  58. <X-PRE-PROCESS cmd="set" data="external_tls_dir=$${base_dir}/conf/ssl"/>
  59. <X-PRE-PROCESS cmd="set" data="external_auth_calls=false"/>
  60. </include>