A have problems with SayNumber command on newly installed FreePBX 15.0.16.20. There is no sound for numbers played with SayNumber, but when I put eg. Playback(digits/90) in dialplan - it works fine. I tested this for en, en?_GB and fr languages using such simple dialplan (commenting out necessary lines):
[test]
exten => 100,1,NoOP(test)
same => n,Set(CHANNEL(language)=en)
same => n,SayNumber(90)
; same => n,Playback(digits/90)
same => n,Hangup()
The log output during silent playing is:
[2020-02-17 15:26:38] VERBOSE[1524][C-0000000f] pbx_builtins.c: Goto (test,100,1)
[2020-02-17 15:26:38] DEBUG[1524][C-0000000f] pbx.c: Launching 'NoOp'
[2020-02-17 15:26:38] VERBOSE[1524][C-0000000f] pbx.c: Executing [100@test:1] NoOp("SIP/457-0000000e", "test") in new stack
[2020-02-17 15:26:38] DEBUG[1524][C-0000000f] pbx.c: Launching 'Set'
[2020-02-17 15:26:38] VERBOSE[1524][C-0000000f] pbx.c: Executing [100@test:2] Set("SIP/457-0000000e", "CHANNEL(language)=en") in new stack
[2020-02-17 15:26:38] DEBUG[1524][C-0000000f] pbx.c: Launching 'SayNumber'
[2020-02-17 15:26:38] VERBOSE[1524][C-0000000f] pbx.c: Executing [100@test:3] SayNumber("SIP/457-0000000e", "90") in new stack
[2020-02-17 15:26:38] DEBUG[1524][C-0000000f] media_cache.c: Failed to obtain media at 'digits/90'
[2020-02-17 15:26:38] DEBUG[1524][C-0000000f] channel.c: Channel SIP/457-0000000e setting write format path: ulaw -> ulaw
[2020-02-17 15:26:38] DEBUG[1524][C-0000000f] res_rtp_asterisk.c: Setting the marker bit due to a source update
[2020-02-17 15:26:38] DEBUG[1524][C-0000000f] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
[2020-02-17 15:26:38] VERBOSE[1524][C-0000000f] file.c: <SIP/457-0000000e> Playing 'digits/90.ulaw' (language 'en')
Digit files in EN variant are available in 4 formats: ulaw, alaw, g722 and sln16, path is: /var/lib/asterisk/sounds/en/digits - all seems to be correct (this is newly installed system).
The only difference that comes to me analyzing logs is that log:
res_rtp_asterisk.c: Setting the marker bit due to a source update
occurs only when SayNumber command was issued.
Any ideas?