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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to