Summary:ASTERISK-13072: Realtime MusicOnHold patch not working on asterisk version 1.4.13
Reporter:marcus1981 (marcus1981)Labels:
Date Opened:2008-11-14 08:24:03.000-0600Date Closed:2008-11-17 11:29:37.000-0600
Versions:Frequency of
Description:Hi there.

I tried to apply the patch out of issue 0011196: RealTime MusicOnHold (http://bugs.digium.com/view.php?id=11196) but got errors on patching and therefore the patch isnt working.

i use asterisk version 1.4.13.

patch oitput using wget 'http://bugs.digium.com/file_download.php?file_id=16565&type=bug' -O - | patch -p0 is as follows:

Hunk #1 succeeded at 55 (offset -3 lines).
patching file res/res_musiconhold.c
Hunk #1 succeeded at 127 with fuzz 2.
Hunk #2 succeeded at 155 (offset -1 lines).
Hunk #3 succeeded at 649 (offset -34 lines).
Hunk #4 succeeded at 691 with fuzz 2 (offset -34 lines).
Hunk ASTERISK-1 FAILED at 700.
Hunk ASTERISK-2 succeeded at 719 (offset -33 lines).
Hunk ASTERISK-3 succeeded at 817 (offset -43 lines).
Hunk ASTERISK-4 FAILED at 968.
Hunk ASTERISK-5 FAILED at 1025.
Hunk ASTERISK-6 FAILED at 1034.
Hunk ASTERISK-7 succeeded at 1185 (offset -60 lines).
Hunk ASTERISK-8 succeeded at 1197 (offset -60 lines).
Hunk ASTERISK-9 FAILED at 1218.
5 out of 13 hunks FAILED -- saving rejects to file res/res_musiconhold.c.rej

can anyone help me get this patch running on version 1.4.13? this is our last stable productive version within my company and we would like to keep this version.

otherwise, to which verson we should upgrade to, to get the patch running?

thanks a lot, greetings from bad homburg, germany.

Comments:By: Terry Wilson (twilson) 2008-11-17 11:29:37.000-0600

This patch was applied to 1.6.0 and will never be part of the 1.4 branch.  To use this feature you will need to upgrade to 1.6.0, or perhaps someone from the community could be contracted to produce a merged patch for you, but the bugtracker isn't the appropriate place for this.