I am new on Asterisk. Recently, our company ask me to build a function that makes a call to different local telephone numbers and play a voice file which generated by Google translate.
Every time the telephone and voice file are different. The solution I come out like that:
(1) Enable Asterisk outcoming function.
(2) Write a script to generate google translate voice file and outgoing call file.
(3) Every time the event triggered. Generate the voice file and call file. Then mv call file to the outgoing folder with the voice file path to call.
So far so good. But what if the recipient would like to replay the voice file. The call file setting is
simple like below:
Channel: DAHDI/3-1/[random telephone number]
Data:[google translate generated voice file]
Any way to let recipient to replay the voice file? Thanks in advance.