spandsp.conf.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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="disable-v17" value="false"/>
  24. <param name="ident" value="SpanDSP Fax Ident"/>
  25. <param name="header" value="SpanDSP Fax Header"/>
  26. <param name="spool-dir" value="$${temp_dir}"/>
  27. <param name="file-prefix" value="faxrx"/>
  28. <!-- How many packets to process before sending the re-invite on tx/rx -->
  29. <!-- <param name="t38-rx-reinvite-packet-count" value="50"/> -->
  30. <!-- <param name="t38-tx-reinvite-packet-count" value="100"/> -->
  31. </fax-settings>
  32. <descriptors>
  33. <!-- These tones are defined in Annex to ITU Operational Bulletin No. 781 - 1.II.2003 -->
  34. <!-- Various Tones Used in National Networks (According to ITU-T Recommendation E.180)(03/1998) -->
  35. <!-- North America -->
  36. <descriptor name="1">
  37. <tone name="CED_TONE">
  38. <element freq1="2100" freq2="0" min="700" max="0"/>
  39. </tone>
  40. <tone name="SIT">
  41. <element freq1="950" freq2="0" min="256" max="400"/>
  42. <element freq1="1400" freq2="0" min="256" max="400"/>
  43. <element freq1="1800" freq2="0" min="256" max="400"/>
  44. </tone>
  45. <tone name="RING_TONE" description="North America ring">
  46. <element freq1="440" freq2="480" min="1200" max="0"/>
  47. </tone>
  48. <tone name="REORDER_TONE">
  49. <element freq1="480" freq2="620" min="224" max="316"/>
  50. <element freq1="0" freq2="0" min="168" max="352"/>
  51. <element freq1="480" freq2="620" min="224" max="316"/>
  52. </tone>
  53. <tone name="BUSY_TONE">
  54. <element freq1="480" freq2="620" min="464" max="536"/>
  55. <element freq1="0" freq2="0" min="464" max="572"/>
  56. <element freq1="480" freq2="620" min="464" max="536"/>
  57. </tone>
  58. </descriptor>
  59. <!-- United Kingdom -->
  60. <descriptor name="44">
  61. <tone name="CED_TONE">
  62. <element freq1="2100" freq2="0" min="500" max="0"/>
  63. </tone>
  64. <tone name="SIT">
  65. <element freq1="950" freq2="0" min="256" max="400"/>
  66. <element freq1="1400" freq2="0" min="256" max="400"/>
  67. <element freq1="1800" freq2="0" min="256" max="400"/>
  68. </tone>
  69. <tone name="REORDER_TONE">
  70. <element freq1="400" freq2="0" min="368" max="416"/>
  71. <element freq1="0" freq2="0" min="336" max="368"/>
  72. <element freq1="400" freq2="0" min="256" max="288"/>
  73. <element freq1="0" freq2="0" min="512" max="544"/>
  74. </tone>
  75. <tone name="BUSY_TONE">
  76. <element freq1="400" freq2="0" min="352" max="384"/>
  77. <element freq1="0" freq2="0" min="352" max="384"/>
  78. <element freq1="400" freq2="0" min="352" max="384"/>
  79. <element freq1="0" freq2="0" min="352" max="384"/>
  80. </tone>
  81. </descriptor>
  82. <!-- Germany -->
  83. <descriptor name="49">
  84. <tone name="CED_TONE">
  85. <element freq1="2100" freq2="0" min="500" max="0"/>
  86. </tone>
  87. <tone name="SIT">
  88. <element freq1="900" freq2="0" min="256" max="400"/>
  89. <element freq1="1400" freq2="0" min="256" max="400"/>
  90. <element freq1="1800" freq2="0" min="256" max="400"/>
  91. </tone>
  92. <tone name="REORDER_TONE">
  93. <element freq1="425" freq2="0" min="224" max="272"/>
  94. <element freq1="0" freq2="0" min="224" max="272"/>
  95. </tone>
  96. <tone name="BUSY_TONE">
  97. <element freq1="425" freq2="0" min="464" max="516"/>
  98. <element freq1="0" freq2="0" min="464" max="516"/>
  99. </tone>
  100. </descriptor>
  101. </descriptors>
  102. </configuration>