freeswitch.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version="1.0"?>
  2. <document type="freeswitch/xml">
  3. <section name="configuration" description="Various Configuration">
  4. <configuration name="modules.conf" description="Modules">
  5. <modules>
  6. <load module="mod_sofia"/>
  7. </modules>
  8. </configuration>
  9. <configuration name="console.conf" description="Console Logger">
  10. <mappings>
  11. <map name="all" value="console,debug,info,notice,warning,err,crit,alert"/>
  12. </mappings>
  13. <settings>
  14. <param name="colorize" value="true"/>
  15. <param name="uuid" value="true"/>
  16. <param name="loglevel" value="debug"/>
  17. </settings>
  18. </configuration>
  19. <configuration name="sofia.conf" description="SofiaSIP">
  20. <profiles>
  21. <profile name="external">
  22. <gateways>
  23. <gateway name="faxtest">
  24. <param name="username" value="not-used"/>
  25. <param name="password" value="not-used"/>
  26. <param name="proxy" value="$${local_ip_v4}:61060"/>
  27. <param name="register" value="false"/>
  28. <param name="retry-seconds" value="30"/>
  29. <param name="dtmf-type" value="rfc2833"/>
  30. <variables>
  31. <variable name="rtp_secure_media" value="false" direction="outbound"/>
  32. </variables>
  33. </gateway>
  34. </gateways>
  35. <domains>
  36. <domain name="all" alias="false" parse="true"/>
  37. </domains>
  38. <settings>
  39. <param name="debug" value="1"/>
  40. <param name="shutdown-on-fail" value="true"/>
  41. <param name="p-asserted-id-parse" value="verbatim"/>
  42. <param name="username" value="SignalWire-STACK"/>
  43. <param name="user-agent-string" value="SignalWire STACK Unit Test"/>
  44. <param name="sip-trace" value="yes"/>
  45. <param name="sip-capture" value="no"/>
  46. <param name="rfc2833-pt" value="101"/>
  47. <param name="sip-port" value="61060"/>
  48. <param name="dialplan" value="XML"/>
  49. <param name="context" value="default"/>
  50. <param name="dtmf-duration" value="2000"/>
  51. <param name="inbound-codec-prefs" value="PCMU"/>
  52. <param name="outbound-codec-prefs" value="PCMU"/>
  53. <param name="rtp-timer-name" value="soft"/>
  54. <param name="local-network-acl" value="localnet.auto"/>
  55. <param name="manage-presence" value="false"/>
  56. <param name="inbound-codec-negotiation" value="generous"/>
  57. <param name="nonce-ttl" value="60"/>
  58. <param name="inbound-late-negotiation" value="true"/>
  59. <param name="rtp-ip" value="$${local_ip_v4}"/>
  60. <param name="sip-ip" value="$${local_ip_v4}"/>
  61. <param name="ext-rtp-ip" value="$${local_ip_v4}"/>
  62. <param name="ext-sip-ip" value="$${local_ip_v4}"/>
  63. <param name="rtp-timeout-sec" value="300"/>
  64. <param name="rtp-hold-timeout-sec" value="1800"/>
  65. <param name="session-timeout" value="600"/>
  66. <param name="minimum-session-expires" value="90"/>
  67. <param name="tls" value="false"/>
  68. </settings>
  69. </profile>
  70. <profile name="internal">
  71. <gateways>
  72. </gateways>
  73. <domains>
  74. <domain name="all" alias="false" parse="true"/>
  75. </domains>
  76. <settings>
  77. <param name="debug" value="1"/>
  78. <param name="shutdown-on-fail" value="true"/>
  79. <param name="p-asserted-id-parse" value="verbatim"/>
  80. <param name="username" value="SignalWire-STACK"/>
  81. <param name="user-agent-string" value="SignalWire STACK Unit Test"/>
  82. <param name="sip-trace" value="yes"/>
  83. <param name="sip-capture" value="no"/>
  84. <param name="rfc2833-pt" value="101"/>
  85. <param name="sip-port" value="61061"/>
  86. <param name="dialplan" value="XML"/>
  87. <param name="context" value="default"/>
  88. <param name="dtmf-duration" value="2000"/>
  89. <param name="inbound-codec-prefs" value="PCMU"/>
  90. <param name="outbound-codec-prefs" value="PCMU"/>
  91. <param name="rtp-timer-name" value="soft"/>
  92. <param name="local-network-acl" value="localnet.auto"/>
  93. <param name="manage-presence" value="false"/>
  94. <param name="inbound-codec-negotiation" value="generous"/>
  95. <param name="nonce-ttl" value="60"/>
  96. <param name="inbound-late-negotiation" value="true"/>
  97. <param name="rtp-ip" value="$${local_ip_v4}"/>
  98. <param name="sip-ip" value="$${local_ip_v4}"/>
  99. <param name="ext-rtp-ip" value="$${local_ip_v4}"/>
  100. <param name="ext-sip-ip" value="$${local_ip_v4}"/>
  101. <param name="rtp-timeout-sec" value="300"/>
  102. <param name="rtp-hold-timeout-sec" value="1800"/>
  103. <param name="session-timeout" value="600"/>
  104. <param name="minimum-session-expires" value="90"/>
  105. <param name="tls" value="false"/>
  106. </settings>
  107. </profile>
  108. </profiles>
  109. </configuration>
  110. <configuration name="switch.conf" description="Switch">
  111. <param name="rtp-start-port" value="20000"/>
  112. <param name="rtp-end-port" value="30000"/>
  113. <param name="threaded-system-exec" value="true"/>
  114. </configuration>
  115. <configuration name="timezones.conf" description="Timezones">
  116. <timezones>
  117. <zone name="GMT" value="GMT0" />
  118. </timezones>
  119. </configuration>
  120. </section>
  121. <section name="dialplan" description="Regex/XML Dialplan">
  122. <context name="default">
  123. <extension name="sample">
  124. <condition>
  125. <action application="info"/>
  126. </condition>
  127. </extension>
  128. </context>
  129. </section>
  130. </document>