Tap here to compare the top VoIP providersTap here to hide the top VoIP Providers
ztloopztloop is a linux kernel module developed by Druid Software Ltd that emulates a PRI card where the first 2 spans are connected in loopback.
It also allows tapping of data transmission between span 1 and 2 using spans 3 and 4.
Clocking code is borrowed from the ztdummy module.
ztloop allows developers to test user space applications without the need for installing a zaptel based PRI card.
ztloop can be downloaded here. Current version is 1.0.
Example with Illustration
The following diagram illustrates an example of a setup using the ztloop.
/etc/zaptel.conf is thus configured like it would be for a regular PRI card.
2 user space applications have opened the D channel of their respective span (16 & 47) and are transmitting data.
What is sent over /dev/zap/16 is received by /dev/zap/47 and vice versa.
ztloop automatically configures pseudo span 3 to monitor transmission over span 1 and pseudo span 4 to monitor transmission over span 2.
In other words, an application can open /dev/zap/78 to tap transmission over /dev/zap/16, and /dev/zap/109 to tap transmission over /dev/zap/47.
Obviously, the above applies to b channels as well.
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+