[asterisk-users] asterisk and IVR
Joshua Colp
jcolp at digium.com
Wed Jul 31 09:57:45 CDT 2013
Salaheddine Elharit wrote:
> hi
>
> i use the code below but i didn't get the We reached step 102" the same
> result
>
> exten => 534,1,Dial(SIP/228, 10)
> exten => 534,n,NoOp(Dial status is ${DIALSTATUS})
> exten => 534,n,GotoIf($["${DIALSTATUS}" = "ANSWER"]?answered)
> exten => 534,n,Goto(home,s,1)
> exten => 534,n(answered),NoOp(Call was answered)
> exten => 534,102,NoOp(We reached step 102)
As I mentioned this won't work for ANSWER.
exten => h,1,NoOp(Dialing attempt got status ${DIALSTATUS})
will
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list