[asterisk-bugs] [JIRA] (ASTERISK-25231) Set Music AGI command with class argument fails silently - need user level log message
Michael Cargile (JIRA)
noreply at issues.asterisk.org
Wed Jul 15 09:29:33 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226893#comment-226893 ]
Michael Cargile commented on ASTERISK-25231:
--------------------------------------------
adding:
ast_log(LOG_NOTICE, "Music on Hold class '%s' not found in memory\n", name);
to line 896 of res_musiconhold.c seems to do it. Want a patch file?
> Set Music AGI command with class argument fails silently - need user level log message
> --------------------------------------------------------------------------------------
>
> Key: ASTERISK-25231
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25231
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_agi, Resources/res_musiconhold
> Affects Versions: SVN, 11.18.0, 13.4.0
> Environment: OpenSuSE 13.1 running on a quad core intel with 4 gigs of ram.
> Reporter: Michael Cargile
> Assignee: Unassigned
> Severity: Minor
>
> Our script is sending 'SET MUSIC ON ast11test' to standard out and yet the music on hold that is played is default:
> 2015-07-07 12:19:17|12:19:28|agi-VDAD_ALL_inbound.agi|MOH Context = ast11test
> 2015-07-07 12:19:17|12:19:28|agi-VDAD_ALL_inbound.agi|MOH Command = SET MUSIC ON ast11test
> -- [Jul 7 12:19:28] -- Started music on hold, class 'default', on SIP/sgw1-00000040
> 2015-07-07 12:19:17|12:19:28|agi-VDAD_ALL_inbound.agi|MOH Result = 200 result=0
> no error is given.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list