On Mon, 2008-01-28 at 17:03 -0700, James Finstrom wrote:> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Followed the instructions at
> http://www.voip-info.org/wiki/view/Asterisk+MFC+R2
>
> I dead end at patching the channels Makefile. There have been some
> changes since these instructions were made. I added the chan_unicall.c
> to the channels folder but asterisk doesnt pick it up added
> chan_unicall.o to the Makefile and asterisk pukes
>
> anyone have instructions for building in to 1.4.8+
>
> Thanks
The only change that needs to be made to the asterisk/channels/Makefile
is:
chan_h323.so: chan_h323.o h323/libchanh323.a
$(ECHO_PREFIX) echo " [LD] $^ -> $@"
$(CMD_PREFIX) $(CXX) $(PTHREAD_CFLAGS) $(ASTLDFLAGS) $(SOLINK)
-o $@ $< h323/libchanh323.a $(CHANH323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -L
$(OPENH323DIR)/lib $(H323LIB) -L/usr/lib -lcrypto -lssl -lexpat
endif
------------------------------
chan_unicall.o: chan_unicall.c
$(ECHO_PREFIX) echo " [LD] $^ -> $@"
$(CMD_PREFIX) $(CC) -I../include -c $(CFLAGS) -D_GNU_SOURCE
-DAST_MODULE=\"$*\" -o chan_unicall.o chan_unicall.c
chan_unicall.so: chan_unicall.o
$(CMD_PREFIX) $(CC) $(SOLINK) -o $@ $< -lunicall -lxml2
-lsupertone -lspandsp -ltiff $(ZAPLIB)
-----------------------------
chan_misdn.o: ASTCFLAGS+=-Imisdn
Just insert what is between the dashes (the other lines are there for
reference so you know where to insert the rest. That is it. Asterisk
should now compile chan_unicall.
I would recommend that you go to http://www.moythreads.com/astunicall/
in order to get the newest support for Unicall on Asterisk 1.4.x
>
> - --
> James Finstrom
> Rhino Equipment Corp.
> Tel: 1-800-785-7073 ext. 6344
> FAX: +1 (480) 961-1826
> IP: asterisk.rhinoequipment.com ext 6344
> FWD: 633686 ext 6344
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received
> this in error, please contact the sender and delete the email and its
> attachments from all computers.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHnm1edloC7YyaIOoRAje2AJwPlRqj4rl+guvJVm2O25Et6TYkpgCePDYy
> w66jmc+wLO6zF6G5Tjz5hcc> =yR6F
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Telecomunicaciones Abiertas de M?xico S.A. de C.V.
Carlos Ch?vez Prats
Director de Tecnolog?a
+52-55-91169161 ext 2001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :
http://lists.digium.com/pipermail/asterisk-users/attachments/20080128/c6378778/attachment.pgp