[asterisk-dev] [Code Review] 3928: res_musiconhold: Fix MOH restarting where it left off from the last hold.

wdoekes reviewboard at asterisk.org
Sun Aug 24 11:20:12 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3928/#review13159
-----------------------------------------------------------

Ship it!


Whoops. I was indeed misled by that comment.

Perhaps add a new comment instead:


/branches/1.8/res/res_musiconhold.c
<https://reviewboard.asterisk.org/r/3928/#comment23621>

    Something like this?
    
    /* If the class has the same name and amount of files, continue where we left off. If not, reset state. */


LGTM

- wdoekes


On Aug. 22, 2014, 10:25 p.m., rmudgett wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3928/
> -----------------------------------------------------------
> 
> (Updated Aug. 22, 2014, 10:25 p.m.)
> 
> 
> Review request for Asterisk Developers and wdoekes.
> 
> 
> Bugs: ASTERISK-24019
>     https://issues.asterisk.org/jira/browse/ASTERISK-24019
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Restore code removed by https://reviewboard.asterisk.org/r/3536/ that introduced a regression that prevents MOH from restarting were it left off the last time.
> 
> I think the previous change removed the code because there was an incorrect comment that indicated the dereferencing of a stale MOH class pointer.
> 
> 
> Diffs
> -----
> 
>   /branches/1.8/res/res_musiconhold.c 421902 
> 
> Diff: https://reviewboard.asterisk.org/r/3928/diff/
> 
> 
> Testing
> -------
> 
> Establish a call between two parties and place one party on and off hold several times.
> MOH resumes where it left off from the last hold.
> 
> 
> Thanks,
> 
> rmudgett
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140824/6c6de594/attachment.html>


More information about the asterisk-dev mailing list