FreeTDM-Sangoma-ISDN-Library-Configuration-Files

    File format

    freetdm.conf

    All I/O (b-channels) related parameters are set in freetdm.conf.

    [span wanpipe <span name>]

    trunk_type => <trunk type>
    group => <group name>
    b-channel => <physical span number>:<channels> 
    d-channel => <physical span number>:<channel> 

     

    trunk type: possible values are: t1, e1, bri (for point-to-point), bri_ptmp (for point-to-multipoint).

    group name: any string.

    physical span number: This should match the TDMV_SPAN  parameter in your /etc/wanpipe/wanpipeN.conf

    channels: Specify which timeslots within this physical span you want to use.


    freetdm.conf.xml

    All signalling related parameters are set in freetdm.conf.xml. Each span uses a configuration profile for signalling related parameters.
     

    <configuration name="freetdm.conf" description="FreeTDM Configuration">                 

    <!-- General FreeTDM Configuration options -->
    <settings>

    <param name="crash-on-assertvalue="no" />

    </settings> 
    <!-- Configuration profiles -->
    <config_profiles>

    <profile name="[profile name]">

    <param name="[parameter key]value="[parameter value]" />
    <param name="[parameter key]value="[parameter value]" />

    </profile> 

    </config_profiles>
    <!-- list of PRI spans -->
    <sangoma_pri_spans>

    <span name="[span name]cfgprofile="[profile name]">

    <!-- switch related parameters -->
    <param name="dialplanvalue="XML" />
    <param name="contextvalue="default" /> 

    </span>

    </sangoma_pri_spans>

    <!-- list of BRI spans -->
    <sangoma_bri_spans>

    <span name="[span name]cfgprofile="[profile name]">

    <!-- switch related parameters -->
    <param name="dialplanvalue="XML" />
    <param name="contextvalue="default" /> 

    </span>

    </sangoma_bri_spans> 

    </configuration>


     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     


    Sample configuration files.

    1. 5 T1  lines configured as National ISDN 2.
      [freetdm.conf] [freetdm.conf.xml]
    2. 3 E1 lines configured as EuroISDN.
       [freetdm.conf] [freetdm.conf.xml]
    3. 2 T1 lines configured as National ISDN 2 + 3 T1 lines configured as DMS-100.
      [freetdm.conf] [freetdm.conf.xml]
    4. 3 BRI lines in point to point + 2 BRI lines in point to multipoint.
      [freetdm.conf] [freetdm.conf.xml]