Upgrade 3CX to v18 and get it hosted free!

ztloop

Author image

ztloop 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.

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 userspace 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.

ztloop - Voip-info.org

See also

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.