<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>I got it, have edited the chan_dahdi.conf file indeed.</DIV>
<DIV> </DIV>
<DIV>But my first quetsion on the compilation error with libss7.</DIV>
<DIV>So I have to resolve this error first, then I can look through the loading issu, am I right??</DIV>
<DIV>Please advice me.</DIV>
<DIV><BR> </DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><BR>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Zoltan Markella <zoltan.markella@openhorizont.co.uk><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> asterisk-ss7@lists.digium.com<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Saturday, September 19, 2009 5:59:07 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [asterisk-ss7] problem with libss7-1.0.2 installation; asterisk couldnt load libss7.so<BR></FONT><BR>LibSS7 is accessed through chan_dahdi in asterisk.<BR><BR>You need to modify the configuration file /etc/asterisk/chan_dahdi.conf <BR>and then load the chan_dahdi.so module.<BR><BR>In chan_dahdi.conf you need to set signalling to ss7 (along with a few <BR>other ss7 related parameters).<BR><BR>Zoltan<BR><BR>Shuvro Hasan wrote:<BR>> Dear Sir<BR>><BR>> Recently I have installed Digium TE405P E1 card and following tar in my fedora 10 box in order:<BR>> dahdi-linuxcomplete-2..2.0.2+2.2.0<BR>>
libss7-1.0.2<BR>> asterisk-1.6.1.6<BR>><BR>> I felt problem to compile libss7 with following error: <BR>><BR>> [root@SSONE libss7-1.0.2]# make<BR>> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT mtp2.o -MF .mtp2.o.d -MP -c -o mtp2.o mtp2.c<BR>> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT ss7_sched.o -MF .ss7_sched.o.d -MP -c -o ss7_sched.o ss7_sched.c<BR>> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT ss7.o -MF .ss7.o.d -MP -c -o ss7.o ss7.c<BR>> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT mtp3.o -MF .mtp3.o.d -MP -c -o mtp3.o mtp3.c<BR>> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT isup.o -MF .isup.o.d -MP -c -o isup.o isup.c<BR>> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT version.o -MF .version.o.d -MP -c -o version.o version.c<BR>>
ar rcs libss7.a mtp2.o ss7_sched.o ss7.o mtp3.o isup.o version.o<BR>> ranlib libss7.a<BR>> gcc -shared -Wl,-hlibss7.so.1 -o libss7.so.1.0 mtp2.o ss7_sched.o ss7.o mtp3.o isup.o version.o<BR>> /sbin/ldconfig -n .<BR>> ln -sf libss7.so.1 libss7.so<BR>> ln -sf libss7.so.1.0 libss7.so.1<BR>> gcc -g -Wall -o parser_debug parser_debug.c libss7.a<BR>> gcc -g -o ss7test ss7test.c libss7.a -lpthread<BR>> gcc -g -o ss7linktest ss7linktest.c libss7.a -lpthread<BR>> [root@SSONE libss7-1.0.2]# make install<BR>> mkdir -p /usr/lib<BR>> mkdir -p /usr/include<BR>> install -m 644 libss7.h /usr/include<BR>> install -m 755 libss7.so.1.0 /usr/lib<BR>> ( cd /usr/lib ; ln -sf libss7.so.1 libss7.so ; ln -sf libss7.so.1.0 libss7.so.1 )<BR>> install -m 644 libss7.a /usr/lib<BR>> if test $(id -u) = 0; then /sbin/ldconfig; fi<BR>><BR>><BR>> dahdi is loaded fine, but I face problem with libss7. when I have tried to load
libss7 in asterisk, I have got following warning:<BR>><BR>> [Sep 19 22:09:38] WARNING[3364]: loader.c:385 load_dynamic_module: Error loading module 'libss7.so': /usr/lib/asterisk/modules/libss7.so: cannot open shared object file: No such file or directory<BR>> [Sep 19 22:09:38] WARNING[3364]: loader.c:780 load_resource: Module 'libss7.so' could not be loaded.<BR>> <BR>> <BR>> then I have moved libss7.so file in to /usr/lib/asterisk/module directory, and then try to load libss7 again. but still I have got following error:<BR>> SONE*CLI> module load libss7<BR>> Unable to load module libss7<BR>> Command 'module load libss7' failed.<BR>> [Sep 19 22:35:53] WARNING[3467]: loader.c:398 load_dynamic_module: Module 'libss7' did not register itself during load<BR>> [Sep 19 22:35:53] WARNING[3467]: loader.c:780 load_resource: Module 'libss7' could not be loaded.<BR>> <BR>> I am looking for your help to
reslove this issu.<BR>><BR>><BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>><BR>> _______________________________________________<BR>> --Bandwidth and Colocation Provided by <A href="http://www.api-digital.com--/" target=_blank>http://www.api-digital.com--</A><BR>><BR>> asterisk-ss7 mailing list<BR>> To UNSUBSCRIBE or update options visit:<BR>> <A href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-ss7</A><BR><BR>_______________________________________________<BR>--Bandwidth and Colocation Provided by <A href="http://www.api-digital.com--/" target=_blank>http://www.api-digital.com--</A><BR><BR>asterisk-ss7 mailing list<BR>To UNSUBSCRIBE or update options visit:<BR> <A href="http://lists.digium.com/mailman/listinfo/asterisk-ss7"
target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-ss7</A><BR></DIV></DIV></div><br>
</body></html>