2
0

vars.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. <X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMU,PCMA"/>
  15. <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA"/>
  16. <!--
  17. THIS IS ONLY USED FOR DINGALING
  18. bind_server_ip
  19. Can be an ip address, a dns name, or "auto".
  20. This determines an ip address available on this host to bind.
  21. If you are separating RTP and SIP traffic, you will want to have
  22. use different addresses where this variable appears.
  23. Used by: dingaling.conf.xml
  24. -->
  25. <X-PRE-PROCESS cmd="set" data="bind_server_ip=auto"/>
  26. <!-- unroll-loops
  27. Used to turn on sip loopback unrolling.
  28. -->
  29. <X-PRE-PROCESS cmd="set" data="unroll_loops=true"/>
  30. <X-PRE-PROCESS cmd="set" data="outbound_caller_name=FreeSWITCH"/>
  31. <X-PRE-PROCESS cmd="set" data="outbound_caller_id=0000000000"/>
  32. <!-- various debug and defaults -->
  33. <X-PRE-PROCESS cmd="set" data="call_debug=false"/>
  34. <X-PRE-PROCESS cmd="set" data="console_loglevel=info"/>
  35. <X-PRE-PROCESS cmd="set" data="default_areacode=617"/>
  36. <X-PRE-PROCESS cmd="set" data="default_country=US"/>
  37. <!-- if false or undefined, the destination number is included in presence NOTIFY dm:note.
  38. if true, the destination number is not included -->
  39. <X-PRE-PROCESS cmd="set" data="presence_privacy=false"/>
  40. <!--
  41. SIP and TLS settings. http://wiki.freeswitch.org/wiki/Tls
  42. -->
  43. <X-PRE-PROCESS cmd="set" data="sip_tls_version=tlsv1"/>
  44. <!-- Rayo -->
  45. <X-PRE-PROCESS cmd="set" data="rayo_ip=$${local_ip_v4}"/>
  46. <X-PRE-PROCESS cmd="set" data="rayo_domain_name=$${rayo_ip}"/>
  47. <!-- External SIP Profile -->
  48. <X-PRE-PROCESS cmd="set" data="external_rtp_ip=$${local_ip_v4}"/>
  49. <X-PRE-PROCESS cmd="set" data="external_sip_ip=$${local_ip_v4}"/>
  50. <X-PRE-PROCESS cmd="set" data="external_sip_port=5060"/>
  51. <X-PRE-PROCESS cmd="set" data="external_tls_port=5061"/>
  52. <X-PRE-PROCESS cmd="set" data="external_tls_enable=false"/>
  53. <X-PRE-PROCESS cmd="set" data="external_tls_dir=$${base_dir}/conf/ssl"/>
  54. <X-PRE-PROCESS cmd="set" data="external_auth_calls=false"/>
  55. </include>