Merged revisions 270979 via svnmerge from
authorPaul Belanger <paul.belanger@polybeacon.com>
Wed, 16 Jun 2010 21:17:39 +0000 (21:17 +0000)
committerPaul Belanger <paul.belanger@polybeacon.com>
Wed, 16 Jun 2010 21:17:39 +0000 (21:17 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r270979 | pabelanger | 2010-06-16 17:10:05 -0400 (Wed, 16 Jun 2010) | 4 lines

  Fixed typo in macro-page

  Reported to #asterisk-dev by a student of jsmith.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@270987 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configs/extensions.conf.sample

index 933bba1..1b09afc 100644 (file)
@@ -541,7 +541,7 @@ exten => a,n,Return
 ;   ${ARG1} - Device to page
 
 exten => s,1,ChanIsAvail(${ARG1},s)                    ; s is for ANY call
-exten => s,n,GoToIf([${AVAILSTATUS} = "1"]?autoanswer:fail)
+exten => s,n,GoToIf($[${AVAILSTATUS} = "1"]?autoanswer:fail)
 exten => s,n(autoanswer),Set(_ALERT_INFO="RA")                 ; This is for the PolyComs
 exten => s,n,SIPAddHeader(Call-Info: Answer-After=0)   ; This is for the Grandstream, Snoms, and Others
 exten => s,n,NoOp()                                    ; Add others here and Post on the Wiki!!!!