Asterisk func keypadhash
Created by: murf,Last modification on Mon 17 of Apr, 2006 [03:43 UTC]
Synopsis:
Hash the letters in the string into the equivalent keypad numbers.Description:
KEYPADHASH(characterstring)Notes
- *CLI> show function KEYPADHASH
Return value
Returns the string input, with the characters a, b, or c mapped to "2"; the characters d, e, or f mapped to "3"; etc.Example
exten => s,1,Set(foo=${KEYPADHASH(MURPHY)})should set foo to the value "687749".

Comments