[Home]

Summary:ASTERISK-17110: MySQL Realtime - musicclass/musiconhold ignored
Reporter:Ross Beer (rossbeer)Labels:
Date Opened:2010-12-15 11:46:27.000-0600Date Closed:2011-06-07 14:04:41
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The variables 'musicclass' / 'musiconhold' variables are ignored when making or receiving a call on a channel.

If a call is made from one SIP channel to another directly using the following:

Dial(Sip/100)

The music on hold class is always the default class even though the realtime MySQL database contains music classes defined in 'musicclass' / 'musiconhold'.

As I understand this from the documentation, by setting the two variables above this should override the default music class per extension and be reloaded when the peer is read from the database, which is not currently the case.
Comments:By: Leif Madsen (lmadsen) 2010-12-16 10:56:06.000-0600

Additional information is required. Ideally you should show us the SQL commands that are being received by your MySQL server. This would be the logging enabled on the MySQL side. A SELECT statement will be sent from Asterisk.

Also show the table layout and the relative information in the row being selected by Asterisk.

Provide the musiconhold.conf configuration.

Provide the console output from the Asterisk console with debug level logging so we can see what is going on.

It'll be necessary to reproduce this issue to resolve it, so all the above information is required.

By: Leif Madsen (lmadsen) 2011-01-19 09:32:27.000-0600

No response from reporter.