problem with libss7-1.0.2 installation; asterisk couldnt load libss7.so

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Zoltan

Yes, you are right, and I hv got a complete docs from Mr Salaque in this mailing list, it was very help full to
me.anyways, I have installed 2 digium TE405 quad E1 card(8 span) in my
asterisk box with ss7. its looking nice so far.

Now my job is to
connected this Asterisk to a PSTN line, so that few calls come from IP
address  74.222.X.X, 74.222.X.Y and 74.222.Y.Y, And if this Asterisk
want to route those call via this PSTN line.
What I have with sip.conf, extensions.conf , users.conf and h323.conf???

Thanks in anvance.

Shuvro



________________________________
From: Zoltan Markella <zoltan.markella@xxxxxxxxxxxxxxxxxx>
To: asterisk-ss7 at lists.digium.com
Sent: Saturday, September 19, 2009 5:59:07 PM
Subject: Re: problem with libss7-1.0.2 installation; asterisk couldnt load libss7.so

LibSS7 is accessed through chan_dahdi in asterisk.

You need to modify the configuration file /etc/asterisk/chan_dahdi.conf 
and then load the chan_dahdi.so module.

In chan_dahdi.conf you need to set signalling to ss7 (along with a few 
other ss7 related parameters).

Zoltan

Shuvro Hasan wrote:
> Dear Sir
>
> Recently I have installed Digium TE405P E1 card and following tar in my fedora 10 box in order:
> dahdi-linuxcomplete-2.2.0.2+2.2.0
> libss7-1.0.2
> asterisk-1.6.1.6
>
> I felt problem to compile libss7 with following error: 
>
> [root at SSONE libss7-1.0.2]# make
> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT mtp2.o -MF .mtp2.o.d -MP -c -o mtp2.o mtp2.c
> 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
> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT ss7.o -MF .ss7.o.d -MP -c -o ss7.o ss7.c
> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT mtp3.o -MF .mtp3.o.d -MP -c -o mtp3.o mtp3.c
> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT isup.o -MF .isup.o.d -MP -c -o isup.o isup.c
> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT version.o -MF .version.o.d -MP -c -o version.o version.c
> ar rcs libss7.a mtp2.o ss7_sched.o ss7.o mtp3.o isup.o version.o
> ranlib libss7.a
> gcc -shared -Wl,-hlibss7.so.1 -o libss7.so.1.0 mtp2.o ss7_sched.o ss7.o mtp3.o isup.o version.o
> /sbin/ldconfig -n .
> ln -sf libss7.so.1 libss7.so
> ln -sf libss7.so.1.0 libss7.so.1
> gcc -g -Wall -o parser_debug parser_debug.c libss7.a
> gcc -g -o ss7test ss7test.c libss7.a -lpthread
> gcc -g -o ss7linktest ss7linktest.c libss7.a -lpthread
> [root at SSONE libss7-1.0.2]# make install
> mkdir -p /usr/lib
> mkdir -p /usr/include
> install -m 644 libss7.h /usr/include
> install -m 755 libss7.so.1.0 /usr/lib
> ( cd /usr/lib ; ln -sf libss7.so.1 libss7.so ; ln -sf libss7.so.1.0 libss7.so.1 )
> install -m 644 libss7.a /usr/lib
> if test $(id -u) = 0; then /sbin/ldconfig; fi
>
>
> dahdi is loaded fine, but I face problem with libss7. when I have tried to load libss7 in asterisk, I have got following warning:
>
> [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
> [Sep 19 22:09:38] WARNING[3364]: loader.c:780 load_resource: Module 'libss7.so' could not be loaded.
>  
>  
> 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:
> SONE*CLI> module load libss7
> Unable to load module libss7
> Command 'module load libss7' failed.
> [Sep 19 22:35:53] WARNING[3467]: loader.c:398 load_dynamic_module: Module 'libss7' did not register itself during load
> [Sep 19 22:35:53] WARNING[3467]: loader.c:780 load_resource: Module 'libss7' could not be loaded.
>  
> I am looking for your help to reslove this issu.
>
>
>      
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-ss7

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-ss7



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20090926/103d3888/attachment.htm 


[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux