Read Application Unrecognized option: 'e'

Hi,
I’m using Asterisk 18.14.0,
I have AGI application (asterisk-java), inside my agi I execute Read application with option e,
(I want to get # when the user only enter #)
but in asterisk console I see that asterisk does not recognize the ‘e’ option,
according to asterisk documentation the read application has ‘e’ option:
https://docs.asterisk.org/Asterisk_18_Documentation/API_Documentation/Dialplan_Applications/Read/

this is my asterisk console log (when I press only #):

  -- AGI Script Executing Application: (read) Options: (code,/home/tgui/files/pbx/ivr_system/per/taheri,0,e,0,5)
[Apr 24 16:31:36] WARNING[1713562][C-00000078]: app.c:3114 parse_options: Unrecognized option: 'e'
    -- <PJSIP/kamailio-000000c4> Playing '/home/tgui/files/pbx/ivr_system/per/taheri.slin' (language 'fa')
    -- User entered nothing.
    -- AGI Script Executing Application: (NoOp) Options: (code=)

this is the console log when I press 123#:

AGI Script Executing Application: (read) Options: (number,/home/tgui/files/pbx/ivr_system/per/taheri,0,e,0,5)
[Apr 24 16:31:29] WARNING[1713562][C-00000078]: app.c:3114 parse_options: Unrecognized option: 'e'
    -- <PJSIP/kamailio-000000c4> Playing '/home/tgui/files/pbx/ivr_system/per/taheri.slin' (language 'fa')
    -- User entered '123'
    -- AGI Script Executing Application: (NoOp) Options: (number=123)

I tried this with Dial Plan too the result is the same:

exten => 1000,1,NoOp()
 same =>      n,Answer()
 same =>      n,read(number,/home/tgui/files/pbx/ivr_system/per/taheri,0,e,0,5)
 same =>      n,NoOp(${number})
 same =>      n,Hangup()

this is the asterisk console output when I only enter “#”:

-- Executing [1000@tgui-out:1] NoOp("PJSIP/kamailio-000000c5", "") in new stack
    -- Executing [1000@tgui-out:2] Answer("PJSIP/kamailio-000000c5", "") in new stack
       > 0x7f7130074160 -- Strict RTP learning after remote address set to: 192.168.98.40:40044
       > 0x7f7130074160 -- Strict RTP switching to RTP target address 192.168.98.40:40044 as source
    -- Executing [1000@tgui-out:3] Read("PJSIP/kamailio-000000c5", "number,/home/tgui/files/pbx/ivr_system/per/taheri,0,e,0,5") in new stack
[Apr 24 16:58:32] WARNING[1735220][C-00000079]: app.c:3114 parse_options: Unrecognized option: 'e'
    -- <PJSIP/kamailio-000000c5> Playing '/home/tgui/files/pbx/ivr_system/per/taheri.slin' (language 'en')
    -- User entered nothing.
    -- Executing [1000@tgui-out:4] NoOp("PJSIP/kamailio-000000c5", "") in new stack
    -- Executing [1000@tgui-out:5] Hangup("PJSIP/kamailio-000000c5", "") in new stack

18.14.0 does not have the ‘e’ option. It was added after its release. The documentation reflects current.

I upgraded to asterisk 18.22 and it works.
thank you