[asterisk-bugs] [JIRA] (ASTERISK-25231) Set Music AGI command does not use class argument
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Wed Jul 15 09:14:32 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226891#comment-226891 ]
Rusty Newton commented on ASTERISK-25231:
-----------------------------------------
You are right. There should be a Notice, Warning or Error message to help the user identify what is happening.
I did see a debug message
{noformat}
<PJSIP/ALICE-00000002>AGI Rx << SET MUSIC ON ast11test
[Jul 15 09:09:08] DEBUG[25190][C-00000002]: res_musiconhold.c:884 _get_mohbyname: Music on Hold class 'ast11test' not found in memory
-- Started music on hold, class 'default', on channel 'PJSIP/ALICE-00000002'
[Jul 15 09:09:08] DEBUG[25190][C-00000002]: channel.c:3402 ast_settimeout_full: Scheduling timer at (50 requested / 50 actual) timer ticks per second
<PJSIP/ALICE-00000002>AGI Tx >> 200 result=0
{noformat}
The debug message tells you exactly what is happening, but there really should be something higher level too.
> Set Music AGI command does not use class argument
> -------------------------------------------------
>
> 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: 11.18.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