[asterisk-bugs] [Asterisk 0018262]: [patch] No MOH When Call Parked

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 30 12:00:47 UTC 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18262 
====================================================================== 
Reported By:                francesco_r
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18262
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.14-rc1 
JIRA:                       SWP-2582 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-11-05 05:01 CDT
Last Modified:              2010-12-30 06:00 CST
====================================================================== 
Summary:                    [patch] No MOH When Call Parked
Description: 
I have upgraded from Asterisk 1.4.34 to Asterisk 1.6.2.14-rc1 using the
same configuration (FreePBX 2.7) but now when i park a call there is no
music on hold. The moh works with regular sip hold and transfers and
queues. This is the console output:
    -- Started music on hold, class 'default', on SIP/503-00000760
  == Parked SIP/503-00000760 on 71 (lot default). Will timeout back to
extension [from-internal] 509, 1 in 240 seconds
    -- Added extension '71' priority 1 to parkedcalls (0x8820198)
    -- <SIP/509-00000761> Playing 'digits/7.slin' (language 'it')
    -- <SIP/509-00000761> Playing 'digits/1.slin' (language 'it')

As you can see the default music class start but the parked person hear
only silence. I'm not the only person that have this problem, other persons
using Asterisk 1.8.0 have reported the same issue:
http://pbxinaflash.com/forum/showthread.php?p=52404
http://www.freepbx.org/trac/ticket/4623
 
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0018330 The musiconhold stop  when a call is pa...
====================================================================== 

---------------------------------------------------------------------- 
 (0130043) one47 (reporter) - 2010-12-30 06:00
 https://issues.asterisk.org/view.php?id=18262#c130043 
---------------------------------------------------------------------- 
The supplied patch seems to set an exception on the channel if POLLPRI is
received. Is that correct? If I understand this correctly, POLLPRI is
equivalent to POLLIN, and therefore should not
   ast_set_flag(chan, AST_FLAG_EXCEPTION)
I have applied the patch here without that part of the change, and it does
indeed fix MOH for parked calls. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-30 06:00 one47          Note Added: 0130043                          
======================================================================




More information about the asterisk-bugs mailing list