Displaying 1 result from an estimated 1 matches for "call_extention".
Did you mean:
call_extension
2009 Jul 16
0
Struggling with Macros and "s" Extension
...exten => _s-.,1,Goto(s-NOANSWER,1)
The Vars ALANL and ALANB are:
ALANL=SIP/101
ALANB=IAX2/alanb/202
If I call in, dial the extension (say 101) and connect, then the Link
Event on the AMI port (and in CDRs) correctly displays *both* numbers of
the connection.
For that scenario we use macro-call_extention:
[macro-call_extension]
exten => s,1,Dial(${ARG1},20,t) ; Ring channel for up to 20s
exten => s,n,Goto(s-${DIALSTATUS},1) ; Go to either no answer or busy.
exten => s-NOANSWER,1,Voicemail(${MACRO_EXTEN}@garden_house,u)
exten => s-BUSY,1,Voicemail(${MACRO_EXTEN}@garden_house,b)
exten...