Displaying 2 results from an estimated 2 matches for "call_extension".
2009 Jul 17
2
How do I create an IVR/Dial Group that works properly?
...s,n,Wait(1)
exten => s,n(tryagain),Background(enter-ext-of-person&or) ; Enter
extension number if known, or
exten => s,n,Background(pls-stay-on-line) ; Trying to connect...
exten => s,n,WaitExten(5)
exten => s,n,Macro(belllord,${ALANL}&${ALANB},303)
exten => _10[1-5],1,Macro(call_extension,SIP/${EXTEN})
exten => _20[1-5],1,Macro(call_extension,IAX2/alanb/${EXTEN})
The Vars ALANL and ALANB are:
ALANL=SIP/101
ALANB=IAX2/alanb/202
Here is the Macro belllord:
[macro-belllord]
exten => s,1,Dial(${ARG1},20,t)
exten => s,n,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voi...
2009 Jul 16
0
Struggling with Macros and "s" Extension
...,n,Wait(1)
exten => s,n(tryagain),Background(enter-ext-of-person&or) ; Enter
extension number if known, or
exten => s,n,Background(pls-stay-on-line) ; Trying to connect...
exten => s,n,WaitExten(5)
exten => s,n,Macro(belllord,${ALANL}&${ALANB},303)
exten => _10[1-5],1,Macro(call_extension,SIP/${EXTEN})
exten => _20[1-5],1,Macro(call_extension,IAX2/alanb/${EXTEN})
.
.
.
Hopefully you'll see that the caller can either enter an extension
number or wait. If they wait, we use macro-belllord:
[macro-belllord]
exten => s,1,Dial(${ARG1},20,t)
exten => s,n,Goto(s-${DIALSTAT...