"*" Key and "#" Key Extensions


Does anyone know if an extension can be defined in an Asterisk context for either the “*” key or the “#” key by themselves or MUST they be followed by some digits? In other words, can I do something like this:

exten => s,1,Answer()
exten => s,2,Background()
exten => *,1,Goto(Some Other Extension In Another Context)
exten => #,1,Goto(Some Other Extension In Another Context)


Must the “*” and “#” keys include digits such as “*11” or “#22” to be used as extensions?


theoretically this will work fine. in reality watch out for interference from service codes, if you dial * your IP phone / zaptel driver / features.conf / whatever may think you are going to dial *67 or something…

Thanks, I really appreciate your help.