kaws elchamal
2004-Nov-26 03:36 UTC
[Asterisk-Users] problem with chan_unicall.c for MFC/R2 with asterisk
Dear Steve and *.* e1r2 developers and users; my first question is: what is the version of linux you use to make asterisk run with the new libunicall? and what is the version of asterisk? my problem is : with version Fedora, C3 I have compile and run libunicall without problem, the testcall.c run also perfectly. and askterisk run without problem on the localm network. I patch asterisk in this way: patch - p1 < channels_makefile.patch .... is it the good way to patch it? after the patch, I complie asterisk without problem I configure the unicall.conf as needs. compiling asterisk patched dont generate any error but the file chan_unicall.c and was not compiled!!! (no .so and .o files ares generated) chan_unicall remain like ghost!!! please help me.... thank you kaws ps: I use asterisk/zaptel v1.0.0 , unicall-0.0.1d and fedoraC3 ps: when I use redhat3, i have another problem with the libtiff!!! and l can't compile libunicall.. _________________________________________________________________ MSN Messenger : dialoguez en temps r?el avec vos amis ! http://g.msn.fr/FR1001/866
Steve Underwood
2004-Nov-26 05:31 UTC
[Asterisk-Users] problem with chan_unicall.c for MFC/R2 with asterisk
kaws elchamal wrote:> I patch asterisk in this way: > > patch - p1 < channels_makefile.patch .... is it the good way to patch > it? > > after the patch, I complie asterisk without problem I configure the > unicall.conf as needs. compiling asterisk patched dont generate any > error but the file chan_unicall.c and was not compiled!!! (no .so and > .o files ares generated) chan_unicall remain like ghost!!! please help > me....If chan_unicall was not compiled, the patching of the makefile must have failed. Did you really leave a space between the "-" and p1". That would stop the makefile from being patched. Steve
kaws elchamal
2004-Nov-26 08:17 UTC
[Asterisk-Users] problem with chan_unicall.c for MFC/R2 with asterisk
Dear Steve, yes I'm sure that I leave a space between - and p1. the patch run succefuly... the prouve : In the new makefile I have these new lines : ************************* CHANNEL_LIBS+=$(shell [ -f /usr/include/unical.h ] && echo chan_unicall.so) chan_unicall.o: chan_unicall.c $(CC) -c $(CFLAGS) -o chan_unicall.o chan_unicall.c chan_unicall.so: chan_unicall.o $(CC) $(SOLINK) -o $@ $< -lunicall -ltiff -lxml2 -ltonezone $(ZAPLIB) ************************* excuse me, because I don't use FedoraC3 but FC1 - it can pose problem ? - what is the versions of linux I must use ? ... I have not errors in compilation. the problem is in the compilation of chan_unicall.c : no .so and .o files are created!!! ps: about patching!!! I inform you that the patch pose problem with the latest version of asterisk v1.0.2 the asterisk channels make file have been certainly changed... many thanks for your help kaws elchamal>------------------------------ > >Message: 8 >Date: Fri, 26 Nov 2004 20:31:47 +0800 >From: Steve Underwood <steveu@coppice.org> >Subject: Re: [Asterisk-Users] problem with chan_unicall.c for MFC/R2 > with asterisk >To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> >Message-ID: <41A72233.5040706@coppice.org> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > kaws elchamal wrote: > > > I patch asterisk in this way: > > > > patch - p1 < channels_makefile.patch .... is it the good way to patch > > it? > > > > after the patch, I complie asterisk without problem I configure the > > unicall.conf as needs. compiling asterisk patched dont generate any > > error but the file chan_unicall.c and was not compiled!!! (no .so and > > .o files ares generated) chan_unicall remain like ghost!!! please help > > me.... > >If chan_unicall was not compiled, the patching of the makefile must have >failed. Did you really leave a space between the "-" and p1". That would >stop the makefile from being patched. > >Steve > > > >------------------------------_________________________________________________________________ MSN Messenger : dialoguez en temps r?el avec vos amis ! http://g.msn.fr/FR1001/866