keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions on Asterisk with SS7 Chinese variant. (有关Asterisk+中国七号信令的问题)

关于7号信令安装使用chan_ss7-1.0.91_-_china_24bit.zip版&#2641

15 years 5 months ago #2153 by zy7884
从openvox网站下载的chan_ss7-1.0.91_-_china_24bit.zip版本,编译安装日志如下,编译时有错误但是chan_ss7.so文件也生成了,但是asterisk启动后ss7模块不能加载,编译时.depend文件已经删除了,请问是什么问题呢
[root@data chan_ss7-1.0.91 - china 24bit]# make
Makefile:156: .depend: No such file or directory
gcc -MM -E -I../source/telephony/zaptel -I../source/telephony/asterisk/include -I../zaptel-1.4.11/kernel -I../asterisk-1.4.21.2/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4 -DCHAN_SS7_VERSION=\"1.0.91\" chan_ss7.c l4isup.c isup.c mtp.c utils.c config.c cluster.c lffifo.c transport.c mtp3io.c astconfig.c aststubs.c mtp3d.c l4isup.h isup.h mtp.h utils.h config.h cluster.h lffifo.h transport.h aststubs.h astversion.h mtp3io.h > .depend.new && mv -f .depend.new .depend || rm -f .depend.new
gcc -c -I../source/telephony/zaptel -I../source/telephony/asterisk/include -I../zaptel-1.4.11/kernel -I../asterisk-1.4.21.2/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4 -DCHAN_SS7_VERSION=\"1.0.91\" -o chan_ss7.o chan_ss7.c
chan_ss7.c: In function 鈓onitor_main?
chan_ss7.c:647: warning: 鈔_fds?may be used uninitialized in this function
gcc -I../source/telephony/zaptel -I../source/telephony/asterisk/include -I../zaptel-1.4.11/kernel -I../asterisk-1.4.21.2/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4 -DCHAN_SS7_VERSION=\"1.0.91\" -c -o l4isup.o l4isup.c
l4isup.c: In function 鈓tp_enqueue_isup_packet?
l4isup.c:330: warning: format ?lu?expects type 鈒ong unsigned int? but argument 7 has type 鈛nsigned int?
l4isup.c: In function 鈙etup_cic?
l4isup.c:4344: warning: format ?lu?expects type 鈒ong unsigned int? but argument 6 has type 鈛nsigned int?
l4isup.c: In function 鈏sup_init?
l4isup.c:4535: warning: format ?lu?expects type 鈒ong unsigned int? but argument 6 has type 鈛nsigned int?
gcc -c -I../source/telephony/zaptel -I../source/telephony/asterisk/include -I../zaptel-1.4.11/kernel -I../asterisk-1.4.21.2/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4 -DCHAN_SS7_VERSION=\"1.0.91\" -o isup.o isup.c
gcc -c -I../source/telephony/zaptel -I../source/telephony/asterisk/include -I../zaptel-1.4.11/kernel -I../asterisk-1.4.21.2/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4 -DCHAN_SS7_VERSION=\"1.0.91\" -o mtp.o mtp.c
mtp.c: In function 鈚17_start?
mtp.c:444: warning: passing argument 3 of 鈇st_sched_add?from incompatible pointer type
mtp.c: In function 鈚1_start?
mtp.c:465: warning: passing argument 3 of 鈇st_sched_add?from incompatible pointer type
mtp.c: In function 鈚2_start?
mtp.c:486: warning: passing argument 3 of 鈇st_sched_add?from incompatible pointer type
mtp.c: In function 鈚3_start?
mtp.c:507: warning: passing argument 3 of 鈇st_sched_add?from incompatible pointer type
mtp.c: In function 鈚4_start?
mtp.c:528: warning: passing argument 3 of 鈇st_sched_add?from incompatible pointer type
mtp.c: In function 鈓tp2_t7_start?
mtp.c:758: warning: passing argument 3 of 鈇st_sched_add?from incompatible pointer type
mtp.c: In function 鈓tp3_send_sltm?
mtp.c:983: warning: passing argument 3 of 鈇st_sched_add?from incompatible pointer type
mtp.c: In function 鈓tp2_good_frame?
mtp.c:1183: warning: passing argument 3 of 鈇st_sched_add?from incompatible pointer type
mtp.c: In function 鈖rocess_msu?
mtp.c:1304: warning: unused variable 鈑?
mtp.c:1304: warning: unused variable 鈐?
mtp.c: At top level:
mtp.c:553: warning: 鈌ind_alternative_slink?defined but not used
gcc -c -I../source/telephony/zaptel -I../source/telephony/asterisk/include -I../zaptel-1.4.11/kernel -I../asterisk-1.4.21.2/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4 -DCHAN_SS7_VERSION=\"1.0.91\" -o utils.o utils.c
utils.c: In function 鈙tart_timer?
utils.c:99: warning: passing argument 3 of 鈇st_sched_add?from incompatible pointer type
gcc -c -I../source/telephony/zaptel -I../source/telephony/asterisk/include -I../zaptel-1.4.11/kernel -I../asterisk-1.4.21.2/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4 -DCHAN_SS7_VERSION=\"1.0.91\" -o config.o config.c
config.c: In function 鈒oad_config_jitter?
config.c:96: warning: value computed is not used
gcc -c -I../source/telephony/zaptel -I../source/telephony/asterisk/include -I../zaptel-1.4.11/kernel -I../asterisk-1.4.21.2/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4 -DCHAN_SS7_VERSION=\"1.0.91\" -o cluster.o cluster.c
cluster.c: In function 鈉luster_send_keep_alive?
cluster.c:497: warning: pointer targets in passing argument 3 of 鈉luster_send_packet?differ in signedness
gcc -c -I../source/telephony/zaptel -I../source/telephony/asterisk/include -I../zaptel-1.4.11/kernel -I../asterisk-1.4.21.2/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4 -DCHAN_SS7_VERSION=\"1.0.91\" -o lffifo.o lffifo.c
gcc -I../source/telephony/zaptel -I../source/telephony/asterisk/include -I../zaptel-1.4.11/kernel -I../asterisk-1.4.21.2/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4 -DCHAN_SS7_VERSION=\"1.0.91\" -c -o transport.o transport.c
transport.c:415: warning: 鈚ransport_socket?defined but not used
gcc -c -I../source/telephony/zaptel -I../source/telephony/asterisk/include -I../zaptel-1.4.11/kernel -I../asterisk-1.4.21.2/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4 -DCHAN_SS7_VERSION=\"1.0.91\" -o mtp3io.o mtp3io.c
gcc -shared -o chan_ss7.so chan_ss7.o l4isup.o isup.o mtp.o utils.o config.o cluster.o lffifo.o transport.o mtp3io.o
cp chan_ss7.so /usr/lib/asterisk/modules/chan_ss7.so
gcc -I../source/telephony/zaptel -I../source/telephony/asterisk/include -I../zaptel-1.4.11/kernel -I../asterisk-1.4.21.2/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4 -DCHAN_SS7_VERSION=\"1.0.91\" -c -o mtp3d.o mtp3d.c
mtp3d.c: In function 鈒4isup_event?
mtp3d.c:307: error: incompatible type for argument 2 of 鈊ecode_isup_msg?
mtp3d.c:307: warning: passing argument 3 of 鈊ecode_isup_msg?makes pointer from integer without a cast
mtp3d.c:307: error: too few arguments to function 鈊ecode_isup_msg?
make: *** [mtp3d.o] Error 1
[root@data chan_ss7-1.0.91 - china 24bit]#
15 years 5 months ago #2154 by miaolin
运行make chan_ss7.so而不是make
15 years 5 months ago #2155 by zy7884
按照make chan_ss7.so执行后,进入cli控制台执行load chan_ss7.so后,自动退出了cli控制台,打出如下日志
== Parsing '/etc/asterisk/ss7.conf': Found
[2008-11-10 12:19] NOTICE[4625]: config.c:606 load_config_link: Configured link 'l1' on linkset 'siuc', firstcic=1
[2008-11-10 12:19] WARNING[4625]: config.c:858 load_config_host: Missing interface entries for host 'gentoo1'.
[2008-11-10 12:19] ERROR[4625]: config.c:197 find_my_host: Unable to find host configuration for host 'data.localdomain'.
== Parsing '/etc/asterisk/ss7.conf': Found
[2008-11-10 12:19] NOTICE[4636]: config.c:606 load_config_link: Configured link 'l1' on linkset 'siuc', firstcic=1
[2008-11-10 12:19] ERROR[4636]: config.c:759 load_config_host: Connector no. 1 specified twice for host 'gentoo1.'
== Parsing '/etc/asterisk/ss7.conf': Found
[2008-11-10 12:19] NOTICE[4636]: config.c:606 load_config_link: Configured link 'l1' on linkset 'siuc', firstcic=1
[2008-11-10 12:19] ERROR[4636]: config.c:759 load_config_host: Connector no. 1 specified twice for host 'gentoo1.'
data*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
Time to create page: 0.037 seconds
Powered by Kunena Forum