keywords: ip pbx voip gateway gsm gateway

×

Notice

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

MTP咋总是DOWN呀

15 years 6 months ago #2056 by awa2008
bbs效率太低了嘛
15 years 6 months ago #2057 by awa2008
再不回贴的话
15 years 6 months ago #2059 by james.zhu
hello:
你把 variant => CHINA 加上试试。
regards!
James.zhu

15 years 6 months ago #2060 by awa2008
是不是加在ss7.conf的[linkset-ls1]下面?
15 years 6 months ago #2061 by james.zhu
hello:
这是一个例子,你可以看看:
+++++++++++++++++++++++++++++++
[linkset-siuc]
enabled => yes
enable_st => no
use_connect => no
hunting_policy => even_mru
context => from-ss7
subservice => local
language => cn
variant => CHINA
;addr_type => ansi
;a_cat => 0x18

[link-l1]
linkset => siuc
channels => 1-15,17-31
schannel => 16
firstcic => 1
enabled => yes
;a_cat => 0x18
; trans_ind => 0x00
;ptype => isup


[host-cnndex1]
enabled => yes
opc => 0x0a082d
dpc => siuc:0x0a0c87
links => l1:1
++++++++++++++++++++++++++++++++
james.zhu

15 years 6 months ago #2062 by awa2008
[root@gw1 ~]# asterisk -r
Asterisk 1.4.21.2, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.21.2 currently running on gw1 (pid = 3172)
Verbosity is at least 3
gw1*CLI> module load chan_ss7
== Parsing '/etc/asterisk/ss7.conf': Found
[Oct 27 17:11] NOTICE[12584]: config.c:606 load_config_link: Configured link 'l1' on linkset 'ls1', firstcic=1
[Oct 27 17:11] WARNING[12584]: config.c:858 load_config_host: Missing interface entries for host 'gw1'.
[Oct 27 17:11] NOTICE[12584]: config.c:1026 load_config: Configuring DPC 2722128 for linkset 'ls1'.
-- Starting cluster thread, pid=3172.
-- Starting continuity check thread, pid=3172.
== Registered channel type 'SS7' (SS7 Protocol Driver)
[Oct 27 17:11] NOTICE[12584]: mtp.c:2266 mtp_init: Initialising 1 signalling links
-- Starting MTP thread, pid=3172.
-- Starting monitor thread, pid=3172.
[Oct 27 17:11] NOTICE[12589]: mtp.c:1866 mtp_thread_main: Empty Zaptel output buffer detected, outgoing packets may have been lost on link 'l1'.
-- SS7 channel loaded successfully.
Loaded chan_ss7 => (SS7 Protocol Support)
[Oct 27 17:11] NOTICE[12589]: mtp.c:1165 mtp2_good_frame: Sending TRA to peer on link 'l1'....
[Oct 27 17:11] NOTICE[12589]: mtp.c:1323 process_msu: Using subservice field from incoming MSU: 0x8
[Oct 27 17:11] WARNING[12589]: chan_ss7.c:618 process_event: MTP is now UP on link 'l1'.
[Oct 27 17:11] NOTICE[12589]: l4isup.c:3226 process_gra: Process GRA, cic=1, range=14
[Oct 27 17:11] NOTICE[12589]: l4isup.c:3226 process_gra: Process GRA, cic=17, range=14
gw1*CLI> ss7 link status
linkset ls1, link l1, schannel 16, sls 0, INSERVICE, rx: 5, tx: 1/3, sentseq/lastack: 4/4, total 199328, 199424
gw1*CLI> ss7 status
linkset idle busy initiating resetting total incoming total outgoing
ls1 30 0 0 0 0 0
gw1*CLI> ss7 linestat
Linkset: ls1
CIC 1 Idle
CIC 2 Idle
CIC 3 Idle
CIC 4 Idle
CIC 5 Idle
CIC 6 Idle
CIC 7 Idle
CIC 8 Idle
CIC 9 Idle
CIC 10 Idle
CIC 11 Idle
CIC 12 Idle
CIC 13 Idle
CIC 14 Idle
CIC 15 Idle
CIC 17 Idle
CIC 18 Idle
CIC 19 Idle
CIC 20 Idle
CIC 21 Idle
CIC 22 Idle
CIC 23 Idle
CIC 24 Idle
CIC 25 Idle
CIC 26 Idle
CIC 27 Idle
CIC 28 Idle
CIC 29 Idle
CIC 30 Idle
CIC 31 Idle
gw1*CLI>
Time to create page: 0.043 seconds
Powered by Kunena Forum