ATech Machine LIBRA-02 M Informazioni Techniche Pagina 150

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 734
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 149
The Playback() application is used for playing a previously recorded sound file over a
channel. Input from the user is ignored, which means that you would not use Play
back() in an auto attendant, for example, unless you did not want to accept input at
that point.
Asterisk comes with many professionally recorded sound files, which
should be found in the default sounds directory (usually /var/lib/aster-
isk/sounds/). When you compile Asterisk, you can choose to install
various sets of sample sounds that have been recorded in a variety of
languages and file formats. We’ll be using these files in many of our
examples. Several of the files in our examples come from the Extra
Sound Package, so please take the time to install it (see Chapter 3). You
can also have your own sound prompts recorded in the same voices as
the stock prompts by visiting http://www.theivrvoice.com/. Later in the
book we’ll talk more about how you can use a telephone and the dialplan
to create and manage your own system recordings.
To use Playback(), specify a filename (without a file extension) as the argument. For
example, Playback(filename) would play the sound file called filename.wav, assuming
it was located in the default sounds directory. Note that you can include the full path
to the file if you want, like this:
Playback(/home/john/sounds/filename)
The previous example would play filename.wav from the /home/john/sounds/ directory.
You can also use relative paths from the Asterisk sounds directory, as follows:
Playback(custom/filename)
This example would play filename.wav from the custom/ subdirectory of the default
sounds directory (probably /var/lib/asterisk/sounds/custom/filename.wav). Note that if
the specified directory contains more than one file with that filename but with different
file extensions, Asterisk automatically plays the best file.
#
The Hangup() application does exactly as its name implies: it hangs up the active chan-
nel. You should use this application at the end of a context when you want to end the
current call, to ensure that callers don’t continue on in the dialplan in a way you might
not have anticipated. The Hangup() application does not require any arguments, but
you can pass an ISDN cause code if you want (e.g., Hangup(16)).
There is another application called Background() that is very similar to Playback(), except that it does allow
input from the caller. You can read more about this application in Chapter 15 and Chapter 17.
#Asterisk selects the best file based on translation cost—that is, it selects the file that is the least CPU-intensive
to convert to its native audio format. When you start Asterisk, it calculates the translation costs between the
different audio formats (they often vary from system to system). You can see these translation costs by typing
show translation at the Asterisk command-line interface. The numbers shown represent how many
milliseconds it takes Asterisk to transcode one second of audio. We’ll talk more about the different audio
formats (known as codecs) in “Codecs” on page 625.
114 | Chapter 6:Dialplan Basics
Vedere la pagina 149
1 2 ... 145 146 147 148 149 150 151 152 153 154 155 ... 733 734

Commenti su questo manuale

Nessun commento

Rockwell Automation 1771-IXHR INSTL INSTR HI RES TC/MV INPUT podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Ekwipunek Rockwell Automation 1771-IXHR INSTL INSTR HI RES TC/MV INPUT.
Dostarczamy 1 pdf podręczników Rockwell Automation 1771-IXHR INSTL INSTR HI RES TC/MV INPUT do pobrania za darmo według typów dokumentów: Instrukcja Użytkownika






Więcej produktów i instrukcji dla Ekwipunek Rockwell Automation

Modele Rodzaj dokumentu
1746-HSCE,D17466.5 High-Speed Counter Module Instrukcja Użytkownika   Rockwell Automation 1746-HSCE,D17466.5 High-Speed Counter Module User Manual, 183 strony
1760-DNET Pico DeviceNet Communications Module Ins Instrukcja Użytkownika      Rockwell Automation 1760-DNET Pico DeviceNet Communications Module Installation Instructions User Manual, 8 strony
1760-Lxxxx Pico Controller Installation Instructio Instrukcja Użytkownika      Rockwell Automation 1760-Lxxxx Pico Controller Installation Instructions User Manual, 20 strony
1769-OB8 Compact Solid State 24V dc Source, High C Instrukcja Użytkownika   Rockwell Automation 1769-OB8 Compact Solid State 24V dc Source, High Current Output Module User Manual, 20 strony
1794-VHSC Very High Speed Counter Module Installat Instrukcja Użytkownika   Rockwell Automation 1794-VHSC Very High Speed Counter Module Installation Instruction User Manual, 6 strony
Logix5000 Logix5000 Controllers Quick Start Instrukcja Użytkownika   Rockwell Automation Logix5000 Logix5000 Controllers Quick Start User Manual, 148 strony
1790D-XXXX DeviceNet Digital Base Terminal Block C Instrukcja Użytkownika   Rockwell Automation 1790D-XXXX DeviceNet Digital Base Terminal Block CompactBlock LDX I/O Series B User Manual, 28 strony
1754-BAT Replacing the Backup Battery on the Guard Instrukcja Użytkownika   Rockwell Automation 1754-BAT Replacing the Backup Battery on the GuardPLC 1200 Controller User Manual, 2 strony
1794-IJ2XT FLEX I/O Frequency Input Modules User M Instrukcja Użytkownika   Rockwell Automation 1794-IJ2XT FLEX I/O Frequency Input Modules User Manual User Manual, 87 strony
1771-CFM,D17716.5.99 CONFIGURABLE FLOWMET Instrukcja Użytkownika   Rockwell Automation 1771-CFM,D17716.5.99 CONFIGURABLE FLOWMET User Manual, 99 strony
1769-ASCII Compact I/O ASCII Module Instrukcja Użytkownika   Rockwell Automation 1769-ASCII Compact I/O ASCII Module User Manual, 118 strony
1794-AENT FLEX I/O EtherNet/IP Adapter Module Inst Instrukcja Użytkownika   Rockwell Automation 1794-AENT FLEX I/O EtherNet/IP Adapter Module Installation Instructi User Manual, 8 strony
1734-APB Point I/O Profibus Adapter Module Instrukcja Użytkownika   Rockwell Automation 1734-APB Point I/O Profibus Adapter Module User Manual, 88 strony
1788-DNBO DeviceNet Daughtercard Installation Inst Instrukcja Użytkownika   Rockwell Automation 1788-DNBO DeviceNet Daughtercard Installation Instructions User Manual, 16 strony
1746-NT8 SLC 500 Thermocouple/mV Analog Input Modu Instrukcja Użytkownika   Rockwell Automation 1746-NT8 SLC 500 Thermocouple/mV Analog Input Module/ Instructions User Manual, 20 strony
1734-AENT, Series B POINT I/O EtherNet/IP Adapter Instrukcja Użytkownika   Rockwell Automation 1734-AENT, Series B POINT I/O EtherNet/IP Adapter Module User Manual User Manual, 118 strony
1769-OF4VI Compact I/O Isolated Analog Modules Instrukcja Użytkownika   Rockwell Automation 1769-OF4VI Compact I/O Isolated Analog Modules User Manual, 128 strony
1764-28BXB MicroLogix 1500 Programmable Controller Instrukcja Użytkownika   Rockwell Automation 1764-28BXB MicroLogix 1500 Programmable Controller Base Units User Manual, 27 strony
1747-PCIL Chassis Interface Module for 1746 Local Instrukcja Użytkownika   Rockwell Automation 1747-PCIL Chassis Interface Module for 1746 Local I/O User Manual [en] , 16 strony
1769-IF4I CompactLogix Isolated Analog Input Modul Instrukcja Użytkownika   Rockwell Automation 1769-IF4I CompactLogix Isolated Analog Input Module User Manual, 24 strony