[asterisk-bugs] [JIRA] (ASTERISK-27040) MOH/Realtime: 'moh show classes' does not show classes defined in database
Benjamin Keith Ford (JIRA)
noreply at issues.asterisk.org
Mon Jun 12 10:15:58 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Keith Ford closed ASTERISK-27040.
------------------------------------------
Resolution: Done
> MOH/Realtime: 'moh show classes' does not show classes defined in database
> --------------------------------------------------------------------------
>
> Key: ASTERISK-27040
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27040
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_musiconhold
> Affects Versions: 11.25.1, 13.16.0, 14.5.0
> Environment: Ubuntu16.04
> Reporter: Benjamin Keith Ford
> Assignee: Benjamin Keith Ford
> Severity: Minor
> Attachments: full.txt
>
>
> When Asterisk is configured to run with ODBC and MOH is defined in the database, the CLI command 'moh show classes' does not return anything on the classes defined in the database. MOH still works despite the CLI returning nothing, and you can see the database being pinged for the MOH class through the CLI when, for example, one phone puts another on hold and MOH starts (with debug and verbose bumped up).
> Attached log from Asterisk (11.25.1) that shows the database being queried for MOH when putting a phone on hold. The first result when searching 'musiconhold' shows the SELECT statement from the musiconhold table, confirming that Asterisk does see the realtime classes.
> PostgreSQL setup:
> Table: musiconhold
> name - 'default'
> mode - 'files'
> directory - '/var/lib/asterisk/moh'
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list