chan_ss7 installation problem

Hi,

As advised from the below link i have installed asterisk,dahdi-linux,dahdi-tools.  

asterisk-peru.com/files/proc … angoma.txt

versions:

Sangoma dialer card
asterisk-1.6.0.6
dahdi-linux-2.1.0.4
dahdi-tools-2.1.0.2

after compiling the above tools, i started compiling the chan_ss7-2.0.0 version.

i have made changes in Makefile as below.

##########################

CFLAGS+=-DDAHDI

INCLUDE+=-I…/dahdi/include

INCLUDE+=-I…/asterisk/include

##########################

while compiling the chan_ss7, i got the below error.could any one please suggest to resolve the problem.

test@localhost ~]# make
Makefile:175: .depend: No such file or directory
gcc -I…/usr/src/dahdi/include -I…/usr/src/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -DCHAN_SS7_VERSION=“2.0.0” -o astversion astversion.c -lpthread
./astversion > astversion.h.tmp && mv -f astversion.h.tmp astversion.h
gcc -MM -E -I…/usr/src/dahdi/include -I…/usr/src/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -DCHAN_SS7_VERSION=“2.0.0” astversion.h chan_ss7.c l4isup.c isup.c mtp.c utils.c config.c configparser.c cluster.c lffifo.c transport.c cli.c dump.c mtp3io.c astversion.c aststubs.c mtp3d.c mtp3cli.c l4isup.h isup.h mtp.h utils.h config.h configparser.h cluster.h lffifo.h cli.h dump.h transport.h aststubs.h mtp3io.h > .depend.new && mv -f .depend.new .depend || rm -f .depend.new
gcc -c -I…/usr/src/dahdi/include -I…/usr/src/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -DCHAN_SS7_VERSION=“2.0.0” -o chan_ss7.o chan_ss7.c
gcc -I…/usr/src/dahdi/include -I…/usr/src/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -DCHAN_SS7_VERSION=“2.0.0” -c -o l4isup.o l4isup.c
l4isup.c: In function âss7_indicateâ:
l4isup.c:1173: error: âAST_CONTROL_T38_PARAMETERSâ undeclared (first use in this function)
l4isup.c:1173: error: (Each undeclared identifier is reported only once
l4isup.c:1173: error: for each function it appears in.)
l4isup.c: In function âss7_writeâ:
l4isup.c:2633: error: request for member âptrâ in something not a structure or union
l4isup.c: In function âsetup_cicâ:
l4isup.c:4863: warning: implicit declaration of function âast_dsp_set_digitmodeâ
make: *** [l4isup.o] Error 1

Thanks for suggestions in advance.

Thanks&regards
Radha Krishnan.M

hello:
Please check the source path of asterisk.

Hi Sir,

 could you help anyone . again we facing the same problem. 

gcc -I…/usr/src/dahdi-linux-2.1.0.4/include -I…/usr/src/asterisk-1.6.0.6/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -DCHAN_SS7_VERSION=“1.3” -c -o l4isup.o l4isup.c
l4isup.c: In function âmtp_enqueue_isup_packetâ:
l4isup.c:376: warning: format â%luâ expects type âlong unsigned intâ, but argument 7 has type âunsigned intâ
l4isup.c: In function âss7_writeâ:
l4isup.c:2400: error: request for member âptrâ in something not a structure or union
l4isup.c: In function âsetup_cicâ:
l4isup.c:4558: warning: format â%luâ expects type âlong unsigned intâ, but argument 6 has type âunsigned intâ
l4isup.c:4595: warning: implicit declaration of function âast_dsp_set_digitmodeâ
l4isup.c: In function âisup_initâ:
l4isup.c:4760: warning: format â%luâ expects type âlong unsigned intâ, but argument 6 has type âunsigned intâ
make: *** [l4isup.o] Error

Thanks&regards
Radha Krishnan .M

hi:
1 Test Environment
Centos 5.4(kernel version: 2.6.18-164.el5)
asterisk-1.6.1.18
dahdi-linux-complete-2.2.1+2.2.1
chan_ss7-1.3

2 Software installation

  1. Install Asterisk
    ./configure
    make
    make install
    make samples
    2)Install Dahdi

make
make install
3) Install chan_ss7
a) Rectify the Makefile file ofchan_ss7
[root@localhost chan_ss7-1.3]# vi Makefile

INSTALL_PREFIX may be overridden to install elsewhere from /usr.

INSTALL_PREFIX = /usr/local/ss7
VERSION=1.3

INCLUDE may be overridden to find asterisk and zaptel includes in

non-standard places.

#INCLUDE+=-I…/source/telephony/zaptel/kernel
#CFLAGS+=-DUSE_ZAPTEL
INCLUDE+=-I…/usr/src/dahdi-linux-complete-2.2.1+2.2.1/linux/include
INCLUDE+=-I…/usr/src/asterisk-1.6.1.18/include
Dahdi and Asterisk source file directory

b) make
c) make install
3 Software configuration

Hi Sir,

   I had compiled the asterisk and chan_ss7.we getting error in asterisk

asterisk-1.6.1.18
dahdi-linux-2.1.0.4
dahdi-tools-2.1.0.2
chan_ss7-1.3

TEST*CLI> module load ss7.conf
Unable to load module ss7.conf
Command ‘module load ss7.conf’ failed.
[Apr 27 11:03:29] WARNING[26143]: loader.c:385 load_dynamic_module: Error loading module ‘ss7.conf’: /usr/lib/asterisk/modules/ss7.conf.so: cannot open shared object file: No such file or directory
[Apr 27 11:03:29] WARNING[26143]: loader.c:793 load_resource: Module ‘ss7.conf’ could not be loaded.

Regards
Radha Krishnan.M

hi:
please check under /usr/lib/asterisk/modules/, is there the file ss7.conf.so ?