Search code examples
asteriskplayback

Asterisk use say with new mode


How do i use the new mode with say.conf?

I put in my dialplan same => n,Playback(num:55|say) but i get the following errors

[Aug 24 15:12:28] WARNING[2054461][C-000001a6]: file.c:789 ast_openstream_full: File num:55|say does not exist in any format

[Aug 24 15:12:28] WARNING[2054461][C-000001a6]: file.c:1262 ast_streamfile: Unable to open num:55|say (format (ulaw)): No such file or directory

I took the example from here https://www.voip-info.org/asterisk-config-sayconf/

How can i get it to work?


Solution

  • You are using '|' which was delimiter BEFORE 1.4 version(very very long time ago).

    For all modern versions use comma instead of that (',')