Displaying 2 results from an estimated 2 matches for "mainext".
Did you mean:
mailext
2005 Jan 26
1
Cmd READ and #
...ailMain(${CALLERIDNUM})
exten => #,4,Hangup
...
...
[incoming]
exten => s,1,Answer
exten => s,2,Wait(1)
exten => s,3,DigitTimeout(3) ; Set Digit Timeout to 3 seconds
exten => s,4,ResponseTimeout(5) ; Set Response Timeout to 5 seconds
exten => s,5,Read(RESP,vm-mainext,2) ; Ask for extension or * for directory
exten => s,6,GotoIf($[${RESP} = *]?7:8) ; Check for *
exten => s,7,Goto(extensions,_*,1) ; goto *
exten => s,8,GotoIf($[${RESP} = #]?9:10) ; Check for #
exten => s,9,Goto(extensions,#,1) ; goto #
exten => s,10,.....
Thanks,...
2003 May 14
20
Call forwarding
Yo,
Inspired by the example in the tips & tricks-section of
"http://www.junghanns.net/asterisk/", I built a more elaborate
call divert-feature. This one validates if the extension a call-forward
is to be set to is actually valid for the current context and
additionally saves this context into the DB and always uses it to
originate the divert from, as you can't expect the