[Home]

Summary:ASTERISK-26008: app_followme does not delete recorded name prompt
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2016-05-10 07:27:35Date Closed:2016-05-12 21:45:31
Priority:MinorRegression?
Status:Closed/CompleteComponents:Applications/app_followme
Versions:13.7.2 13.8.2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:FollowMe has an option (a) to record name of the caller. It is recorded into a temporary file, that is played to the callee and should be deleted in the end of the run of the application.

Tested in branch 13, but as app_followme has not changed for a while, it should apply to master as well.

Test:
{noformat}
rm -f /var/spool/asterisk/followme.*
asterisk -rx 'channel originate Local/followme-origin@test application FollowMe test,a'
sleep 30
ls /var/spool/asterisk/followme.*
# output: /var/spool/asterisk/followme.1462882781.58.sln
{noformat}

The problem is that the unlink is done to the file name without the .sln extension. A patch will follow soon.

Configuration below:

/etc/asterisk/followme.conf:
{noformat}
[general]

[test]
context = test
musicclass = default
number = 1234
{noformat}

/etc/asterisk/extensions.conf:
{noformat}
[general]
[globals]
[test]
exten => 1234,1,Answer
same => n,Echo
same => n,Hangup

exten => followme-origin,1,Answer
same => n,Wait(5)
same => n,SendDTMF(#)
same => n,Wait(5)
same => n,SendDTMF(1)
same => n,Hangup
{noformat}
Comments:By: Asterisk Team (asteriskteam) 2016-05-10 07:27:36.254-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].