[asterisk-ss7] Help with SS7 (No Audio)

Timothy Smith timotsmith at gmail.com
Mon Nov 29 09:37:26 CST 2010


Hi,

I havent seen any useful information while loading and unloading
chat_dahdi.so, however, I have attached below the output of
ss7linktest and a debug during a call.

By the way, what does it mean when RX is 0 (asterisk not receiving
anything from the telco?)

Thanks
Tim

------------
ed channel 31, SS7 signalling
    -- Automatically generated pseudo channel
  == Starting SS7 linkset on span 1
  == Registered channel type 'DAHDI' (DAHDI Telephony Driver w/SS7)
Loaded chan_dahdi.so
*CLI>   == Manager registered action DAHDITransfer
  == Manager registered action DAHDIHangup
  == Manager registered action DAHDIDialOffhook
  == Manager registered action DAHDIDNDon
  == Manager registered action DAHDIDNDoff
  == Manager registered action DAHDIShowChannels
  == Manager registered action DAHDIRestart
 Loaded chan_dahdi.so => (DAHDI Telephony w/SS7)
Huh?! Got FISU in link state 1
MTP2 link up (SLC 0)
--- SS7 Up ---
Resetting CICs 2 to 31
Got reset acknowledgement from CIC 2 to 31.

*CLI> ss7
block    debug    no       show     unblock
*CLI> ss7
block    debug    no       show     unblock
*CLI> ss7 debug linkset 1
Enabled debugging on linkset 1
*CLI>   == Using SIP RTP CoS mark 5
    -- Executing [074892062 at sip:1] NoOp("SIP/100-00000000", "") in new stack
    -- Executing [074892062 at sip:2] Dial("SIP/100-00000000",
"DAHDI/3/074892062") in new stack
Len = 36 [ 83 85 21 85 f1 47 fa 31 03 00 01 00 60 01 0a 00 02 09 07 03
10 80 79 24 60 f2 0a 07 03 11 70 09 97 10 99 00 ]
FSN: 5 FIB 1
BSN: 3 BIB 1
>[0] MSU
[ 83 85 21 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 25 DPC 33 SLS 3
        [ f1 47 fa 31 ]
                CIC: 3
                [ 03 00 ]
                Message Type: IAM
                [ 01 ]
                --FIXED LENGTH PARMS[4]--
                Nature of Connection Indicator:
                        Satellites in connection: 0
                        Continuity Check: Check not required (0)
                        Outgoing half echo control device: not included (0)
                        [ 00 ]
                Forward Call Indicators:
                        Nat/Intl Call Ind: call to be treated as a
national call (0)
                        End to End Method Ind: no end-to-end method(s)
available (0)
                        Interworking Ind: no interworking encountered (0)
                        End to End Info Ind: no end-to-end information
available (0)
                        ISDN User Part Ind: ISDN user part used all the way (1)
                        ISDN User Part Pref Ind: ISDN user part not
preferred all the way (1)
                        ISDN Access Ind: originating access ISDN (1)
                        SCCP Method Ind: no indication (0)
                        [ 60 01 ]
                Calling Party's Category:
                        Category: Ordinary calling subscriber (10)
                        [ 0a ]
                Transmission Medium Requirements:
                        Speech (0)
                        [ 00 ]
                --VARIABLE LENGTH PARMS[1]--
                Called Party Number:
                        Nature of address: 3
                        NI: 0
                        Numbering plan: 1
                        Address signals: 074892062#
                        [ 07 03 10 80 79 24 60 f2 ]
                --OPTIONAL PARMS--
                Calling Party Number:
                        Nature of address: 3
                        NI: 0
                        Numbering plan: 1
                        Presentation: 0
                        Screening: 1
                        Address signals: 0790790199
                        [ 0a 07 03 11 70 09 97 10 99 ]

Len = 3 [ 83 85 00 ]
FSN: 5 FIB 1
BSN: 3 BIB 1
>[0] FISU

    -- Called 3/074892062
Len = 14 [ 85 84 0b 85 e9 47 fc 11 03 00 06 16 34 00 ]
FSN: 4 FIB 1
BSN: 5 BIB 1
<[0] MSU
[ 85 84 0b ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 33 DPC 25 SLS 1
        [ e9 47 fc 11 ]
                CIC: 3
                [ 03 00 ]
                Message Type: ACM
                [ 06 ]
                --FIXED LENGTH PARMS[1]--
                Backward Call Indicator:
                        Charge indicator: 2
                        Called party's status indicator: 1
                        Called party's category indicator: 1
                        End to End method indicator: 0
                        Interworking indicator: 0
                        End to End information indicator: 0
                        ISDN user part indicator: 1
                        Holding indicator: 0
                        ISDN access indicator: 1
                        Echo control device indicator: 1
                        SCCP method indicator: 0
                        [ 16 34 ]

    -- DAHDI/3-1 is proceeding passing it to SIP/100-00000000
    -- DAHDI/3-1 is ringing
Len = 17 [ 85 85 0e 85 e9 47 fc 11 03 00 09 01 11 02 16 34 00 ]
FSN: 5 FIB 1
BSN: 5 BIB 1
<[0] MSU
[ 85 85 0e ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 33 DPC 25 SLS 1
        [ e9 47 fc 11 ]
                CIC: 3
                [ 03 00 ]
                Message Type: ANM
                [ 09 ]
                --OPTIONAL PARMS--
                Backward Call Indicator:
                        Charge indicator: 2
                        Called party's status indicator: 1
                        Called party's category indicator: 1
                        End to End method indicator: 0
                        Interworking indicator: 0
                        End to End information indicator: 0
                        ISDN user part indicator: 1
                        Holding indicator: 0
                        ISDN access indicator: 1
                        Echo control device indicator: 1
                        SCCP method indicator: 0
                        [ 11 02 16 34 ]

[Nov 29 10:33:40] WARNING[7001]: chan_dahdi.c:2005 dahdi_enable_ec:
Unable to enable echo cancellation on channel 3 (No such device)
    -- DAHDI/3-1 answered SIP/100-00000000
Len = 16 [ 85 86 0d 85 e9 47 fc 11 03 00 0c 02 00 02 80 90 ]
FSN: 6 FIB 1
BSN: 5 BIB 1
<[0] MSU
[ 85 86 0d ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 33 DPC 25 SLS 1
        [ e9 47 fc 11 ]
                CIC: 3
                [ 03 00 ]
                Message Type: REL
                [ 0c ]
                --VARIABLE LENGTH PARMS[1]--
                Cause Indicator:
                        Coding Standard: 0
                        Location: 0
                        Cause Class: 1
                        Cause Subclass: 0
                        Cause: Normal call clearing (16)
                        [ 02 80 90 ]

Len = 12 [ 86 86 09 85 f1 47 fa 31 03 00 10 00 ]
FSN: 6 FIB 1
BSN: 6 BIB 1
>[0] MSU
[ 86 86 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 25 DPC 33 SLS 3
        [ f1 47 fa 31 ]
                CIC: 3
                [ 03 00 ]
                Message Type: RLC
                [ 10 ]

    -- Hungup 'DAHDI/3-1'
  == Spawn extension (sip, 074892062, 2) exited non-zero on 'SIP/100-00000000'



----------------------------------
[root at ivr1 libss7]# ./ss7linktest 1 itu 33 25
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 47 fc 01 17 ]
FSN: 0 FIB 1
BSN: 127 BIB 1
>[0] MSU
[ ff 80 06 ]
        Network Indicator: 2 Priority: 0 User Part: NET_MNG (0)
        [ 80 ]
        OPC 33 DPC 25 SLS 0
        [ e9 47 fc 01 ]
        H0: 7 H1: 1
        Message type: TRA
        [ 17 ]

Len = 20 [ ff 81 11 81 e9 47 fc 01 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 (1)
        [ 81 ]
        OPC 33 DPC 25 SLS 0
        [ e9 47 fc 01 ]
        H0: 1 H1: 1
        [ 11 ]

Len = 20 [ 81 80 11 81 e9 47 fc 01 11 a0 aa aa aa aa aa aa aa aa aa aa ]
FSN: 0 FIB 1
BSN: 1 BIB 1
<[0] MSU
[ 81 80 11 ]
        Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
        [ 81 ]
        OPC 33 DPC 25 SLS 0
        [ e9 47 fc 01 ]
        H0: 1 H1: 1
        [ 11 ]

Received message destined for point code 0x7e9 but we're 0x7f1.  Dropping
^C



More information about the asterisk-ss7 mailing list