Eavesdrop on a channel attached to a specific extension and whisper to it if desired.
ExtenSpy(extension[@context][,options])
ExtenSpy() can listen to incoming and outgoing audio
on channels used by the specified extension. The options:
b
g(grp)
${SPYGROUP} is set to grp.
${SPYGROUP} can contain a : separated list
of values.q
r([name])
chanspy
is the default.v([value])
w
W
The following key controls are available while listening:
#
*
|
|
|
Internal help for this application in Asterisk 1.4: -= Info about application 'ExtenSpy' =-
[Synopsis]
Listen to a channel, and optionally whisper into it
[Description]
ExtenSpy(exten[@context][|options]): This application is used to liste
n to the
audio from an Asterisk channel. This includes the audio coming in and
out of the channel being spied on. Only channels created by outgoing cal
ls for the
specified extension will be selected for spying. If the optional context
is not
supplied, the current channel's context will be used.
While spying, the following actions may be performed:
- Dialing # cycles the volume level.
- Dialing * will stop spying and look for another channel to spy on.
Options:
b - Only spy on channels involved in a bridged call.
g(grp) - Match only channels where their ${SPYGROUP} variable
is set to
contain 'grp' in an optional : delimited list.
q - Don't play a beep when beginning to spy on a channel
, or speak the
selected channel name.
r[(basename)] - Record the session to the monitor spool directory. A
n
optional base for the filename may be specified. The
default is 'chanspy'.
v([value]) - Adjust the initial volume in the range from -4 to 4.
A
negative value refers to a quieter setting.
w - Enable 'whisper' mode, so the spying channel can tal
k to
the spied-on channel.
W - Enable 'private whisper' mode, so the spying channel
can
talk to the spied-on channel but cannot listen to th
at
channel.
diff output to internal help in Asterisk 1.2: -- not available in Version 1.2 -- |
See also. the section called “ChanSpy()”, the section called “ZapBarge()”, the section called “ZapScan()”, the section called “Monitor()”