[Freeswitch-users] freetdm config problem

covici at ccs.covici.com covici at ccs.covici.com
Sun Aug 29 22:11:56 PDT 2010


Hi.  I was trying to config freetdm, but it complained that the name was
not provided and would not load the module.

Here is the freetdm.xml followed by the freetdm.conf.  I have an fxs
port on channel 1 and an fxo port on channel 4 -- using dahdi.

Thanks for any assistance.
<configuration name="freetdm.conf" description="FreeTDM Configuration">
  <settings>
    <param name="debug" value="9"/>
    <!--<param name="hold-music" value="$${moh_uri}"/>-->
    <param name="enable-analog-option" value="call-swap"/>
    <param name="enable-analog-option" value="3-way"/>
  </settings>
  <!-- one entry here per openzap span -->
  <analog_spans>
    <span id="1">
      <!--<param name="hold-music" value="$${moh_uri}"/>-->
      <param name="tonegroup" value="us"/>
      <param name="digit-timeout" value="2000"/>
      <param name="max-digits" value="11"/>
      <param name="dialplan" value="XML"/>
      <param name="context" value="public"/>
      <param name="enable-callerid" value="true"/>
      <!-- regex to stop dialing when it matches -->
      <!--<param name="dial-regex" value="5555"/>-->
      <!-- regex to stop dialing when it does not match -->
      <!--<param name="fail-dial-regex" value="^5"/>-->
    </span>
    <span id="2">
      <!--<param name="hold-music" value="$${moh_uri}"/>-->
      <param name="tonegroup" value="us"/>
      <param name="digit-timeout" value="2000"/>
      <param name="max-digits" value="11"/>
      <param name="dialplan" value="XML"/>
      <param name="context" value="default"/>
      <param name="enable-callerid" value="true"/>
      <!-- regex to stop dialing when it matches -->
      <!--<param name="dial-regex" value="5555"/>-->
      <!-- regex to stop dialing when it does not match -->
      <!--<param name="fail-dial-regex" value="^5"/>-->
    </span>

  </analog_spans>
</configuration>



[span zt-fxs]
name => FreeTDM-fxs
number => 1
fxo-channel => 4

[span zt-fxo]
name => FreeTDM-fxo
number => 2
fxs-channel => 1



-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com



More information about the FreeSWITCH-users mailing list