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

options
                   One of two options can be specified:
                   m
                       When the recording ends, mix the two leg files in to one and delete the original
                       leg files. If the variable ${MONITOR_EXEC} is set, the application referenced in it
                       will be executed instead of soxmix, and the raw leg files will not be deleted
                       automatically. soxmix (or ${MONITOR_EXEC}) is handed three arguments: the
                       two leg files and the filename for the target mixed file, which is the same as the
                       leg filenames but without the in/out designator. If ${MONITOR_EXEC_ARGS} is set,
                       the contents will be passed on as additional arguments to ${MONITOR_EXEC}.
                       Both ${MONITOR_EXEC} and the m flag can be set from the administrator interface.
                   b
                       Don’t begin recording unless a call is bridged to another channel.
                   exten => 123,1,Answer()
                   ; record the current channel, and mix the audio channels at the end of
                   ; recording
                   exten => 123,2,Monitor(wav,monitor_test,mb)
                   exten => 123,3,SayDigits(12345678901234567890)
                   exten => 123,4,StopMonitor()
               See Also

               ChangeMonitor(), StopMonitor(), MixMonitor(), PauseMonitor(), UnpauseMonitor()


               MorseCode()                                                   Plays Morse code
               MorseCode(string)

               Plays the string, encoded in International Morse Code. The following channel variables
               will affect the playback:
               MORSEDITLEN
                   The length, in milliseconds, of a DIT. Defaults to 80 ms.


                              All of the other tone and silence lengths are defined in the Inter-
                              national Morse Code standard with respect to the length of a DIT,
                              and therefore, each of the other lengths will be adjusted suitably.


               MORSETONE
                   The tone, in Hertz (Hz), which will be used. Defaults to 800 Hz.
                   ; dah-dit-dah dit-dit dit-dit-dit-dit-dah dah-dit-dah dit-dit-dah dit-dah
                   exten => 123,1,Answer()
                   exten => 123,2,MorseCode(KI4KUA)




                                                                           MorseCode() | 413
   436   437   438   439   440   441   442   443   444   445   446