At the first creation of rule DISA the station takes the call, at repeated creation of a rule in DISA if protection by the password is switched off, the station doesn't take the call. It dares addition of line Answer in a rule manually, but the line is erased after any change in FREEpbx. If to put PIN a code, the station normally takes the call
[disa]
include => disa-custom
exten => 2,1,Set(_DISA="disa,2,newcall")
exten => 2,n(newcall),Set(_DISACONTEXT=from-internal)
exten => 2,n,Set(_KEEPCID=TRUE)
exten => 2,n,Set(_HANGUP=${TRUNK_OPTIONS}Hg)
im add this >>>>>> exten => 2,n,Answer
exten => 2,n,Set(TIMEOUT(digit)=3)
exten => 2,n,Set(TIMEOUT(response)=5)
exten => 2,n,Set(CALLERID(all)=+79164358535)
exten => 2,n,DISA(no-password,disa-dial)
exten => 2,n(end),Hangup
exten => 3,1,Authenticate(3578,)
exten => 3,n,Set(_DISA="disa,3,newcall")
exten => 3,n(newcall),Set(_DISACONTEXT=from-internal)
exten => 3,n,Set(_KEEPCID=TRUE)
exten => 3,n,Set(_HANGUP=${TRUNK_OPTIONS}Hg)
exten => 3,n,Set(TIMEOUT(digit)=5)
exten => 3,n,Set(TIMEOUT(response)=10)
exten => 3,n,DISA(no-password,disa-dial)
exten => 3,n(end),Hangup
; end of [disa]