Name
MorseCode() — Plays Morse code
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.
Note
All of the other tone and silence lengths are defined in the International 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)
Get Asterisk: The Future of Telephony, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.