Programming a IVR to say number from a shell script

I want to know if it is possible to combine the commands saynumber and system or cmd to execute a system command that will say a number and say that on ivr.

Is it possible?

It is with a custom dialplan, FreePBX doesn’t have something like that as an option.

Use SHELL function:


exten => s,1,Progress()
same => n,Set(myscript=${SHELL(sudo sh /home/})
same => n,Noop($myscript)
same => n,SayNumber($myscript)
same => n,SayDigits($myscript)

Thank you very much!