Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://ftp.sangoma.com/WINDOWS/sangoma_prid/, be sure you download the latest ones even if the driver version does not match exactly. The driver version included in the directory for the package is meant as a guide showing which driver version was used to test them, but newer driver versions should work too if using latest for each package.

  1. Unzip the sangoma_prid package and place all the DLLs inside the stack/ folder in the FreeSWITCH Debug/ directory.

  2. Create the directory "C:/freetdm/", this directory will be used to place configuration files.

  3. Copy all the files inside libs/freetdm/conf/ to "C:/freetdm/".

  4. Now you can proceed to 

...

  1. to configure your wanpipe board. (Skip the FreeTDM standalone section!)

 

...

FreeTDM standalone (binary installation)

...

This section should only be read for people that is are familiar with the C programming language and needs FreeTDM to create custom voice applications. FreeSWITCH users do not need to follow this stepsstep. If you want standalone usage but you want the source code for the FreeTDM library you must follow the same steps in FreeTDM with FreeSWITCH, skipping the installation of FreeSWITCH.

  1. Download FreeTDM/sangoma_prid stack.

    1. Download the .zip file matching your driver from https://ftp.sangoma.com/WINDOWS/sangoma_prid/.

Note: Be sure you download the latest sangoma_prid package even if the driver version does not match exactly. The driver version included in the directory for the package is meant as a guide showing which driver version was used to test them, but newer driver versions should work too.

  1. Unzip the package.

The package contains the needed FreeTDM library and headers to compile along with Sangoma PRI stack dlls. This is a list of the more important files and directories:

freetdm/bin/ftmod_sangoma_boost.dll - The boost signaling module for FreeTDM which takes care of talking to the PRI stack on behalf of the user.

freetdm/bin/ftmod_wanpipe.dll - The I/O module for FreeTDM to talk to Sangoma boards.

freetdm/include - The headers files you need to build your custom applications. In your application you only need to include freetdm.h ( but the other headers must be available too ).

freetdm/lib - The FreeTDM dll and .lib to link

stack/ All the Sangoma PRI stack libraries. This includes a C runtime and operating system abstractions that have been tested with the stack.

  1. Build your application.

To build your application just make sure you include the headers in freetdm/include and that you link to the freetdm.lib file.  When running your application all the DLL's located at stack/ and freetdm/bin/ folders must be in the loader PATH.

Please refer to http://docs.sangoma.com/doxygen/freetdm/ for the C API documentation. Although the ultimate reference are the comments in the C header files inside the src/include/freetdm.h header.

You can also take a look at sample/boost/ftdm_start.c for a quick sample program placing and receiving calls.

 

...

Wanpipe configuration

Make sure you configure your Wanpipe devices with just 1 group with the following settings:

...