spandsp.conf.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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 incrment the 0 to 1 and so on.
  10. -->
  11. <param name="total-modems" value="0"/>
  12. <!-- Change the directory of the devices created from /dev. Needed if FS runs as non-root -->
  13. <!-- <param name="directory" value="/dev/FS"/> -->
  14. <!-- Default context and dialplan to use on inbound calls from the modems -->
  15. <param name="context" value="default"/>
  16. <param name="dialplan" value="XML"/>
  17. <!-- Extra tracing for debugging -->
  18. <param name="verbose" value="false"/>
  19. </modem-settings>
  20. <fax-settings>
  21. <param name="use-ecm" value="true"/>
  22. <param name="verbose" value="false"/>
  23. <!--param name="verbose-log-level" value="INFO"/-->
  24. <param name="disable-v17" value="false"/>
  25. <param name="ident" value="SpanDSP Fax Ident"/>
  26. <param name="header" value="SpanDSP Fax Header"/>
  27. <param name="spool-dir" value="$${temp_dir}"/>
  28. <param name="file-prefix" value="faxrx"/>
  29. <!-- How many packets to process before sending the re-invite on tx/rx -->
  30. <!-- <param name="t38-rx-reinvite-packet-count" value="50"/> -->
  31. <!-- <param name="t38-tx-reinvite-packet-count" value="100"/> -->
  32. </fax-settings>
  33. <descriptors>
  34. <!-- These tones are defined in Annex to ITU Operational Bulletin No. 781 - 1.II.2003 -->
  35. <!-- Various Tones Used in National Networks (According to ITU-T Recommendation E.180)(03/1998) -->
  36. <!-- North America -->
  37. <descriptor name="1">
  38. <tone name="CED_TONE">
  39. <element freq1="2100" freq2="0" min="700" max="0"/>
  40. </tone>
  41. <tone name="SIT">
  42. <element freq1="950" freq2="0" min="256" max="400"/>
  43. <element freq1="1400" freq2="0" min="256" max="400"/>
  44. <element freq1="1800" freq2="0" min="256" max="400"/>
  45. </tone>
  46. <tone name="RING_TONE" description="North America ring">
  47. <element freq1="440" freq2="480" min="1200" max="0"/>
  48. </tone>
  49. <tone name="REORDER_TONE">
  50. <element freq1="480" freq2="620" min="224" max="316"/>
  51. <element freq1="0" freq2="0" min="168" max="352"/>
  52. <element freq1="480" freq2="620" min="224" max="316"/>
  53. </tone>
  54. <tone name="BUSY_TONE">
  55. <element freq1="480" freq2="620" min="464" max="536"/>
  56. <element freq1="0" freq2="0" min="464" max="572"/>
  57. <element freq1="480" freq2="620" min="464" max="536"/>
  58. </tone>
  59. </descriptor>
  60. <!-- United Kingdom -->
  61. <descriptor name="44">
  62. <tone name="CED_TONE">
  63. <element freq1="2100" freq2="0" min="500" max="0"/>
  64. </tone>
  65. <tone name="SIT">
  66. <element freq1="950" freq2="0" min="256" max="400"/>
  67. <element freq1="1400" freq2="0" min="256" max="400"/>
  68. <element freq1="1800" freq2="0" min="256" max="400"/>
  69. </tone>
  70. <tone name="REORDER_TONE">
  71. <element freq1="400" freq2="0" min="368" max="416"/>
  72. <element freq1="0" freq2="0" min="336" max="368"/>
  73. <element freq1="400" freq2="0" min="256" max="288"/>
  74. <element freq1="0" freq2="0" min="512" max="544"/>
  75. </tone>
  76. <tone name="BUSY_TONE">
  77. <element freq1="400" freq2="0" min="352" max="384"/>
  78. <element freq1="0" freq2="0" min="352" max="384"/>
  79. <element freq1="400" freq2="0" min="352" max="384"/>
  80. <element freq1="0" freq2="0" min="352" max="384"/>
  81. </tone>
  82. </descriptor>
  83. <!-- Germany -->
  84. <descriptor name="49">
  85. <tone name="CED_TONE">
  86. <element freq1="2100" freq2="0" min="500" max="0"/>
  87. </tone>
  88. <tone name="SIT">
  89. <element freq1="900" freq2="0" min="256" max="400"/>
  90. <element freq1="1400" freq2="0" min="256" max="400"/>
  91. <element freq1="1800" freq2="0" min="256" max="400"/>
  92. </tone>
  93. <tone name="REORDER_TONE">
  94. <element freq1="425" freq2="0" min="224" max="272"/>
  95. <element freq1="0" freq2="0" min="224" max="272"/>
  96. </tone>
  97. <tone name="BUSY_TONE">
  98. <element freq1="425" freq2="0" min="464" max="516"/>
  99. <element freq1="0" freq2="0" min="464" max="516"/>
  100. </tone>
  101. </descriptor>
  102. </descriptors>
  103. </configuration>