Hello All, I am trying to use Google Transcribing to Transcribing Voicemail. Is possible to add PHP code in voicemail.tpl or run php file like voicemail.php on place of voicemail.tpl? I tried to add PHP code in tpl file but didn't worked also tried with voicemail.php after changing in voicemail.conf.xml but didn't worked. I am using sendmail to send voicemail on email. Email going when extension getting voicemail with recording. If I can run PHP file or php code in template then i will implement google API and add response in email body. I am using CURL for dialplan, directory and configuration. I tried mailer-app=/usr/bin/php /usr/local/www/mailer_app.php but email not working because not getting To email id. Also is possible to send ${voicemail_file_path} to php mailer? cat /tmp/voicemailtoemail.txt To: From: FreeSWITCH mod_voicemail <0001@XX.XX.XX.XX> Subject: Voicemail from +919377579349 +919377579349 Mailer Error: You must provide at least one recipient email address. Please advice. -- Thanks & Regard Uday Mobile:- +91-9377579349
participants (1)
-
Uday kumar