[asterisk-ss7] SS7 channel variables (with trace)

Robert Bielik robert.bielik at xponaut.se
Wed Jul 22 00:57:49 CDT 2009


Matthew Fredrickson skrev:
> 
> Can you provide the ss7 debug trace of the call (ss7 debug linkset x) in 
> order to verify that those parameters are actually being sent to Asterisk?
> 

Near side * (the one with the 2 softphones):
-----------------------------------------------------------------------------------------------------------
  == Using SIP RTP CoS mark 5
    -- Executing [05000 at phones:1] Dial("SIP/1111-b7660228", "DAHDI/1/5000") in new stack
    -- Called 1/5000
Len = 31 [ 89 89 1c 85 01 80 00 10 01 00 01 00 60 01 0a 00 02 07 05 83 10 05 00 0f 0a 04 04 10 11 11 00 ]
FSN: 9 FIB 1
BSN: 9 BIB 1
>[0] MSU
[ 89 89 1c ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 2 DPC 1 SLS 1
        [ 01 80 00 10 ]
                CIC: 1
                [ 01 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: 5000#
                        [ 05 83 10 05 00 0f ]
                --OPTIONAL PARMS--
                Calling Party Number:
                        Nature of address: 4
                        NI: 0
                        Numbering plan: 1
                        Presentation: 0
                        Screening: 0
                        Address signals: 1111
                        [ 0a 04 04 10 11 11 ]

Len = 14 [ 89 8a 0b 85 02 40 00 10 01 00 06 40 14 00 ]
FSN: 10 FIB 1
BSN: 9 BIB 1
<[0] MSU
[ 89 8a 0b ]
upps-astNetwork Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1 DPC 2 SLS 1
        [ 02 40 00 10 ]
                CIC: 1
                [ 01 00 ]
                Message Type: ACM
                [ 06 ]
upps-ast1*CLI>  --FIXED LENGTH PARMS[1]--
                Backward Call Indicator:
                        Charge indicator: 0
                        Called party's status indicator: 0
                        Called party's category indicator: 0
                        End to End method indicator: 1
                        Interworking indicator: 0
                        End to End information indicator: 0
                        ISDN user part indicator: 1
upps-ast1*CLI>          Holding indicator: 0
                        ISDN access indicator: 1
                        Echo control device indicator: 0
                        SCCP method indicator: 0
                        [ 40 14 ]

    -- DAHDI/1-1 is proceeding passing it to SIP/1111-b7660228
Len = 32 [ 89 8b 1d 85 02 40 00 20 02 00 01 00 60 01 0a 00 02 07 05 83 10 01 01 0f 0a 05 04 10 00 11 11 00 ]
FSN: 11 FIB 1
BSN: 9 BIB 1
<[0] MSU
[ 89 8b 1d ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1 DPC 2 SLS 2
        [ 02 40 00 20 ]
                CIC: 2
                [ 02 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)
upps-ast1*CLI>          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: 1010#
                        [ 05 83 10 01 01 0f ]
                --OPTIONAL PARMS--
                Calling Party Number:
                        Nature of address: 4
                        NI: 0
                        Numbering plan: 1
                        Presentation: 0
                        Screening: 0
                        Address signals: 001111
                        [ 0a 05 04 10 00 11 11 ]

    -- Executing [1010 at incoming:1] NoOp("DAHDI/2-1", "all="" <00001111>") in new stack
    -- Executing [1010 at incoming:2] NoOp("DAHDI/2-1", "rdnis=") in new stack
    -- Executing [1010 at incoming:3] NoOp("DAHDI/2-1", "dnid=1010#") in new stack
    -- Executing [1010 at incoming:4] NoOp("DAHDI/2-1", "ani=00001111") in new stack
    -- Executing [1010 at incoming:5] NoOp("DAHDI/2-1", "ani2=-1") in new stack
    -- Executing [1010 at incoming:6] NoOp("DAHDI/2-1", "pres=0") in new stack
    -- Executing [1010 at incoming:7] NoOp("DAHDI/2-1", "subaddr=") in new stack
    -- Executing [1010 at incoming:8] NoOp("DAHDI/2-1", "SS7_REDIRECTING_NUMBER=") in new stack
    -- Executing [1010 at incoming:9] NoOp("DAHDI/2-1", "SS7_ORIG_CALLED_NUM=") in new stack
    -- Executing [1010 at incoming:10] Dial("DAHDI/2-1", "SIP/1010") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 1010
    -- Accepting call to '1010' on CIC 2
Len = 14 [ 8b 8a 0b 85 01 80 00 20 02 00 06 40 14 00 ]
FSN: 10 FIB 1
BSN: 11 BIB 1
>[0] MSU1*CLI>
[ 8b 8a 0b ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 2 DPC 1 SLS 2
        [ 01 80 00 20 ]
                CIC: 2
                [ 02 00 ]
                Message Type: ACM
                [ 06 ]
                --FIXED LENGTH PARMS[1]--
                Backward Call Indicator:
                        Charge indicator: 0
                        Called party's status indicator: 0
                        Called party's category indicator: 0
upps-ast1*CLI>          End to End method indicator: 1
                        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: 0
                        SCCP method indicator: 0
                        [ 40 14 ]

    -- SIP/1010-08220d48 is ringing
Len = 13 [ 8b 8b 0a 85 01 80 00 20 02 00 2c 01 00 ]
FSN: 11 FIB 1
BSN: 11 BIB 1>
>[0] MSU
[ 8b 8b 0a ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 2 DPC 1 SLS 2
        [ 01 80 00 20 ]
                CIC: 2
                [ 02 00 ]
upps-ast1*CLI>  Message Type: CPG
                [ 2c ]
                --FIXED LENGTH PARMS[1]--
                Event Information:
upps-ast1*CLI>          ALERTING
                        [ 01 ]

Len = 13 [ 8b 8c 0a 85 02 40 00 10 01 00 2c 01 00 ]
FSN: 12 FIB 1
BSN: 11 BIB 1
<[0] MSU
[ 8b 8c 0a ]
upps-astNetwork Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1 DPC 2 SLS 1
        [ 02 40 00 10 ]
                CIC: 1
                [ 01 00 ]
                Message Type: CPG
upps-ast1*CLI>  [ 2c ]
                --FIXED LENGTH PARMS[1]--
                Event Information:
                        ALERTING
                        [ 01 ]

    -- DAHDI/1-1 is ringing
    -- Hungup 'DAHDI/1-1'
Len = 16 [ 8c 8c 0d 85 01 80 00 10 01 00 0c 02 00 02 81 90 ]
FSN: 12 FIB 1
BSN: 12 BIB 1
>[0] MSU
[ 8c 8c 0d ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
  == Spawn extension (phones, 05000, 1) exited non-zero on 'SIP/1111-b7660228'
upps-astOPC 2 DPC 1 SLS 1
        [ 01 80 00 10 ]
                CIC: 1
                [ 01 00 ]
                Message Type: REL
                [ 0c ]
                --VARIABLE LENGTH PARMS[1]--
                Cause Indicator:
                        Coding Standard: 0
                        Location: 1
                        Cause Class: 1
                        Cause Subclass: 0
                        Cause: Normal call clearing (16)
                        [ 02 81 90 ]
upps-ast1*CLI>
Len = 12 [ 8c 8d 09 85 02 40 00 10 01 00 10 00 ]
FSN: 13 FIB 1
BSN: 12 BIB 1
<[0] MSU
[ 8c 8d 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
upps-astOPC 1 DPC 2 SLS 1
        [ 02 40 00 10 ]
                CIC: 1
                [ 01 00 ]
                Message Type: RLC
                [ 10 ]

Len = 16 [ 8c 8e 0d 85 02 40 00 20 02 00 0c 02 00 02 81 90 ]
FSN: 14 FIB 1
BSN: 12 BIB 1
<[0] MSU
[ 8c 8e 0d ]I>
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1 DPC 2 SLS 2
        [ 02 40 00 20 ]
                CIC: 2
                [ 02 00 ]
                Message Type: REL
                [ 0c ]
                --VARIABLE LENGTH PARMS[1]--
                Cause Indicator:
                        Coding Standard: 0
                        Location: 1
upps-ast1*CLI>          Cause Class: 1
                        Cause Subclass: 0
                        Cause: Normal call clearing (16)
                        [ 02 81 90 ]

Len = 12 [ 8e 8d 09 85 01 80 00 20 02 00 10 00 ]
FSN: 13 FIB 1
BSN: 14 BIB 1
>[0] MSU
[ 8e 8d 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 2 DPC 1 SLS 2
        [ 01 80 00 20 ]
                CIC: 2
                [ 02 00 ]
                Message Type: RLC
                [ 10 ]

  == Spawn extension (incoming, 1010, 10) exited non-zero on 'DAHDI/2-1'
    -- Hungup 'DAHDI/2-1'
----------------------------------------------------------------------------------------------

Far side * (the one redirecting the call with Dial(...) and setting Set(_SS7_REDIRECTING_NUMBER=5000)
----------------------------------------------------------------------------------------------
Len = 31 [ 89 89 1c 85 01 80 00 10 01 00 01 00 60 01 0a 00 02 07 05 83 10 05 00 0f 0a 04 04 10 11 11 00 ]
FSN: 9 FIB 1
BSN: 9 BIB 1
<[0] MSU
[ 89 89 1c ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 2 DPC 1 SLS 1
        [ 01 80 00 10 ]
                CIC: 1
                [ 01 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)
upps-ast2*CLI>          [ 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)
upps-ast2*CLI>          [ 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
upps-ast2*CLI>          Address signals: 5000#
                        [ 05 83 10 05 00 0f ]
                --OPTIONAL PARMS--
                Calling Party Number:
                        Nature of address: 4
                        NI: 0
                        Numbering plan: 1
                        Presentation: 0
                        Screening: 0
                        Address signals: 1111
                        [ 0a 04 04 10 11 11 ]

    -- Executing [5000 at incoming:1] Set("DAHDI/1-1", "_SS7_REDIRECTING_NUMBER=5000") in new stack
    -- Executing [5000 at incoming:2] Dial("DAHDI/1-1", "DAHDI/2/1010") in new stack
    -- Accepting call to '5000' on CIC 1
Len = 14 [ 89 8a 0b 85 02 40 00 10 01 00 06 40 14 00 ]
FSN: 10 FIB 1
BSN: 9 BIB 1
>[0] MSU
[ 89 8a 0b ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1 DPC 2 SLS 1
        [ 02 40 00 10 ]
                CIC: 1
                [ 01 00 ]
                Message Type: ACM
                [ 06 ]
                --FIXED LENGTH PARMS[1]--
                Backward Call Indicator:
                        Charge indicator: 0
                        Called party's status indicator: 0
                        Called party's category indicator: 0
                        End to End method indicator: 1
                        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: 0
                        SCCP method indicator: 0
                        [ 40 14 ]

Len = 3 [ 89 8a 00 ]
FSN: 10 FIB 1
BSN: 9 BIB 1
>[0] FISU

    -- Called 2/1010
Len = 32 [ 89 8b 1d 85 02 40 00 20 02 00 01 00 60 01 0a 00 02 07 05 83 10 01 01 0f 0a 05 04 10 00 11 11 00 ]
FSN: 11 FIB 1
BSN: 9 BIB 1
>[0] MSU
[ 89 8b 1d ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1 DPC 2 SLS 2
        [ 02 40 00 20 ]
                CIC: 2
                [ 02 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: 1010#
                        [ 05 83 10 01 01 0f ]
                --OPTIONAL PARMS--
                Calling Party Number:
                        Nature of address: 4
                        NI: 0
                        Numbering plan: 1
                        Presentation: 0
                        Screening: 0
                        Address signals: 001111
                        [ 0a 05 04 10 00 11 11 ]

Len = 14 [ 8b 8a 0b 85 01 80 00 20 02 00 06 40 14 00 ]
FSN: 10 FIB 1
BSN: 11 BIB 1
<[0] MSU
[ 8b 8a 0b ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
upps-astOPC 2 DPC 1 SLS 2
        [ 01 80 00 20 ]
                CIC: 2
                [ 02 00 ]
                Message Type: ACM
                [ 06 ]
                --FIXED LENGTH PARMS[1]--
                Backward Call Indicator:
                        Charge indicator: 0
                        Called party's status indicator: 0
                        Called party's category indicator: 0
                        End to End method indicator: 1
                        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: 0
                        SCCP method indicator: 0
upps-ast2*CLI>          [ 40 14 ]

    -- DAHDI/2-1 is proceeding passing it to DAHDI/1-1
Len = 13 [ 8b 8b 0a 85 01 80 00 20 02 00 2c 01 00 ]
FSN: 11 FIB 1
BSN: 11 BIB 1
<[0] MSU
[ 8b 8b 0a ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
upps-ast[ 85 ]
        OPC 2 DPC 1 SLS 2
        [ 01 80 00 20 ]
                CIC: 2
                [ 02 00 ]
                Message Type: CPG
upps-ast2*CLI>  [ 2c ]
                --FIXED LENGTH PARMS[1]--
                Event Information:
                        ALERTING
                        [ 01 ]

    -- DAHDI/2-1 is ringing
Len = 13 [ 8b 8c 0a 85 02 40 00 10 01 00 2c 01 00 ]
FSN: 12 FIB 1
BSN: 11 BIB 1
>[0] MSU
[ 8b 8c 0a ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1 DPC 2 SLS 1
upps-ast[ 02 40 00 10 ]
                CIC: 1
                [ 01 00 ]
                Message Type: CPG
                [ 2c ]
                --FIXED LENGTH PARMS[1]--
                Event Information:
                        ALERTING
                        [ 01 ]

Len = 16 [ 8c 8c 0d 85 01 80 00 10 01 00 0c 02 00 02 81 90 ]
FSN: 12 FIB 1
BSN: 12 BIB 1
<[0] MSU
[ 8c 8c 0d ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 2 DPC 1 SLS 1
        [ 01 80 00 10 ]
                CIC: 1
                [ 01 00 ]
                Message Type: REL
                [ 0c ]
                --VARIABLE LENGTH PARMS[1]--
                Cause Indicator:
                        Coding Standard: 0
                        Location: 1
                        Cause Class: 1
                        Cause Subclass: 0
                        Cause: Normal call clearing (16)
                        [ 02 81 90 ]

Len = 12 [ 8c 8d 09 85 02 40 00 10 01 00 10 00 ]
FSN: 13 FIB 1
BSN: 12 BIB 1
>[0] MSU
[ 8c 8d 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1 DPC 2 SLS 1
upps-ast[ 02 40 00 10 ]
                CIC: 1
                [ 01 00 ]
                Message Type: RLC
                [ 10 ]

    -- Hungup 'DAHDI/2-1'
Len = 16 [ 8c 8e 0d 85 02 40 00 20 02 00 0c 02 00 02 81 90 ]
FSN: 14 FIB 1
BSN: 12 BIB 1>
>[0] MSU
[ 8c 8e 0d ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
  == Spawn extension (incoming, 5000, 2) exited non-zero on 'DAHDI/1-1'
        OPC 1 DPC 2 SLS 2
        [ 02 40 00 20 ]
upps-ast2*CLI>  CIC: 2
                [ 02 00 ]
                Message Type: REL
                [ 0c ]
                --VARIABLE LENGTH PARMS[1]--
                Cause Indicator:
                        Coding Standard: 0
                        Location: 1
                        Cause Class: 1
                        Cause Subclass: 0
                        Cause: Normal call clearing (16)
                        [ 02 81 90 ]

    -- Hungup 'DAHDI/1-1'
Len = 12 [ 8e 8d 09 85 01 80 00 20 02 00 10 00 ]
FSN: 13 FIB 1
BSN: 14 BIB 1
<[0] MSU
[ 8e 8d 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 2 DPC 1 SLS 2
upps-ast[ 01 80 00 20 ]
                CIC: 2
                [ 02 00 ]
                Message Type: RLC
                [ 10 ]
-------------------------------------------------------------------------------------------------------------
/Rob





More information about the asterisk-ss7 mailing list