<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hello all. Im trying to make asterisk support MFCR2 here but Im getting an error when I apply the patch:<br> <br> <small><font face="Helvetica, Arial, sans-serif"><i><small>patch < channels_Makefile.patch<br> patching file Makefile<br> Hunk #1 succeeded at 75 with fuzz 1 (offset 12 lines).<br> Hunk #2 succeeded at 99 (offset 17 lines).<br> Hunk #3 FAILED at 166.<br> Hunk #4 FAILED at 190.<br> 2 out of 4 hunks FAILED -- saving rejects to file Makefile.rej</small></i></font></small><br> <br> In Makefile.rej I have:<br> <font face="Helvetica, Arial, sans-serif"><i><small><small>***************<br> *** 167,176 ****<br> ./gentone busy 480 620<br> <br> ringtone.h: gentone<br> ./gentone ringtone 440 480<br> <br> chan_oss.o: chan_oss.c busy.h ringtone.h<br> <br> ifeq (${OSARCH},OpenBSD)<br> chan_oss.so: chan_oss.o<br> $(CC) $(SOLINK) -o $@ chan_oss.o -lossaudio<br> --- 166,181 ----<br> ./gentone busy 480 620<br> <br> ringtone.h: gentone<br> ./gentone ringtone 440 480<br> <br> + chan_unicall.o: chan_unicall.c<br> + $(CC) -c $(CFLAGS) -o chan_unicall.o chan_unicall.c<br> +<br> + chan_unicall.so: chan_unicall.o<br> + $(CC) $(SOLINK) -o $@ $< -lunicall -lxml2 -lsupertone -lspandsp -ltiff $(ZAPLIB)<br> +<br> chan_oss.o: chan_oss.c busy.h ringtone.h<br> <br> ifeq (${OSARCH},OpenBSD)<br> chan_oss.so: chan_oss.o<br> $(CC) $(SOLINK) -o $@ chan_oss.o -lossaudio<br> ***************<br> *** 185,195 ****<br> <br> chan_zap.o: chan_zap.c<br> $(CC) -c $(CFLAGS) -o chan_zap.o chan_zap.c<br> <br> chan_zap.so: chan_zap.o<br> - $(CC) $(SOLINK) -o $@ $< $(ZAPPRI) $(ZAPR2) -ltonezone<br> <br> chan_sip.so: chan_sip.o<br> $(CC) $(SOLINK) -o $@ chan_sip.o<br> <br> chan_alsa.o: $(ALSA_SRC)<br> --- 190,200 ----<br> <br> chan_zap.o: chan_zap.c<br> $(CC) -c $(CFLAGS) -o chan_zap.o chan_zap.c<br> <br> chan_zap.so: chan_zap.o<br> + $(CC) $(SOLINK) -o $@ $< $(ZAPPRI) -ltonezone<br> <br> chan_sip.so: chan_sip.o<br> $(CC) $(SOLINK) -o $@ chan_sip.o<br> <br> chan_alsa.o: $(ALSA_SRC)</small></small></i></font><br> <br> Im using the follows versions:<br> <font face="Helvetica, Arial, sans-serif"><small><small><i>asterisk-1.2.10<br> asterisk-addons-1.2.3<br> asterisk-sounds-1.2.1<br> libmfcr2-0.0.3<br> libpri-1.2.3<br> libsupertone-0.0.2<br> libunicall-0.0.3<br> spandsp-0.0.3<br> zaptel-1.2.7</i><br> </small></small></font><small><small><big><big><br> The only problem that I see is that I just have the patch file to download for </big></big></small></small>asterisk-1.1.x (found in <a class="moz-txt-link-freetext" href="http://www.soft-switch.org/downloads/unicall/unicall-0.0.3pre9/asterisk-1.1.x/">http://www.soft-switch.org/downloads/unicall/unicall-0.0.3pre9/asterisk-1.1.x/</a> )<br> <br> Anybody have any ideia ?<br> Thanks<br> </body> </html>