Search:
     
3CX Phone System for Windows Download the Free Edition

Asterisk func keypadhash

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".


See also


Created by: murf,Last modification on Mon 17 of Apr, 2006 [03:43 UTC]


Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

 
Sponsored by:





Search: