[asterisk-ss7] Please help with SS7 problem
Woody Dickson
woodydickson at gmail.com
Tue Oct 21 06:25:39 CDT 2008
Hi,
I have been trying to get chan_ss7 to work for almost 2 weeks now. I
think I may be closed, but still I am stuck with some config issues.
Would someone please kindly help out?
Here is my software combination:
asterisk-1.4.21.2
zaptel-1.4.12
chan_ss7-1.0.95-beta
Here is my config:
zaptel.conf
span=1,1,0,ccs,hdb3,crc4
span=2,0,0,ccs,hdb3,crc4
#span1
bchan=1-31
#span2
bchan=32-62
ss7.conf
[linkset-1]
enabled=>yes
enable_st=>no
use_connect=>yes
hunting_policy=>even_mru
subservice=>auto
context=>default
[linkset-2]
enabled=>yes
enable_st=>no
use_connect=>yes
hunting_policy=>even_mru
subservice=>auto
context=>default
[link-11]
linkset=>1
channels=>1-15,17-31
schannel=>16
firstcic=>1
enabled=>yes
[link-12]
linkset=>2
channels=>1-15,17-31
schannel=>16
firstcic=>1
enabled=>yes
[host-localhost.localdomain]
enabled=>yes
default_linkset=>1
opc=>0x8e0
dpc=>1:0x3fff,2:0x3fff
links=>11:1,12:2
extensions.conf
[default]
exten=>2008,1,Dial(SS7/1/2000,30)
exten=>2000,1,Dial(SIP/2000)
Here is what happens within Asterisk
localhost*CLI>ss7 show channels
nkset: 1CLI>
CIC 1 Idle
CIC 2 Idle Reset pending
CIC 3 Idle Reset pending
CIC 4 Idle Reset pending
CIC 5 Idle Reset pending
CIC 6 Idle Reset pending
CIC 7 Idle Reset pending
CIC 8 Idle Reset pending
CIC 9 Idle Reset pending
CIC 10 Idle Reset pending
CIC 11 Idle Reset pending
CIC 12 Idle Reset pending
CIC 13 Idle Reset pending
CIC 14 Idle Reset pending
CIC 15 Idle Reset pending
CIC 17 Idle
CIC 18 Idle Reset pending
CIC 19 Idle Reset pending
CIC 20 Idle Reset pending
CIC 21 Idle Reset pending
CIC 22 Idle Reset pending
CIC 23 Idle Reset pending
CIC 24 Idle Reset pending
CIC 25 Idle Reset pending
CIC 26 Idle Reset pending
CIC 27 Idle Reset pending
CIC 28 Idle Reset pending
CIC 29 Idle Reset pending
CIC 30 Idle Reset pending
CIC 31 Idle Reset pending
Linkset: 2
CIC 1 Idle
CIC 2 Idle Reset pending
CIC 3 Idle Reset pending
CIC 4 Idle Reset pending
CIC 5 Idle Reset pending
CIC 6 Idle Reset pending
CIC 7 Idle Reset pending
CIC 8 Idle Reset pending
CIC 9 Idle Reset pending
CIC 10 Idle Reset pending
CIC 11 Idle Reset pending
CIC 12 Idle Reset pending
CIC 13 Idle Reset pending
CIC 14 Idle Reset pending
CIC 15 Idle Reset pending
CIC 17 Idle
CIC 18 Idle Reset pending
CIC 19 Idle Reset pending
CIC 20 Idle Reset pending
CIC 21 Idle Reset pending
CIC 22 Idle Reset pending
CIC 23 Idle Reset pending
CIC 24 Idle Reset pending
CIC 25 Idle Reset pending
CIC 26 Idle Reset pending
CIC 27 Idle Reset pending
CIC 28 Idle Reset pending
CIC 29 Idle Reset pending
CIC 30 Idle Reset pending
CIC 31 Idle Reset pending
localhost*CLI>
localhost*CLI> ss7 link status
linkset 1, link 11, schannel 16, sls 0, INSERVICE, rx: 6, tx: 3/3,
sentseq/lastack: 89/83, total 1119539968, 1119540048
linkset 2, link 12, schannel 16, sls 0, INSERVICE, rx: 5, tx: 3/3,
sentseq/lastack: 91/83, total 1119539952, 1119540048
localhost*CLI>
[root at localhost asterisk]# /usr/local/ss7/sbin/mtp3d
Using /etc/asterisk for config directory
[NOTICE] config.c:380 load_config_linkset Using default language ''
for linkset '1'
[NOTICE] config.c:380 load_config_linkset Using default language ''
for linkset '2'
[NOTICE] config.c:614 load_config_link Configured link '11' on linkset
'1', firstcic=1
[NOTICE] config.c:614 load_config_link Configured link '12' on linkset
'2', firstcic=1
[WARNING] config.c:866 load_config_host Missing interface entries for
host 'localhost.localdomain'.
[NOTICE] config.c:1034 load_config Configuring DPC 16383 for linkset '1'.
[NOTICE] config.c:1034 load_config Configuring DPC 16383 for linkset '2'.
[NOTICE] mtp.c:2263 mtp_init Initialising 2 signalling links
[WARNING] transport.c:205 openschannel Unable to open signalling link
zaptel device /dev/zap/16: Device or resource busy
[ERROR] mtp3d.c:736 main Unable to initialize MTP.
[root at localhost asterisk]#
localhost*CLI> ss7 status
linkset idle busy initiating resetting total incoming total outgoing
1 2 0 0 28 0 0
*** Idle list lenth is: 30
linkset idle busy initiating resetting total incoming total outgoing
2 2 0 0 28 0 0
*** Idle list lenth is: 30
localhost*CLI>
errors
1.208 call 2008
-- Executing [2008 at default:1] Dial("SIP/208-08ce52c0",
"SS7/1/2000|30") in new stack
-- chan_ss7: isup_send_iam: ISDN_H324M is not set.
-- Sent IAM CIC=1 ANI=208 DNI=2000 RNI=
-- Called 1/2000
[Oct 20 08:57:34] NOTICE[10347]: l4isup.c:1029 t7_timeout: T7 timeout
(waiting for ACM or CON) CIC=1.
-- SS7 hangup 'SS7/1/1' CIC=1 Cause=16 (state=2)
-- No one is available to answer at this time (1:0/0/0)
== Auto fallthrough, channel 'SIP/208-08ce52c0' status is 'NOANSWER'
2.NOTICE
[Oct 20 09:03:04] NOTICE[10347]: l4isup.c:930 t1_timeout: T1 timeout
(waiting for RLC) CIC=1.
[Oct 20 09:03:07] NOTICE[10347]: l4isup.c:1236 t22_timeout: T22
timeout (No "circuit group reset acknowledge" from peer) CIC=1.
[Oct 20 09:03:07] NOTICE[10347]: l4isup.c:1236 t22_timeout: T22
timeout (No "circuit group reset acknowledge" from peer) CIC=17.
[Oct 20 09:03:07] NOTICE[10347]: l4isup.c:1236 t22_timeout: T22
timeout (No "circuit group reset acknowledge" from peer) CIC=1.
[Oct 20 09:03:07] NOTICE[10347]: l4isup.c:1236 t22_timeout: T22
timeout (No "circuit group reset acknowledge" from peer) CIC=17.
3.mtp
localhost*CLI> ss7 mtp data
[Oct 20 09:23:13] ERROR[10347]: mtp.c:883 mtp2_queue_msu: Got illegal
MSU length 0 < 2, dropping frame on link '11'.
localhost*CLI>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20081021/7d5cbbc9/attachment.htm
More information about the asterisk-ss7
mailing list