README mistake?

  1. 7 years ago

    Hi! In README example for non-FreePBX parkin

    [fop2-park]
    exten => _X.,1,Set(ARRAY(RETURN_EXTENSION,RETURN_CONTEXT,PARKBUTTON)=${CUT(EXTEN,:,1)},${CUT(EXTEN,:,2)},${CUT(EXTEN,:,3)})
    exten => _X.,2,GotoIf($["${PARKBUTTON}" = "PARK/default"?5)
    exten => _X.,3,GotoIf($["${PARKBUTTON}" = ""?5)
    exten => _X.,4,Set(PARKINGLOT=${PARKBUTTON:5})
    exten => _X.,5,Park(,${RETURN_CONTEXT},${RETURN_EXTENSION},1,s)

    In Goto lines (line 2,3) missing ']'

  2. admin

    20 Dec 2016 Administrator

    yep, its a typo, thanks for the feedback. you can close the bracket just before the question mark.

  3. Yes, I already did it.

or Sign Up to reply!