Record application file lost after hangup

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Record application file lost after hangup

Postby pehon » Thu Aug 20, 2015 2:28 am

Hello!

To record audio from a caller I have this in extensions.conf (Asterisk 13.1-cert2):

Code: Select all
same => n,Record(${UNIQUEID}.wav)


I see that a wave file got created and the size is increasing. But after the caller hang up the wave will be removed. If I use something like this:

Code: Select all
same => n,Record(${UNIQUEID}.wav,,20) ; wait maximum 20s audio


And a caller talks for at least 20s the audio will not be removed.

From my point of view this can't be a permission problem. I played with the 'h' extension:

Code: Select all
exten => h,1,System(ls -la /var/lib/asterisk/sounds/ >> /tmp/sounds)


But the file is already removed at this step.
How can I achieve that the audio file will never be removed?

Thanks,
Peter
pehon
Newsterisk
 
Posts: 3
Joined: Mon Dec 09, 2013 8:37 am

Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron