Announcements
Sangoma Hardware
HW Installation Manuals
Wanpipe Drivers Download Linux | Windows
Wanpipe for Asterisk
Install
Configure
Operation
Debugging
Tutorials
Appendix
Trixbox
Faxing
FAQ
Tapping(*New)
BRI: B700 / A500
Wanpipe for FreeSwitch
Install
Configure
Operation
FAQ
Appendix
Netborder VoIP Gateway
Linux
Windows
Release Notes
FAQ
Config Options
Routing Rules *NEW*
SMG-SS7
Install/Upgrade
Asterisk-SS7 Install
FreeSwitch-SS7 Install
Configure
Operation
Debugging
FAQ
Wanpipe TDM API
LibSangoma
Install/Config
FreeTDM
Wanpipe MTP2 API
Wanpipe for Wan/API
Install
Configure
RPMs
Operation
ADSL - S518
ADSL2+ - S519
Multi-Link PPP
Appendix
FAQ
Wanpipe for Yate
Wanpipe for Callweaver
Install
Configure
Wanpipe Case Studies
Troubleshooting
Tech Support
Glossary
| Wanpipe for Windows |
Wanpipe Linux HDLC API Support
Configuration
1) Run Wancfg
2) Select - "Create a new Configuration File" then "Select from detected cards list"
3) Configure the protocol to HDLC Streaming
4) Go into "Interface Setup" and change the operation mode to "API"
5) Exit and Save changes
6) Start the wanpipe drivers "wanrouter start"
Using the API
1) Go to "/etc/wanpipe/api/aft/"
2) You will see some samples in this directory.
Contents of the API Package
aft_api.c : Client application that sends and receives data.
Eg: Enable Rx and Tx: Tx 10 frames 100 bytes
aft_api -i wp1aft -c wanpipe1 -r -w -txsize 100 -txcnt 10 -verbose
Eg: Rx Only
aft_api -i wp1aft -c wanpipe1 -r -verbose
Legend
wp1aft: is a network interface specified in
wanpipe config file.
(Change to reflect your configuration)
wanpipe1: is the sangoma adapter card specified
in wanpipe config file.
(Change to reflect your configuration)