Page 404 - Asterisk™: The Future of Telephony
P. 404

n
                   Does not answer the channel before playing the specified file. Without this option,
                   the channel will automatically be answered before the sound is played. Not all
                   channels support playing messages before being answered.

               m
                   Only break if a digit hit matches a one-digit extension in the destination context.
               The language argument may be used to specify a language to use for playing the prompt,
               if it differs from the current language of the channel.
                   exten => 123,1,Answer()
                   exten => 123,2,Background('exter-ext-of-person');
               See Also
               ControlPlayback(), WaitExten(), BackgroundDetect(), TIMEOUT


               BackgroundDetect()                         Plays a file in the background and detects talking

               BackgroundDetect(filename[,sil[,min[,max]]])

               Similar to Background(), but attempts to detect talking.
               During the playback of the file, audio is monitored in the receive direction. If a period
               of non-silence that is greater than min milliseconds yet less than max milliseconds and
               is followed by silence for at least sil milliseconds occurs, the audio playback is aborted
               and processing jumps to the talk extension, if available.

               If unspecified, sil, min, and max default to 1,000 ms, 100 ms, and infinity, respectively.
                   exten => 123,1,BackgroundDetect(tt-monkeys)
                   exten => 123,2,Playback(im-sorry)
                   exten => talk,1,Playback(yes-dear)

               See Also
               Playback(), Background()


               Busy()                                          Indicates a busy condition to the channel
               Busy([timeout])

               Requests that the channel indicate the busy condition and then waits for the user to
               hang up or for the optional timeout (in seconds) to expire.
               This application signals a busy condition only to the bridged channel. Each particular
               channel type has its own way of communicating the busy condition to the caller. You
               can use Playtones(busy) to play a busy tone to the caller.




               376 | Appendix B: Application Reference
   399   400   401   402   403   404   405   406   407   408   409