[Home]

Summary:ASTERISK-17730: [regression] moh custom mode with madplay broken with patch from 0016744
Reporter:sdolloff (sdolloff)Labels:
Date Opened:2011-04-20 14:24:22Date Closed:2011-07-20 11:22:08
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:Resources/res_musiconhold
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:using 1.6.2.17.2, moh reload and module reload res_musiconhold.so both break musiconhold using a custom player

musiconhold.conf
...
[5]
mode=custom
directory=/var/asterisk/moh-native/5
application=/usr/bin/madplay -Qr -o raw:- --mono -R 8000

reverting the patch from 0016744 resolves this issue

****** ADDITIONAL INFORMATION ******

console output when placing a call on hold before moh reload

[Apr 20 14:20:26]     -- Started music on hold, class '5', on channel 'SIP/209.242.57.138-00000001'
[Apr 20 14:20:30]     -- Stopped music on hold on SIP/209.242.57.138-00000001

after reload

dlstest*CLI> moh reload
[Apr 20 14:20:39]     -- Started music on hold, class '5', on SIP/209.242.57.138-00000001
[Apr 20 14:20:39] WARNING[17594]: file.c:650 ast_openstream_full: File /var/asterisk/moh-native/5/45 does not exist in any format
[Apr 20 14:20:39] WARNING[17594]: res_musiconhold.c:302 ast_moh_files_next: Unable to open file '/var/asterisk/moh-native/5/45': No such file or directory
Comments: