Page 533 - Asterisk™: The Future of Telephony
P. 533
Hashes the letters in string into the equivalent keypad numbers.
; Calculate the hashes of the authors' last names. So, the
; corresponding values would be 623736, 76484, and 82663443536.
exten => 123,1,Set(lastname1=${KEYPADHASH(Madsen)})
exten => 123,n,Set(lastname2=${KEYPADHASH(Smith)})
exten => 123,n,Set(lastname3=${KEYPADHASH(VanMeggelen)})
See Also
Directory()
LANGUAGE Accesses the channel language
LANGUAGE()
Gets or sets the channel’s language.
This function is deprecated in favor of CHANNEL(language).
See Also
CHANNEL()
LEN Calculates the string length
LEN(string)
Returns the length of string.
MATH Mathematical calculations
MATH(number1op number2[,type_of_result])
Performs mathematical functions.
exten => 123,1,Set(value1=${MATH(1+2)})
MD5 Calculates MD5 digest
MD5(data)
Computes the MD5 digest of data.
See Also
SHA1()
LANGUAGE | 505