Read() parameters "attempts" and "timeout" have no effect

Hi,

I have set the number of attempts to 2, and the number of seconds before timeout to 4:
Executing [s@subRead:3] Read(“SIP/laptop-asus-f3sc-00000007”, “input,select-action&select-repeat,1,2,4”) in new stack

It doesn’t work because if I don’t enter anything, READSTATUS doesn’t return TIMEOUT, but instead ERROR.

I have no idea why this happens, does anyone have any idea?

Here is the code:

same => n(start-read),Read(input,${ARG1},${ARG2},,2,4)
same => n,Verbose(1, Read status: ${READSTATUS})

Thank you!