[Home]

Summary:ASTERISK-28240: Unexpected unhold when Asterisk cannot find the moh-files
Reporter:Martin Nyström (martin.nystrom)Labels:
Date Opened:2019-01-11 09:20:09.000-0600Date Closed:2020-01-14 11:13:31.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:. I did not set the category correctly.
Versions:13.16.0 13.20.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:Given the following scenario

1) Customer calls Agent A
2) Agent A holds customer
3) Agent A calls an external party

If Asterisk cannot find the MusicOnHold files, asterisk will stop MusicOnHold and the Customer will barge into the call between Agent A and the external party (3).

[2019-01-11 15:06:55] VERBOSE[2510][C-00006428] res_musiconhold.c: Started music on hold, class 'default', on channel 'SIP/trunk-0000a992'
[2019-01-11 15:06:55] WARNING[2510][C-00006428] file.c: File /var/lib/asterisk/moh/reno_project-system does not exist in any format
[2019-01-11 15:06:55] WARNING[2510][C-00006428] res_musiconhold.c: Unable to open file '/var/lib/asterisk/moh/reno_project-system': No such file or directory
[2019-01-11 15:06:55] VERBOSE[2510][C-00006428] res_musiconhold.c: Stopped music on hold on SIP/trunk-0000a992


This issue can be replicated by simply setting musiconhold on a queue, then moving the moh-file away from /var/lib/asterisk/moh without performing an CLI moh reload.
This has been tested and replicated in Asterisk 13.16 and Asterisk 13.20.
Comments:By: Asterisk Team (asteriskteam) 2019-01-11 09:20:10.645-0600

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].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

By: Sean Bright (seanbright) 2019-01-15 11:19:16.305-0600

While I haven't tested it, I believe this is similar to the behavior one would see if there was a music class defined with no files at all. What do you feel the behavior should be when this occurs?

By: Kevin Harwell (kharwell) 2019-01-15 14:04:30.616-0600

I'm so far unable to replicate. Please test against the latest version of Asterisk to see if you still have the problem. Also please attach an Asterisk debug [1] log with sip tracing enabled along with the relevant configuration information/files to the issue.

[1] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

By: Asterisk Team (asteriskteam) 2019-01-30 12:00:01.422-0600

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines