Change extex in the first line to exten -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Guy C. Guckenberger Sent: Tuesday, March 08, 2005 2:46 PM To: [email protected] Subject: [Asterisk-Users] GotoIf with Authenticate
Quick question...Im authenticate all exten except this one(2006). If I call
from ext 2006 I still have to authenticate. If I call form any other ext I
have to authenticate. Any suggestions?
Thanks
extex => s,1,GotoIf($[${EXTEN} = "2006"]?3)
exten => s,2,Authenticate(731)
exten => s,3,GotoIf($[foo${ECID${CALLERIDNUM}} = foo]?4)
exten => s,4,SetCallerID(${ECID${CALLERIDNUM}})
exten => s,5,Goto(6)
exten => s,6,GotoIf($[foo${OUTCID_${ARG1}} = foo]?6)
exten => s,7,SetCallerID(${OUTCID_${ARG1}})
exten => s,8,SetVar(length=${LEN(${DIAL_OUT_${ARG1}})})
exten => s,9,Dial(${OUT_${ARG1}}/w${ARG2:${length}})
exten => s,10,Congestion
exten => s,108,Macro(outisbusy)
<<attachment: winmail.dat>>
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
