[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 11:25:33 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226899#comment-226899 ] 

Michael Cargile commented on ASTERISK-25231:
--------------------------------------------

Gerrit will require me putting my private SSH key on a system I dont trust putting it on at the moment. I am putting together virtual machine on my PC that I can do that with but it might be a few days.

> 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
>         Attachments: moh_not_found_notice.patch
>
>
> 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