Page 407 - Asterisk™: The Future of Telephony
P. 407
q
Quiet mode. Tells the application not to beep or read the selected channel’s name
when spying begins.
r[(basename)]
Records the channel audio to the monitor spool directory (usually /var/spool/aster
isk/monitor). An optional basename set the base filename of the recordings, which
defaults to chanspy.
v([value])
Adjusts the volume of the audio being listened to. The value must be in the range
of 4 to -4. A negative value will make the volume quieter, while a positive value
will make it louder.
w
Whisper mode. This allows the spying channel to talk to the spied-upon channel,
without any other bridged channel being able to hear the audio.
W
Private whisper mode. This enables the spying channel to speak to the spied-upon
channel without being able to hear the audio from the spied-upon channel.
; Spy on the Zap channels in whisper mode
exten => 123,1,ChannelSpy(Zap,w)
See Also
ExtenSpy()
Congestion() Indicates congestion on the channel
Congestion([timeout])
Requests that the channel indicate congestion and then waits for the user to hang up
or for the optional timeout (in seconds) to expire.
This application signals congestion only to the far end; it doesn’t actually play a con-
gestion tone to the user. Use Playtones(congestion) to play a congestion tone to the
caller.
If you use this command without a timeout, you run the risk of having
a channel get stuck in this state. This is not really needed when you want
to indicate congestion to a user. Just use Playtones(congestion) so they
hear the fast-busy, and then Hangup().
Always exits abnormally:
; if the Caller ID number is 555-1234, always play congestion
exten => 123,1,GotoIf($[${CALLERID(num)} = 5551234]?5:2)
exten => 123,2,Playtones(congestion)
exten => 123,3,Congestion(3)
Congestion() | 379