MTP3 API Configuration
Â
The configuration files involved are:
wanpipeN.conf
Provides configuration parameters for Wanpipe Drivers.Âfreetdm.conf
Provides I/O configuration parameters to FreeTDM.Âfreetdm.conf.xml
Provides signalling configuration parameters to FreeTDM.
 Â
wanpipeN.conf
The Wanpipe configuration files are located in /etc/wanpipe/wanpipeN.conf. Each span T1/E1 port require 1 configuration file.
Â
Sample LSL configuration file
Sample HSL configuration file Â
freetdm.conf
The freetdm.conf configuration file is located in /usr/local/freetdm (default). It contains I/O specific parameters.
General Format:
[span wanpipe <span name>] |
Â
freetdm.conf.xml
The freetdm.conf.xml file is used by the sample application to generate span configuration parameters. The parameters are then passed to the FreeTDM library. The freetdm.conf.xml can be located in any directory, it is specified as  an argument when running the sample application.
<configuration>
<signaling_configs>
<sngss7_configs>
<sng_isup name="ss7config">
<sng_gen>
<param name="procId" value="1"/>
<param name="mtp3api" value="yes" />
<param name="license" value="/etc/wanpipe/license.txt" />
</sng_gen>
<mtp1_links>
MTP1 Configuration Options
</mtp1_links>
<mtp2_links>
MTP2 Configuration Options
</mtp2_links>
<mtp3_links>
MTP3 Configuration Options
</mtp3_links>
</sng_isup>
</sngss7_configs>
</signaling_configs>
<sangoma_ss7_spans>
Span configuration options
</sangoma_ss7_spans>
</configuration>
Â
MTP1 Configuration Options
Â
The "id" value should be unique for each MTP1 Link.
The "span_name" value should match the value specified in freetdm.conf
The "chan_no" value specifies which timeslot within the E1 is used. For HSL Links, the chan_no value is always 1.
Â
MTP2 Configuration Options
Â
MTP3 Configuration Options
Â
Span Configuration Options
Â
The "name" parameter specifies which physical span is used. It should match the span name used in freetdm.conf.