vars.xml 2.9 KB

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