Index: /freepbx/branches/2.2/amp_conf/astetc/extensions.conf =================================================================== --- /freepbx/branches/2.2/amp_conf/astetc/extensions.conf (revision 3421) +++ /freepbx/branches/2.2/amp_conf/astetc/extensions.conf (revision 3542) @@ -221,5 +221,5 @@ ; to from-internal since it may be an outside line. ; -exten => docfu,1,GotoIf( $[ "foo${DB(AMPUSER/${CFUEXT}/device)}" = "foo" ], chlocal) +exten => docfu,1,GotoIf( $[ "foo${DB(AMPUSER/${CFUEXT}/device)}" = "foo" ]?chlocal) exten => docfu,n,Dial(Local/${CFUEXT}@ext-local,${RT},${DIAL_OPTIONS}) exten => docfu,n,Return @@ -426,5 +426,5 @@ ; above, and 2: to give a good shot at attempting to be compliant with ; RFC3761 by honouring the order in which records are returned. -exten => s,1,GotoIf($["${ARG3}" = ""]PASSWD?NOPASSWD); arg3 is pattern password +exten => s,1,GotoIf($["${ARG3}" = ""]?PASSWD:NOPASSWD); arg3 is pattern password exten => s,n(PASSWD),Authenticate(${ARG3}) exten => s,n(NOPASSWD),Macro(user-callerid,SKIPTTL) @@ -530,5 +530,5 @@ [macro-record-enable] -exten => s,1,GotoIf(${LEN(${BLINDTRANSFER})} > 0?2:4) +exten => s,1,GotoIf($[${LEN(${BLINDTRANSFER})} > 0]?2:4) exten => s,2,ResetCDR(w) exten => s,3,StopMonitor()