Starting with SS7. Channel-Configuration

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

 



Hello All,
I use Asterisk-trunk and libss7-trunk to build my own Asterisk box for
SS7 support. I can get output for Sigchan 16 by using
/libss7-trunk/ss7linktest. But I can not get any useful info by using
'ss7 show linkset 1' in Asterisk. Green light is running on Digium
TE120P with E1 jump plugged. Any idea where can be wrong? Really need
hint from your guys to help me moving forward since I only have 3 days
experience on SS7. Thanks in advance.

cheers,
/eric huang

=====================================================
zapata.conf:
[channels]
context=default
signalling=ss7
echocancel=no
echocancelwhenbridged=no
rxgain=0.0
txgain=0.0

ss7type = itu
linkset = 1
networkindicator=national

pointcode = 100
adjpointcode = 1001
defaultdpc = 1000

signchan = 16

cicbeginswith = 1
channel=1-15 ; Use Zap/1-15 and assign them to CICs 1-15
cicbeginswith = 17
channel = 17-31 ; This assigns CICs 17-31 to channels 17-31

============================
/var/log/asterisk/full | grep SS7
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
1, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
2, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
3, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
4, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
5, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
6, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
7, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
8, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
9, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
10, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
11, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
12, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
13, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
14, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
15, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
17, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
18, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
19, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
20, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
21, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
22, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
23, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
24, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
25, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
26, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
27, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
28, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
29, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
30, SS7 Signalling signalling
[Oct 11 17:36:23] VERBOSE[20124] logger.c:     -- Registered channel
31, SS7 Signalling signalling
[Oct 11 17:36:23] DEBUG[20124] channel.c: Registered handler for 'Zap'
(Zapata Telephony Driver w/PRI w/SS7)
[Oct 11 17:36:23] VERBOSE[20124] logger.c:   == Registered channel
type 'Zap' (Zapata Telephony Driver w/PRI w/SS7)
============================
asterisk CLI output
*CLI> zap show status
Description                              Alarms     IRQ        bpviol     CRC4
Wildcard TE12xP Card 0                   OK         27         0          0

*CLI> zap show channels
   Chan Extension  Context         Language   MOH Interpret
Blocked    State
 pseudo            default                    default
       In Service
      1            default                    default
       Out of Ser
      2            default                    default
       Out of Ser
      3            default                    default
       Out of Ser
      4            default                    default
       Out of Ser
      5            default                    default
       Out of Ser
      6            default                    default
       Out of Ser
      7            default                    default
       Out of Ser
      8            default                    default
       Out of Ser
      9            default                    default
       Out of Ser
     10            default                    default
       Out of Ser
     11            default                    default
       Out of Ser
     12            default                    default
       Out of Ser
     13            default                    default
       Out of Ser
     14            default                    default
       Out of Ser
     15            default                    default
       Out of Ser
     17            default                    default
       Out of Ser
     18            default                    default
       Out of Ser
     19            default                    default
       Out of Ser
     20            default                    default
       Out of Ser
     21            default                    default
       Out of Ser
     22            default                    default
       Out of Ser
     23            default                    default
       Out of Ser
     24            default                    default
       Out of Ser
     25            default                    default
       Out of Ser
     26            default                    default
       Out of Ser
     27            default                    default
       Out of Ser
     28            default                    default
       Out of Ser
     29            default                    default
       Out of Ser
     30            default                    default
       Out of Ser
     31            default                    default
       Out of Ser

*CLI> zap show channel 1
Channel: 1
File Descriptor: 14
Span: 1
Extension:
Dialing: no
Context: default
Caller ID:
Calling TON: 0
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: SS7 Signalling
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
TDD: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 0 taps unless TDM bridged, currently OFF
CIC: 1
Hookstate (FXS only): Onhook


*CLI> ss7 show linkset 1
No SS7 running on linkset 1
===========================
~/libss7-trunk/ss7linktest 16 itu 100 1001

Starting link 1
Link state change: IDLE -> NOTALIGNED
Len = 4 [ ff ff 01 00 ]
FSN: 127 FIB 1
BSN: 127 BIB 1
>[0] LSSU SIO

Len = 4 [ ff ff 01 00 ]
FSN: 127 FIB 1
BSN: 127 BIB 1
<[0] LSSU SIO

Link state change: NOTALIGNED -> ALIGNED
Len = 4 [ ff ff 01 02 ]
FSN: 127 FIB 1
BSN: 127 BIB 1
>[0] LSSU SIE

Len = 4 [ ff ff 01 02 ]
FSN: 127 FIB 1
BSN: 127 BIB 1
<[0] LSSU SIE

Link state change: ALIGNED -> PROVING
T4 expired!
Link state change: PROVING -> ALIGNEDREADY
Len = 3 [ ff ff 00 ]
FSN: 127 FIB 1
BSN: 127 BIB 1
>[0] FISU

Len = 3 [ ff ff 00 ]
FSN: 127 FIB 1
BSN: 127 BIB 1
<[0] FISU

Link state change: ALIGNEDREADY -> INSERVICE
[0] MTP2 link up
Len = 9 [ ff 80 06 80 e9 03 19 00 17 ]
FSN: 0 FIB 1
BSN: 127 BIB 1
>[0] MSU
[ ff 80 06 ]
        Network Indicator: 2 Priority: 0 User Part: NET_MNG
        [ 80 ]
        OPC 100 DPC 1001 SLS 0
        [ e9 03 19 00 ]
        [ 17 ]
        H0: 7 H1: 1
        Message type: TRA

Len = 20 [ ff 81 11 81 e9 03 19 00 11 a0 32 35 36 34 32 38 36 32 38 38 ]
FSN: 1 FIB 1
BSN: 127 BIB 1
>[0] MSU
[ ff 81 11 ]
        Network Indicator: 2 Priority: 0 User Part: STD_TEST
        [ 81 ]
        OPC 100 DPC 1001 SLS 0
        [ e9 03 19 00 ]
        [ 11 ]
        H0: 1 H1: 1
        Message type: COO

Len = 18 [ ff 80 0f 81 64 40 fa 00 11 80 28 29 2a 2b 2c 2d 2e 2f ]
FSN: 0 FIB 1
BSN: 127 BIB 1
<[0] MSU
[ ff 80 0f ]
        Network Indicator: 2 Priority: 0 User Part: STD_TEST
        [ 81 ]
        OPC 1001 DPC 100 SLS 0
        [ 64 40 fa 00 ]
        [ 11 ]
        H0: 1 H1: 1
        Message type: COO

Len = 18 [ 80 82 0f 81 e9 03 19 00 21 80 28 29 2a 2b 2c 2d 2e 2f ]
FSN: 2 FIB 1
BSN: 0 BIB 1
>[0] MSU
[ 80 82 0f ]
        Network Indicator: 2 Priority: 0 User Part: STD_TEST
        [ 81 ]
        OPC 100 DPC 1001 SLS 0
        [ e9 03 19 00 ]
        [ 21 ]
        H0: 1 H1: 2
        Message type: COA

[0] --- SS7 Up ---
Len = 14 [ 80 83 0b 85 e9 03 19 10 01 00 17 01 01 17 ]
FSN: 3 FIB 1
BSN: 0 BIB 1
>[0] MSU
[ 80 83 0b ]
        Network Indicator: 2 Priority: 0 User Part: ISUP
        [ 85 ]
        OPC 100 DPC 1001 SLS 1
        [ e9 03 19 10 ]
                CIC: 1
                [ 01 00 ]
                Message Type: GRS
                [ 17 ]
                --VARIABLE LENGTH PARMS[1]--
                Range and status:
        PARM: Range and Status
                Range: 23
                        [ 01 17 ]

Len = 20 [ 81 81 11 81 64 40 fa 00 21 a0 32 35 36 34 32 38 36 32 38 38 ]
FSN: 1 FIB 1
BSN: 1 BIB 1
<[0] MSU
[ 81 81 11 ]
        Network Indicator: 2 Priority: 0 User Part: STD_TEST
        [ 81 ]
        OPC 1001 DPC 100 SLS 0
        [ 64 40 fa 00 ]
        [ 21 ]
        H0: 1 H1: 2
        Message type: COA

Len = 9 [ 83 82 06 80 64 40 fa 00 17 ]
FSN: 2 FIB 1
BSN: 3 BIB 1
<[0] MSU
[ 83 82 06 ]
        Network Indicator: 2 Priority: 0 User Part: NET_MNG
        [ 80 ]
        OPC 1001 DPC 100 SLS 0
        [ 64 40 fa 00 ]
        [ 17 ]
        H0: 7 H1: 1
        Message type: TRA

[0] --- SS7 Up ---
Len = 14 [ 82 84 0b 85 e9 03 19 10 01 00 17 01 01 17 ]
FSN: 4 FIB 1
BSN: 2 BIB 1
>[0] MSU
[ 82 84 0b ]
        Network Indicator: 2 Priority: 0 User Part: ISUP
        [ 85 ]
        OPC 100 DPC 1001 SLS 1
        [ e9 03 19 10 ]
                CIC: 1
                [ 01 00 ]
                Message Type: GRS
                [ 17 ]
                --VARIABLE LENGTH PARMS[1]--
                Range and status:
        PARM: Range and Status
                Range: 23
                        [ 01 17 ]



[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