[asterisk-bugs] [Asterisk 0013280]: [patch] app_queue on misdn channels plays wrong MoH

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 11 07:15:29 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13280 
====================================================================== 
Reported By:                azielke
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13280
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0-beta9 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-11 05:06 CDT
Last Modified:              2008-08-11 07:15 CDT
====================================================================== 
Summary:                    [patch] app_queue on misdn channels plays wrong MoH
Description: 
When configuring a queue to play a specific MoH with musicclass=test, the
Settings seems to get ignored on misdn channels.

With SIP-Channels, the Log says:
    -- Executing [414 at dispatch:3] Queue("SIP/1015-08219b68", "test") in
new stack
    -- Started music on hold, class 'test', on SIP/1015-08219b68

which is expectet, but with misdn channels, it gives:
    -- Executing [414 at dispatch:3] Queue("mISDN/1-u0", "test") in new
stack
    -- Started music on hold, class 'default', on mISDN/1-u0

The only way to change this behavior is to set the musicclass directly in
misdn.conf, but that would override the music class outside of the queues
aswell.
====================================================================== 

---------------------------------------------------------------------- 
 (0091286) azielke (reporter) - 2008-08-11 07:15
 http://bugs.digium.com/view.php?id=13280#c91286 
---------------------------------------------------------------------- 
i added an patch that adds an mohinterpret field to the chan_list struct
which is then used to set the moh for each port.

This way, one can set the moh used for holding a call, but different moh
in queues still work as intended. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-11 07:15 azielke        Note Added: 0091286                          
======================================================================




More information about the asterisk-bugs mailing list