Record file not save when call is disconnect in session:recordFile
Hi, I used LUA for voicemail (vm) system. I want to save message & send message to end user about vm notification, even user disconnect call by himself when recording message. Currently if user disconnect within recording, file is not save & notification is not going. Pls help to solve that. AheS. Robert code: session:recordFile(vm_file_namCurrentle, vm_record_duration, vm_record_duration, 0); -- pressing # ends the recording
Hi all, Pls help to solve below. That is great help to me. Br, AheS. Robert ---------- Forwarded message ---------- From: Sanath Prasanna <ahe.sanath@gmail.com> Date: Wed, Sep 11, 2013 at 12:16 PM Subject: Record file not save when call is disconnect in session:recordFile To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Hi, I used LUA for voicemail (vm) system. I want to save message & send message to end user about vm notification, even user disconnect call by himself when recording message. Currently if user disconnect within recording, file is not save & notification is not going. Pls help to solve that. AheS. Robert code: session:recordFile(vm_file_namCurrentle, vm_record_duration, vm_record_duration, 0); -- pressing # ends the recording
Why not use mod_voicemail? On Sep 11, 2013, at 2:46 AM, Sanath Prasanna <ahe.sanath@gmail.com> wrote:
Hi, I used LUA for voicemail (vm) system. I want to save message & send message to end user about vm notification, even user disconnect call by himself when recording message. Currently if user disconnect within recording, file is not save & notification is not going. Pls help to solve that. AheS. Robert
code: session:recordFile(vm_file_namCurrentle, vm_record_duration, vm_record_duration, 0); -- pressing # ends the recording
participants (2)
-
Michael Jerris
-
Sanath Prasanna