search for: firstdigit

Displaying 2 results from an estimated 2 matches for "firstdigit".

2004 Oct 05
1
difference between dtmf digit 8 and 9
Hello, this is an example extensions.conf. [default] exten => 500,1,Answer exten => 8,1,SetGlobalVar(firstdigit=8) exten => 8,2,Goto(process,s,1) exten => 9,1,SetGlobalVar(firstdigit=9) exten => 9,2,Goto(process,s,1) I call extension 500 and send dtmf digit 9. This is printed to the CLI: -- Executing Answer("Zap/20-1", "") in new stack -- Accepting call from ''...
2009 Feb 24
2
receiving 1st digit from a variable
Hi people! I want to save the 1st letter from the ${EXTEN} variable. I don't want to trim it, I want to RESAVE it into a new variable. Let us assume the ${EXTEN} contains: 0698332977 then I'd love to get the 0 I would thank you for all advises. Tamer