Slightly less friendly than recording the information about a call is enabling the ability to monitor calls in real time. This allows us to listen in to a conversation as it happens, so that we may see how our customers are being treated.
The application to use to monitor a DAHDI channel is called DAHDIBarge
. It can only accept one command-line argument, which is the number of the channel to listen in on. If we do not pass DAHDIBarge an argument, it will prompt us to enter one. The channel numbers it requests are the same channel numbers given in system.conf
and chan_dahdi.conf
.
Suppose we had four outgoing DAHDI channels, numbered 1 through 4. We could have something like this in our extensions.conf
file:
exten => 8700,1,DAHDIBarge exten => 8700,2,Hangup exten => 8701,1,DAHDIBarge(1) exten => 8701,2,Hangup exten => 8702,1,DAHDIBarge(2) exten => 8702,2,Hangup exten => 8703,1,DAHDIBarge(3) exten => 8703,2,Hangup exten => 8704,1,DAHDIBarge(4)...