<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText89359 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>That is just a typeO in the
email:</FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Just to be clear...Im trying to pull to
extension off the IP phone and evaluate it against 2006. Is EXTEN the
correct variable?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT size=2>
<P>exten => s,1,GotoIf($[${EXTEN} = "2006"]?3)</P>
<P>exten => s,2,Authenticate(731)</P>
<P>exten => s,3,GotoIf($[foo${ECID${CALLERIDNUM}} = foo]?4) </P>
<P>exten => s,4,SetCallerID(${ECID${CALLERIDNUM}})</P>
<P>exten => s,5,Goto(6)</P>
<P>exten => s,6,GotoIf($[foo${OUTCID_${ARG1}} = foo]?6) </P>
<P>exten => s,7,SetCallerID(${OUTCID_${ARG1}})</P>
<P>exten => s,8,SetVar(length=${LEN(${DIAL_OUT_${ARG1}})})</P>
<P>exten => s,9,Dial(${OUT_${ARG1}}/w${ARG2:${length}})</P>
<P>exten => s,10,Congestion</P>
<P>exten => s,108,Macro(outisbusy)</P></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com on
behalf of John Fullington<BR><B>Sent:</B> Tue 3/8/2005 2:55 PM<BR><B>To:</B>
'Asterisk Users Mailing List - Non-Commercial Discussion'<BR><B>Subject:</B> RE:
[Asterisk-Users] GotoIf with Authenticate<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV><SPAN class=233595419-08032005><FONT face=Arial color=#0000ff size=2>Change
extex in the first line to exten</FONT></SPAN></DIV>
<DIV><SPAN class=233595419-08032005></SPAN><FONT face=Tahoma><FONT size=2><SPAN
class=233595419-08032005><FONT face=Arial
color=#0000ff></FONT></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN
class=233595419-08032005> </SPAN>-----Original Message-----<BR><B>From:</B>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com]<B>On Behalf Of </B>Guy C.
Guckenberger<BR><B>Sent:</B> Tuesday, March 08, 2005 2:46 PM<BR><B>To:</B>
asterisk-users@lists.digium.com<BR><B>Subject:</B> [Asterisk-Users] GotoIf with
Authenticate<BR><BR></DIV></FONT></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial color=#000000 size=2>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?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=2>
<P>extex => s,1,GotoIf($[${EXTEN} = "2006"]?3)</P>
<P>exten => s,2,Authenticate(731)</P>
<P>exten => s,3,GotoIf($[foo${ECID${CALLERIDNUM}} = foo]?4) </P>
<P>exten => s,4,SetCallerID(${ECID${CALLERIDNUM}})</P>
<P>exten => s,5,Goto(6)</P>
<P>exten => s,6,GotoIf($[foo${OUTCID_${ARG1}} = foo]?6) </P>
<P>exten => s,7,SetCallerID(${OUTCID_${ARG1}})</P>
<P>exten => s,8,SetVar(length=${LEN(${DIAL_OUT_${ARG1}})})</P>
<P>exten => s,9,Dial(${OUT_${ARG1}}/w${ARG2:${length}})</P>
<P>exten => s,10,Congestion</P>
<P>exten =>
s,108,Macro(outisbusy)</P></FONT></DIV></BLOCKQUOTE></DIV></BODY></HTML>