[asterisk-ss7] MSC NUMBER INSTEAD OF CALLER ID

RESEARCH research at businesstz.com
Mon Feb 22 11:59:48 CST 2010


Hi there 

I have ;
asterisk-1.6.1.9  
asterisk-addons-1.6.1.1       
dahdi-linux-2.2.0.2 
dahdi-tools-2.2.0  
libss7-1.0.2
libpri-1.4.10.2  
Kernel 2.6.18-164.6.1.el5

Im receiving calls from different operators via ss7 E1 links but something
fun have been picked up. Out of 4 operators, we are experiencing a strange
behavior on callerid for which in most cases the caller id presented to
asterisk is the MSC Number (774999992) instead of the subscriber caller id. 

Here is the trace of one of the operator

**********
Len = 45 [ af ad 2a 85 1e 45 40 1a 02 00 01 10 a0 01 0a 00 02 06 04 03 90 11
f2 0a 07 83 13 77 94 99 99 02 1d 03 80 90 a3 3f 05 84 97 52 25 02 00 ]
FSN: 45 FIB 1
BSN: 47 BIB 1
<[0] MSU
[ af ad 2a ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 10497 DPC 1310 SLS 1
        [ 1e 45 40 1a ]
                CIC: 2
                [ 02 00 ]
                Message Type: IAM
voicesw4*CLI>   [ 01 ]
                --FIXED LENGTH PARMS[4]--
voicesw4*CLI>   Nature of Connection Indicator:
                        Satellites in connection: 0
                        Continuity Check: Check not required (0)
                        Outgoing half echo control device: included (1)
                        [ 10 ]
                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 requried all
the way (2)
                        ISDN Access Ind: originating access ISDN (1)
                        SCCP Method Ind: no indication (0)
                        [ a0 01 ]
                Calling Party's Category:
                        Category: Ordinary calling subscriber (10)
                        [ 0a ]
                Transmission Medium Requirements:
                        Speech (0)
                        [ 00 ]
voicesw4*CLI>   --VARIABLE LENGTH PARMS[1]--
                Called Party Number:
                        Nature of address: 3
                        NI: 1
                        Numbering plan: 1
                        Address signals: 112#
                        [ 04 03 90 11 f2 ]
voicesw4*CLI>   --OPTIONAL PARMS--
                Calling Party Number:
                        Nature of address: 3
                        NI: 0
                        Numbering plan: 1
                        Presentation: 0
                        Screening: 3
                        Address signals: 774999992
                        [ 0a 07 83 13 77 94 99 99 02 ]
                User Service Information:
                        [ 1d 03 80 90 a3 ]
                Location Number:
                        [ 3f 05 84 97 52 25 02 ]

Unhandled optional parameter 0x3f 'Location Number'
[0x84 0x97 0x52 0x25 0x2 ]
Len = 14 [ ad b0 0b 85 01 a9 47 11 02 00 06 40 14 00 ]
FSN: 48 FIB 1
BSN: 45 BIB 1
>[0] MSU*CLI>
[ ad b0 0b ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1310 DPC 10497 SLS 1
        [ 01 a9 47 11 ]
                CIC: 2
                [ 02 00 ]
                Message Type: ACM
                [ 06 ]
                --FIXED LENGTH PARMS[1]--
voicesw4*CLI>   Backward Call Indicator:
                        Charge indicator: 0
                        Called party's status indicator: 0
voicesw4*CLI>           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
voicesw4*CLI>           [ 40 14 ]

Len = 12 [ ad b1 09 85 01 a9 47 11 02 00 09 00 ]
FSN: 49 FIB 1
BSN: 45 BIB 1
>[0] MSU
[ ad b1 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1310 DPC 10497 SLS 1
        [ 01 a9 47 11 ]
                CIC: 2
                [ 02 00 ]
voicesw4*CLI>   Message Type: ANM
                [ 09 ]
voicesw4*CLI>
Len = 16 [ b1 ae 0d 85 1e 45 40 1a 02 00 0c 02 00 02 82 90 ]
FSN: 46 FIB 1
BSN: 49 BIB 1
<[0] MSU
[ b1 ae 0d ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 10497 DPC 1310 SLS 1
        [ 1e 45 40 1a ]
                CIC: 2
                [ 02 00 ]
voicesw4*CLI>   Message Type: REL
                [ 0c ]
voicesw4*CLI>   --VARIABLE LENGTH PARMS[1]--
                Cause Indicator:
                        Coding Standard: 0
                        Location: 2
                        Cause Class: 1
voicesw4*CLI>           Cause Subclass: 0
voicesw4*CLI>           Cause: Normal call clearing (16)
                        [ 02 82 90 ]

Len = 12 [ ae b2 09 85 01 a9 47 11 02 00 10 00 ]
FSN: 50 FIB 1
BSN: 46 BIB 1
>[0] MSU
[ ae b2 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1310 DPC 10497 SLS 1
        [ 01 a9 47 11 ]
                CIC: 2
                [ 02 00 ]
                Message Type: RLC
                [ 10 ]

Len = 45 [ b2 af 2a 85 1e 45 40 1a 02 00 01 10 a0 01 0a 00 02 06 04 03 90 11
f2 0a 07 83 13 77 94 99 99 02 1d 03 80 90 a3 3f 05 84 97 52 25 02 00 ]
FSN: 47 FIB 1
BSN: 50 BIB 1
<[0] MSU*CLI>
[ b2 af 2a ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 10497 DPC 1310 SLS 1
        [ 1e 45 40 1a ]
                CIC: 2
voicesw4*CLI>   [ 02 00 ]
                Message Type: IAM
voicesw4*CLI>   [ 01 ]
voicesw4*CLI>   --FIXED LENGTH PARMS[4]--
                Nature of Connection Indicator:
voicesw4*CLI>           Satellites in connection: 0
                        Continuity Check: Check not required (0)
                        Outgoing half echo control device: included (1)
voicesw4*CLI>           [ 10 ]
                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 requried all
the way (2)
                        ISDN Access Ind: originating access ISDN (1)
                        SCCP Method Ind: no indication (0)
                        [ a0 01 ]
                Calling Party's Category:
                        Category: Ordinary calling subscriber (10)
                        [ 0a ]
                Transmission Medium Requirements:
voicesw4*CLI>           Speech (0)
                        [ 00 ]
                --VARIABLE LENGTH PARMS[1]--
voicesw4*CLI>   Called Party Number:
                        Nature of address: 3
voicesw4*CLI>           NI: 1
                        Numbering plan: 1
                        Address signals: 112#
voicesw4*CLI>           [ 04 03 90 11 f2 ]
                --OPTIONAL PARMS--
                Calling Party Number:
voicesw4*CLI>           Nature of address: 3
                        NI: 0
voicesw4*CLI>           Numbering plan: 1
                        Presentation: 0
                        Screening: 3
voicesw4*CLI>           Address signals: 774999992
voicesw4*CLI>           [ 0a 07 83 13 77 94 99 99 02 ]
                User Service Information:
voicesw4*CLI>           [ 1d 03 80 90 a3 ]
                Location Number:
voicesw4*CLI>           [ 3f 05 84 97 52 25 02 ]

Unhandled optional parameter 0x3f 'Location Number'
[0x84 0x97 0x52 0x25 0x2 ]
Len = 14 [ af b3 0b 85 01 a9 47 11 02 00 06 40 14 00 ]
FSN: 51 FIB 1
BSN: 47 BIB 1
>[0] MSU
[ af b3 0b ]>
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
voicesw4[ 85 ]
        OPC 1310 DPC 10497 SLS 1
        [ 01 a9 47 11 ]
                CIC: 2
voicesw4*CLI>   [ 02 00 ]
                Message Type: ACM
                [ 06 ]
voicesw4*CLI>   --FIXED LENGTH PARMS[1]--
                Backward Call Indicator:
                        Charge indicator: 0
voicesw4*CLI>           Called party's status indicator: 0
                        Called party's category indicator: 0
                        End to End method indicator: 1
voicesw4*CLI>           Interworking indicator: 0
                        End to End information indicator: 0
voicesw4*CLI>           ISDN user part indicator: 1
voicesw4*CLI>           Holding indicator: 0
                        ISDN access indicator: 1
                        Echo control device indicator: 0
voicesw4*CLI>           SCCP method indicator: 0
                        [ 40 14 ]

Len = 12 [ af b4 09 85 01 a9 47 11 02 00 09 00 ]
FSN: 52 FIB 1
BSN: 47 BIB 1
>[0] MSU
[ af b4 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
voicesw4OPC 1310 DPC 10497 SLS 1
        [ 01 a9 47 11 ]
                CIC: 2
voicesw4*CLI>   [ 02 00 ]
                Message Type: ANM
                [ 09 ]

Len = 16 [ b4 b0 0d 85 1e 45 40 1a 02 00 0c 02 00 02 82 90 ]
FSN: 48 FIB 1
BSN: 52 BIB 1
<[0] MSU
[ b4 b0 0d ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 10497 DPC 1310 SLS 1
        [ 1e 45 40 1a ]
                CIC: 2
voicesw4*CLI>   [ 02 00 ]
                Message Type: REL
                [ 0c ]
                --VARIABLE LENGTH PARMS[1]--
                Cause Indicator:
                        Coding Standard: 0
voicesw4*CLI>           Location: 2
                        Cause Class: 1
                        Cause Subclass: 0
                        Cause: Normal call clearing (16)
                        [ 02 82 90 ]

Len = 12 [ b0 b5 09 85 01 a9 47 11 02 00 10 00 ]
FSN: 53 FIB 1
BSN: 48 BIB 1
>[0] MSU*CLI>
[ b0 b5 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1310 DPC 10497 SLS 1
        [ 01 a9 47 11 ]
                CIC: 2
                [ 02 00 ]
                Message Type: RLC
voicesw4*CLI>   [ 10 ]

Len = 45 [ b5 b1 2a 85 1e 45 40 2a 04 00 01 10 a0 01 0a 00 02 06 04 03 90 11
f2 0a 07 83 13 77 94 99 99 02 1d 03 80 90 a3 3f 05 84 97 52 25 02 00 ]
FSN: 49 FIB 1
BSN: 53 BIB 1
<[0] MSU
[ b5 b1 2a ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 10497 DPC 1310 SLS 2
        [ 1e 45 40 2a ]
                CIC: 4
voicesw4*CLI>   [ 04 00 ]
                Message Type: IAM
                [ 01 ]
                --FIXED LENGTH PARMS[4]--
                Nature of Connection Indicator:
voicesw4*CLI>           Satellites in connection: 0
                        Continuity Check: Check not required (0)
                        Outgoing half echo control device: included (1)
                        [ 10 ]
                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)
voicesw4*CLI>           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 requried all
the way (2)
                        ISDN Access Ind: originating access ISDN (1)
                        SCCP Method Ind: no indication (0)
                        [ a0 01 ]
voicesw4*CLI>   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
voicesw4*CLI>           NI: 1
                        Numbering plan: 1
                        Address signals: 112#
                        [ 04 03 90 11 f2 ]
                --OPTIONAL PARMS--
voicesw4*CLI>   Calling Party Number:
                        Nature of address: 3
                        NI: 0
                        Numbering plan: 1
                        Presentation: 0
                        Screening: 3
voicesw4*CLI>           Address signals: 774999992
                        [ 0a 07 83 13 77 94 99 99 02 ]
                User Service Information:
                        [ 1d 03 80 90 a3 ]
                Location Number:
voicesw4*CLI>           [ 3f 05 84 97 52 25 02 ]

Unhandled optional parameter 0x3f 'Location Number'
[0x84 0x97 0x52 0x25 0x2 ]
Len = 14 [ b1 b6 0b 85 01 a9 47 21 04 00 06 40 14 00 ]
FSN: 54 FIB 1
BSN: 49 BIB 1
>[0] MSU
[ b1 b6 0b ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1310 DPC 10497 SLS 2
voicesw4[ 01 a9 47 21 ]
                CIC: 4
                [ 04 00 ]
                Message Type: ACM
                [ 06 ]
voicesw4*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
voicesw4*CLI>           ISDN user part indicator: 1
                        Holding indicator: 0
                        ISDN access indicator: 1
voicesw4*CLI>           Echo control device indicator: 0
                        SCCP method indicator: 0
                        [ 40 14 ]

Len = 12 [ b1 b7 09 85 01 a9 47 21 04 00 09 00 ]
FSN: 55 FIB 1
BSN: 49 BIB 1
>[0] MSU
[ b1 b7 09 ]>
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1310 DPC 10497 SLS 2
        [ 01 a9 47 21 ]
voicesw4*CLI>   CIC: 4
                [ 04 00 ]
                Message Type: ANM
                [ 09 ]

Len = 45 [ b7 b2 2a 85 1e 45 40 2a 05 00 01 10 a0 01 0a 00 02 06 04 03 90 11
f2 0a 07 83 13 77 94 99 99 02 1d 03 80 90 a3 3f 05 84 97 52 25 02 00 ]
FSN: 50 FIB 1
BSN: 55 BIB 1
<[0] MSU
[ b7 b2 2a ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
voicesw4[ 85 ]
voicesw4OPC 10497 DPC 1310 SLS 2
        [ 1e 45 40 2a ]
                CIC: 5
                [ 05 00 ]
                Message Type: IAM
                [ 01 ]
                --FIXED LENGTH PARMS[4]--
                Nature of Connection Indicator:
voicesw4*CLI>           Satellites in connection: 0
                        Continuity Check: Check not required (0)
                        Outgoing half echo control device: included (1)
                        [ 10 ]
                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)
voicesw4*CLI>           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 requried all
the way (2)
                        ISDN Access Ind: originating access ISDN (1)
                        SCCP Method Ind: no indication (0)
                        [ a0 01 ]
                Calling Party's Category:
                        Category: Ordinary calling subscriber (10)
                        [ 0a ]
                Transmission Medium Requirements:
                        Speech (0)
                        [ 00 ]
voicesw4*CLI>   --VARIABLE LENGTH PARMS[1]--
                Called Party Number:
                        Nature of address: 3
                        NI: 1
                        Numbering plan: 1
voicesw4*CLI>           Address signals: 112#
                        [ 04 03 90 11 f2 ]
                --OPTIONAL PARMS--
                Calling Party Number:
                        Nature of address: 3
                        NI: 0
                        Numbering plan: 1
                        Presentation: 0
voicesw4*CLI>           Screening: 3
                        Address signals: 774999992
voicesw4*CLI>           [ 0a 07 83 13 77 94 99 99 02 ]
                User Service Information:
                        [ 1d 03 80 90 a3 ]
                Location Number:
                        [ 3f 05 84 97 52 25 02 ]

Unhandled optional parameter 0x3f 'Location Number'
[0x84 0x97 0x52 0x25 0x2 ]
Len = 14 [ b2 b8 0b 85 01 a9 47 21 05 00 06 40 14 00 ]
FSN: 56 FIB 1
BSN: 50 BIB 1
>[0] MSU*CLI>
[ b2 b8 0b ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 1310 DPC 10497 SLS 2
        [ 01 a9 47 21 ]
voicesw4*CLI>   CIC: 5
                [ 05 00 ]
                Message Type: ACM
                [ 06 ]
                --FIXED LENGTH PARMS[1]--
voicesw4*CLI>   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 ]
voicesw4*CLI>
Len = 12 [ b2 b9 09 85 01 a9 47 21 05 00 09 00 ]
FSN: 57 FIB 1
BSN: 50 BIB 1
>[0] MSU
[ b2 b9 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
voicesw4OPC 1310 DPC 10497 SLS 2
        [ 01 a9 47 21 ]
                CIC: 5
                [ 05 00 ]
                Message Type: ANM
                [ 09 ]

**********

Please advice..

Sam 




More information about the asterisk-ss7 mailing list