[asterisk-bugs] [Asterisk 0014407]: hold music restarts with each command

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 9 08:50:10 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14407 
====================================================================== 
Reported By:                mostyn
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   14407
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.23 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-02-04 18:47 CST
Last Modified:              2009-02-09 08:50 CST
====================================================================== 
Summary:                    hold music restarts with each command
Description: 
Hold music restarts with each Dial(...|m) command in 1.4.23.1, whereas it
previously continued from where it left off in the last version I had tried
(1.4.23-rc2).

example dialplan test:
[hold-music-test] 
exten => s,1,NoOp(hold music test)
exten => s,n,SayNumber(1)
exten => s,n,Dial(SIP/123|5|m)
exten => s,n,SayNumber(2)
exten => s,n,Dial(SIP/123|5|m)
exten => s,n,Hangup

In 1.4.23-rc2, the caller hears: 
* "one"
* start of hold music
* "two"
* hold music from where it left off

In 1.4.23.1, the caller hears:
* "one"
* start of hold music
* "two"
* start of hold music again
====================================================================== 

---------------------------------------------------------------------- 
 (0099688) svnbot (reporter) - 2009-02-09 08:50
 http://bugs.digium.com/view.php?id=14407#c99688 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 174220

_U  branches/1.6.0/
U   branches/1.6.0/res/res_musiconhold.c

------------------------------------------------------------------------
r174220 | file | 2009-02-09 08:50:09 -0600 (Mon, 09 Feb 2009) | 18 lines

Merged revisions 174219 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r174219 | file | 2009-02-09 10:49:24 -0400 (Mon, 09 Feb 2009) | 11 lines
  
  Merged revisions 174218 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r174218 | file | 2009-02-09 10:48:21 -0400 (Mon, 09 Feb 2009) | 4
lines
    
    Don't overwrite our pointer to the music class when music on hold
stops. We will use this if it starts again to see if we can resume the
music where it left off.
    (closes issue http://bugs.digium.com/view.php?id=14407)
    Reported by: mostyn
  ........
................

------------------------------------------------------------------------

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-09 08:50 svnbot         Checkin                                      
2009-02-09 08:50 svnbot         Note Added: 0099688                          
======================================================================




More information about the asterisk-bugs mailing list