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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 30 17:44:05 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 11:44 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...
related to          0017678 Fix select() usage in Asterisk
====================================================================== 

---------------------------------------------------------------------- 
 (0130051) sruffell (administrator) - 2010-12-30 11:44
 https://issues.asterisk.org/view.php?id=18262#c130051 
---------------------------------------------------------------------- 
one47: +1  (patch without exception looks like the best solution to me)

Just taking a note for myself / the future:

I looked through the drivers to see about adding the POLLIN flag when a
timer event has fired, but it doesn't appear to be the right thing. 
POLLPRI has been returned since
http://svn.asterisk.org/view/zaptel?view=revision&revision=158 and as far
as I can tell the rationale appears that Zaptel / DAHDI uses POLLPRI to
indicate there are events on an event queue.   The timer returns
DAHDI_TIMER_EVENT_EXPIRED in response to the DAHDI_GETEVENT call since
asterisk doesn't "read" from the open timer file descriptor.

I've linked this to https://issues.asterisk.org/view.php?id=17678 since that
appears when the change in user
space behavior came in. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-30 11:44 sruffell       Note Added: 0130051                          
======================================================================




More information about the asterisk-bugs mailing list