spandsp.conf.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <configuration name="spandsp.conf" description="SpanDSP config">
  2. <modem-settings>
  3. <!--
  4. total-modems set to N will create that many soft-modems.
  5. If you use them with Hylafax you need the following for each one numbered 0..N:
  6. 1) A line like this in /etc/inittab:
  7. f0:2345:respawn:/usr/lib/fax/faxgetty /dev/FS0
  8. 2) copy conf/config.FS0 to /var/spool/hylafax/etc (or wherver the appropriate dir is on your system)
  9. Subsequent modem configs would increment the 0 to 1 and so on.
  10. -->
  11. <param name="total-modems" value="0"/>
  12. <!-- Default context and dialplan to use on inbound calls from the modems -->
  13. <param name="context" value="default"/>
  14. <param name="dialplan" value="XML"/>
  15. <!-- Extra tracing for debugging -->
  16. <param name="verbose" value="false"/>
  17. </modem-settings>
  18. <fax-settings>
  19. <param name="use-ecm" value="true"/>
  20. <param name="verbose" value="false"/>
  21. <param name="disable-v17" value="false"/>
  22. <param name="ident" value="SpanDSP Fax Ident"/>
  23. <param name="header" value="SpanDSP Fax Header"/>
  24. <param name="spool-dir" value="/tmp"/>
  25. <param name="file-prefix" value="faxrx"/>
  26. </fax-settings>
  27. <descriptors>
  28. <!-- These tones are defined in Annex to ITU Operational Bulletin No. 781 - 1.II.2003 -->
  29. <!-- Various Tones Used in National Networks (According to ITU-T Recommendation E.180)(03/1998) -->
  30. <!-- North America -->
  31. <descriptor name="1">
  32. <tone name="CED_TONE">
  33. <element freq1="2100" freq2="0" min="700" max="0"/>
  34. </tone>
  35. <tone name="SIT">
  36. <element freq1="950" freq2="0" min="256" max="400"/>
  37. <element freq1="1400" freq2="0" min="256" max="400"/>
  38. <element freq1="1800" freq2="0" min="256" max="400"/>
  39. </tone>
  40. <tone name="RING_TONE" description="North America ring">
  41. <element freq1="440" freq2="480" min="1200" max="0"/>
  42. </tone>
  43. <tone name="REORDER_TONE">
  44. <element freq1="480" freq2="620" min="224" max="316"/>
  45. <element freq1="0" freq2="0" min="168" max="352"/>
  46. <element freq1="480" freq2="620" min="224" max="316"/>
  47. </tone>
  48. <tone name="BUSY_TONE">
  49. <element freq1="480" freq2="620" min="464" max="536"/>
  50. <element freq1="0" freq2="0" min="464" max="572"/>
  51. <element freq1="480" freq2="620" min="464" max="536"/>
  52. </tone>
  53. </descriptor>
  54. <!-- United Kingdom -->
  55. <descriptor name="44">
  56. <tone name="CED_TONE">
  57. <element freq1="2100" freq2="0" min="500" max="0"/>
  58. </tone>
  59. <tone name="SIT">
  60. <element freq1="950" freq2="0" min="256" max="400"/>
  61. <element freq1="1400" freq2="0" min="256" max="400"/>
  62. <element freq1="1800" freq2="0" min="256" max="400"/>
  63. </tone>
  64. <tone name="REORDER_TONE">
  65. <element freq1="400" freq2="0" min="368" max="416"/>
  66. <element freq1="0" freq2="0" min="336" max="368"/>
  67. <element freq1="400" freq2="0" min="256" max="288"/>
  68. <element freq1="0" freq2="0" min="512" max="544"/>
  69. </tone>
  70. <tone name="BUSY_TONE">
  71. <element freq1="400" freq2="0" min="352" max="384"/>
  72. <element freq1="0" freq2="0" min="352" max="384"/>
  73. <element freq1="400" freq2="0" min="352" max="384"/>
  74. <element freq1="0" freq2="0" min="352" max="384"/>
  75. </tone>
  76. </descriptor>
  77. <!-- Germany -->
  78. <descriptor name="49">
  79. <tone name="CED_TONE">
  80. <element freq1="2100" freq2="0" min="500" max="0"/>
  81. </tone>
  82. <tone name="SIT">
  83. <element freq1="900" freq2="0" min="256" max="400"/>
  84. <element freq1="1400" freq2="0" min="256" max="400"/>
  85. <element freq1="1800" freq2="0" min="256" max="400"/>
  86. </tone>
  87. <tone name="REORDER_TONE">
  88. <element freq1="425" freq2="0" min="224" max="272"/>
  89. <element freq1="0" freq2="0" min="224" max="272"/>
  90. </tone>
  91. <tone name="BUSY_TONE">
  92. <element freq1="425" freq2="0" min="464" max="516"/>
  93. <element freq1="0" freq2="0" min="464" max="516"/>
  94. </tone>
  95. </descriptor>
  96. </descriptors>
  97. </configuration>