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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 20 13:56:37 CST 2011


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:              2011-01-20 13:56 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
related to          0018457 [patch] moh reload leaks file descripto...
====================================================================== 

---------------------------------------------------------------------- 
 (0130812) svnbot (reporter) - 2011-01-20 13:56
 https://issues.asterisk.org/view.php?id=18262#c130812 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 303106

U   branches/1.6.2/main/features.c

------------------------------------------------------------------------
r303106 | sruffell | 2011-01-20 13:56:35 -0600 (Thu, 20 Jan 2011) | 15
lines

main/features: Use POLLPRI when waiting for events on parked channels.

This change resolves a regression in the 1.6.2 when converting from
select to poll.  The DAHDI timers use POLLPRI to indicate that the timer
fired, but features was not waiting for that flag.  The result was no
audio for MOH when a call was parked and res_timing_dahdi was in use.

This patch is slightly modified from the one on the mantis issue.  It does
not set an exception on the channel if the POLLPRI flag is set.

(closes issue https://issues.asterisk.org/view.php?id=18262)
Reported by: francesco_r
Patches:
      patch_park_moh-trunk-2.txt uploaded by cjacobsen (license 1029)
      Tested by: francesco_r, rfrantik, one47
------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=303106 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-20 13:56 svnbot         Note Added: 0130812                          
======================================================================




More information about the asterisk-bugs mailing list