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?
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: https://wiki.asterisk.org/wiki/display/AST/Function_SHELL
example:
exten => s,1,Progress()
same => n,Set(myscript=${SHELL(sudo sh /home/myscript.sh)})
same => n,Noop($myscript)
same => n,SayNumber($myscript)
same => n,SayDigits($myscript)
Thank you very much!