<configuration name="spandsp.conf" description="SpanDSP config">
    <modem-settings>
<!--
    total-modems set to N will create that many soft-modems.
    If you use them with Hylafax you need the following for each one numbered 0..N:

    1) A line like this in /etc/inittab:

      f0:2345:respawn:/usr/lib/fax/faxgetty /dev/FS0

    2) copy conf/config.FS0 to /var/spool/hylafax/etc (or wherver the appropriate dir is on your system)

    Subsequent modem configs would incrment the 0 to 1 and so on.

-->
      <param name="total-modems" value="0"/>

      <!-- Default context and dialplan to use on inbound calls from the modems -->
      <param name="context" value="default"/>
      <param name="dialplan" value="XML"/>

      <!-- Extra tracing for debugging -->
      <param name="verbose" value="false"/>
    </modem-settings>

    <fax-settings>
	<param name="use-ecm"		value="false"/>
	<param name="verbose"		value="false"/>
	<param name="disable-v17"	value="false"/>
	<param name="ident"		value="SpanDSP Fax Ident"/>
	<param name="header"		value="SpanDSP Fax Header"/>

	<param name="spool-dir"		value="/tmp"/>
	<param name="file-prefix"	value="faxrx"/>
    </fax-settings>

    <descriptors>

     <!-- These tones are defined in Annex to ITU Operational Bulletin No. 781 - 1.II.2003 -->
     <!-- Various Tones Used in National Networks (According to ITU-T Recommendation E.180)(03/1998) -->

     <!-- North America -->
     <descriptor name="1">
       <tone name="CED_TONE">
         <element freq1="2100" freq2="0" min="500" max="0"/>
       </tone>
       <tone name="SIT">
         <element freq1="950" freq2="0" min="256" max="400"/>
         <element freq1="1400" freq2="0" min="256" max="400"/>
         <element freq1="1800" freq2="0" min="256" max="400"/>
       </tone>
       <tone name="REORDER_TONE">
         <element freq1="480" freq2="620" min="224" max="272"/>
         <element freq1="0" freq2="0" min="224" max="272"/>
       </tone>
       <tone name="BUSY_TONE">
         <element freq1="480" freq2="620" min="464" max="516"/>
         <element freq1="0" freq2="0" min="464" max="516"/>
       </tone>
     </descriptor>

     <!-- United Kingdom -->
     <descriptor name="44">
       <tone name="CED_TONE">
         <element freq1="2100" freq2="0" min="500" max="0"/>
       </tone>
       <tone name="SIT">
         <element freq1="950" freq2="0" min="256" max="400"/>
         <element freq1="1400" freq2="0" min="256" max="400"/>
         <element freq1="1800" freq2="0" min="256" max="400"/>
       </tone>
       <tone name="REORDER_TONE">
         <element freq1="400" freq2="0" min="368" max="416"/>
         <element freq1="0" freq2="0" min="336" max="368"/>
         <element freq1="400" freq2="0" min="256" max="288"/>
         <element freq1="0" freq2="0" min="512" max="544"/>
       </tone>
       <tone name="BUSY_TONE">
         <element freq1="400" freq2="0" min="352" max="384"/>
         <element freq1="0" freq2="0" min="352" max="384"/>
         <element freq1="400" freq2="0" min="352" max="384"/>
         <element freq1="0" freq2="0" min="352" max="384"/>
       </tone>
     </descriptor>

     <!-- Germany -->
     <descriptor name="49">
       <tone name="CED_TONE">
         <element freq1="2100" freq2="0" min="500" max="0"/>
       </tone>
       <tone name="SIT">
         <element freq1="900" freq2="0" min="256" max="400"/>
         <element freq1="1400" freq2="0" min="256" max="400"/>
         <element freq1="1800" freq2="0" min="256" max="400"/>
       </tone>
       <tone name="REORDER_TONE">
         <element freq1="425" freq2="0" min="224" max="272"/>
         <element freq1="0" freq2="0" min="224" max="272"/>
       </tone>
       <tone name="BUSY_TONE">
         <element freq1="425" freq2="0" min="464" max="516"/>
         <element freq1="0" freq2="0" min="464" max="516"/>
       </tone>
     </descriptor>
   </descriptors>

</configuration>

