[asterisk-bugs] [JIRA] (ASTERISK-25231) Set Music AGI command with class argument fails silently - need user level log message

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Jul 15 09:31:33 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-25231:
------------------------------------

    Status: Open  (was: Triage)

> 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.
> [Edit by Rusty - adding the below debug.. a DEBUG message is present, but we need something user level, a NOTICE or WARNING would be nice]
> {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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list