Page 422 - Asterisk™: The Future of Telephony
P. 422
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 channels created by extension 125 in the lab context
exten => 123,1,ExtenSpy(125@lab,w)
See Also
ChanSpy()
ExternalIVR() Interfaces with an external IVR application
ExternalIVR(command[,arg1[,arg2...]])
Forks a process to run the specified ExternalIVR-compliant command, and starts a gen-
erator on the channel. The generator’s play list is controlled by the external application,
which can add and clear entries via simple commands issued over STDOUT. The external
application will receive notifications of all DTMF events received on the channel, and
notification if the channel is hung up. The application will not be forcibly terminated
when the channel is hung up.
See doc/externalivr.txt in the Asterisk source code for the specification of the External-
IVR interface.
; Run a test external IVR program, passing an argument
exten => 123,1,ExternalIVR(test_program,${MYARGUMENT})
See Also
AGI()
FastAGI() Executes an AGI-compliant script across a network connection
FastAGI(agi://hostname[:port][/script],args)
394 | Appendix B: Application Reference