[asterisk-ss7] Starting with SS7. Channel-Configuration

Tobias Wolf tobias.wolf at evision.de
Wed Oct 24 08:24:39 CDT 2007


Hi,

Matthew Fredrickson schrieb:
> Tobias Wolf wrote:
>> Hi,
>>
>> here is the proposed follow-up:
>>
>> We can now terminate calls over SS7 at our asterisk.
>>
>> The main reason for us to switch to SS7 was the availability to see the
>> callerid, even if the caller has supressed, so that we can correctly
>> bill our customers.
>>
>> But the normal asterisk variable ${CALLERID(number)} will not be filled
>> if it is suppressed ... Hmmm
>>
>> Is there another way to check the callerid and the flag wich indicated
>> that the callerid should not be shown to the callee ?
> 
> I'd like you to do one thing for me so that I can better see what is 
> wrong.  There have been a significant number of updates to libss7 since 
> the version you are running.  Can you update libss7 and reinstall it, 
> then update asterisk-trunk, and reinstall it, and then get me a trace of 
> the call?  The outputs should be a LOT clearer now, I have done a lot of 
> work on making the debug more useful.
> 

Here are my current version:

URL: http://svn.digium.com/svn/libss7/trunk
Basis des Projektarchivs: http://svn.digium.com/svn/libss7
UUID des Projektarchivs: 284bc105-fd19-0410-aa88-94cd1a20766c
Revision: 126
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: mattf
Letzte geÀnderte Rev: 126
Letztes Ãnderungsdatum: 2007-10-19 18:22:28 +0200 (Fr, 19 Okt 2007)

URL: http://svn.digium.com/svn/asterisk/trunk
Basis des Projektarchivs: http://svn.digium.com/svn/asterisk
UUID des Projektarchivs: 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Revision: 86874
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: russell
Letzte geÀnderte Rev: 86839
Letztes Ãnderungsdatum: 2007-10-22 23:37:58 +0200 (Mo, 22 Okt 2007)
Eigenschaften zuletzt geÀndert: 2007-10-23 19:30:26 +0200 (Di, 23 Okt 2007)

I have made another two calls (first with callerid and then without
callerid):

Here are snippets of debug output that has something to do with callerid
 (I will add complete output at the end of this mail):

With CallerID (snipped):
                Calling Party Number:
                        Nature of address: 4
                        NI: 0
                        Numbering plan: 1
                        Presentation: 0
                        Screening: 3
                        Address signals: 491738621698
                        [ 0a 08 04 13 94 71 83 26 61 89 ]

Without CallerID suppressed (snipped):
               Calling Party Number:
                        Nature of address: 0
                        NI: 0
                        Numbering plan: 0
                        Presentation: 2
                        Screening: 3
                        Address signals:
                        [ 0a 02 00 0b ]

So it seems, that the CallerID information isn't routet to the asterisk
and that i should deal with the guys who manage the Ericsson Axe Switch.
Is there anything i should tell them, what they have to configure? I
fear that they are not really experts and can only handle the GUI of
their switch :-S

Following the complete debug output of the two calls:

With CallerID:

Len = 63 [ 8b 8a 3c 85 06 1d 3f 07 07 00 01 00 21 01 0a 00 02 0b 09 84
90 53 48 75 93 05 00 00 37 01 02 0a 08 04 13 94 71 83 26 61 89 03 04 7d
02 91 81 1d 03 80 90 a3 31 02 00 00 39 04 37 c0 31 c0 00 ]
FSN: 10 FIB 1
BSN: 11 BIB 1
<[0] MSU
[ 8b 8a 3c ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 7420 DPC 7430 SLS 0
        [ 06 1d 3f 07 ]
                CIC: 7
                [ 07 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 Indicator:
                        Nat/Intl Call Ind: 1
                        End to End Method Ind: 0
                        Interworking Ind: 0
                        End to End Info Ind: 0
                        ISDN User Part Ind: 1
                        ISDN User Part Pref Ind: 0
                        ISDN Access Ind: 1
                        SCCP Method Ind: 0
                        [ 21 01 ]
                Calling Party Category:
                        Category: Ordinary calling subscriber (10)
                        [ 0a ]
                Transmission Medium Requirements:
                        Speech (0)
                        [ 00 ]
                --VARIABLE LENGTH PARMS[1]--
                Called Party Number:
                        Nature of address: 4
                        NI: 1
                        Numbering plan: 1
                        Address signals: 3584573950000
                        [ 09 84 90 53 48 75 93 05 00 00 ]
                --OPTIONAL PARMS--
                Unknown Parameter (0x37):
                        [ 02 ]
                Calling Party Number:
                        Nature of address: 4
                        NI: 0
                        Numbering plan: 1
                        Presentation: 0
                        Screening: 3
                        Address signals: 491738621698
                        [ 0a 08 04 13 94 71 83 26 61 89 ]
                Access Transport:
                        [ 03 04 7d 02 91 81 ]
                User Service Information:
                        [ 1d 03 80 90 a3 ]
                Propagation Delay:
                        [ 31 02 00 00 ]
                Unknown Parameter (0x39):
                        [ 37 c0 31 c0 ]

Unhandled optional parameter 0x37 'Unknown'
[0x2 ]
Unhandled optional parameter 0x3 'Access Transport'
[0x7d 0x2 0x91 0x81 ]
Unhandled optional parameter 0x31 'Propagation Delay'
[0x0 0x0 ]
Unhandled optional parameter 0x39 'Unknown'
[0x37 0xc0 0x31 0xc0 ]
    -- Accepting call to '3584573950000' on CIC 7
Len = 14 [ 8a 8c 0b 85 fc 9c 41 77 07 00 06 40 14 00 ]
FSN: 12 FIB 1
BSN: 10 BIB 1
>[0] MSU
[ 8a 8c 0b ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 7430 DPC 7420 SLS 7
        [ fc 9c 41 77 ]
                CIC: 7
                [ 07 00 ]
                Message Type: ACM
                [ 06 ]
                --FIXED LENGTH PARMS[1]--
                Backward Call Indicator:
                        [ 40 14 ]

    -- Executing [3584573950000 at default:1] NoOp("Zap/7-1", "Called from:
491738621698") in new stack
    -- Executing [3584573950000 at default:2] NoOp("Zap/7-1", "To:
3584573950000") in new stack
    -- Executing [3584573950000 at default:3] Answer("Zap/7-1", "") in new
stack
    -- Executing [3584573950000 at default:4] Wait("Zap/7-1", "1") in new stack
Len = 12 [ 8a 8d 09 85 fc 9c 41 77 07 00 09 00 ]
FSN: 13 FIB 1
BSN: 10 BIB 1
>[0] MSU
[ 8a 8d 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 7430 DPC 7420 SLS 7
        [ fc 9c 41 77 ]
                CIC: 7
                [ 07 00 ]
                Message Type: ANM
                [ 09 ]

    -- Executing [3584573950000 at default:5] Playback("Zap/7-1",
"tt-monkeys") in new stack
    -- <Zap/7-1> Playing 'tt-monkeys.gsm' (language 'en')
Len = 16 [ 8d 8b 0d 85 06 1d 3f 07 07 00 0c 02 00 02 80 90 ]
FSN: 11 FIB 1
BSN: 13 BIB 1
<[0] MSU
[ 8d 8b 0d ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 7420 DPC 7430 SLS 0
        [ 06 1d 3f 07 ]
                CIC: 7
                [ 07 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 [ 8b 8e 09 85 fc 9c 41 77 07 00 10 00 ]
FSN: 14 FIB 1
BSN: 11 BIB 1
>[0] MSU
[ 8b 8e 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 7430 DPC 7420 SLS 7
        [ fc 9c 41 77 ]
                CIC: 7
                [ 07 00 ]
                Message Type: RLC
                [ 10 ]

  == Spawn extension (default, 3584573950000, 5) exited non-zero on
'Zap/7-1'
    -- Hungup 'Zap/7-1'


Without Callerid:

Len = 57 [ 8e 8c 36 85 06 1d 3f 07 09 00 01 00 21 01 0a 00 02 0b 09 84
90 53 48 75 93 05 00 00 37 01 02 0a 02 00 0b 03 04 7d 02 91 81 1d 03 80
90 a3 31 02 00 00 39 04 37 c0 31 c0 00 ]
FSN: 12 FIB 1
BSN: 14 BIB 1
<[0] MSU
[ 8e 8c 36 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 7420 DPC 7430 SLS 0
        [ 06 1d 3f 07 ]
                CIC: 9
                [ 09 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 Indicator:
                        Nat/Intl Call Ind: 1
                        End to End Method Ind: 0
                        Interworking Ind: 0
                        End to End Info Ind: 0
                        ISDN User Part Ind: 1
                        ISDN User Part Pref Ind: 0
                        ISDN Access Ind: 1
                        SCCP Method Ind: 0
                        [ 21 01 ]
                Calling Party Category:
                        Category: Ordinary calling subscriber (10)
                        [ 0a ]
                Transmission Medium Requirements:
                        Speech (0)
                        [ 00 ]
                --VARIABLE LENGTH PARMS[1]--
                Called Party Number:
                        Nature of address: 4
                        NI: 1
                        Numbering plan: 1
                        Address signals: 3584573950000
                        [ 09 84 90 53 48 75 93 05 00 00 ]
                --OPTIONAL PARMS--
                Unknown Parameter (0x37):
                        [ 02 ]
                Calling Party Number:
                        Nature of address: 0
                        NI: 0
                        Numbering plan: 0
                        Presentation: 2
                        Screening: 3
                        Address signals:
                        [ 0a 02 00 0b ]
                Access Transport:
                        [ 03 04 7d 02 91 81 ]
                User Service Information:
                        [ 1d 03 80 90 a3 ]
                Propagation Delay:
                        [ 31 02 00 00 ]
                Unknown Parameter (0x39):
                        [ 37 c0 31 c0 ]

Unhandled optional parameter 0x37 'Unknown'
[0x2 ]
Unhandled optional parameter 0x3 'Access Transport'
[0x7d 0x2 0x91 0x81 ]
Unhandled optional parameter 0x31 'Propagation Delay'
[0x0 0x0 ]
Unhandled optional parameter 0x39 'Unknown'
[0x37 0xc0 0x31 0xc0 ]
    -- Accepting call to '3584573950000' on CIC 9
    -- Executing [3584573950000 at default:1] NoOp("Zap/9-1", "Called from:
") in new stack
    -- Executing [3584573950000 at default:2] NoOp("Zap/9-1", "To:
3584573950000") in new stack
    -- Executing [3584573950000 at default:3] Answer("Zap/9-1", "") in new
stack
    -- Executing [3584573950000 at default:4] Wait("Zap/9-1", "1") in new stack
Len = 14 [ 8c 8f 0b 85 fc 9c 41 97 09 00 06 40 14 00 ]
FSN: 15 FIB 1
BSN: 12 BIB 1
>[0] MSU
[ 8c 8f 0b ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 7430 DPC 7420 SLS 9
        [ fc 9c 41 97 ]
                CIC: 9
                [ 09 00 ]
                Message Type: ACM
                [ 06 ]
                --FIXED LENGTH PARMS[1]--
                Backward Call Indicator:
                        [ 40 14 ]

Len = 12 [ 8c 90 09 85 fc 9c 41 97 09 00 09 00 ]
FSN: 16 FIB 1
BSN: 12 BIB 1
>[0] MSU
[ 8c 90 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 7430 DPC 7420 SLS 9
        [ fc 9c 41 97 ]
                CIC: 9
                [ 09 00 ]
                Message Type: ANM
                [ 09 ]

    -- Executing [3584573950000 at default:5] Playback("Zap/9-1",
"tt-monkeys") in new stack
    -- <Zap/9-1> Playing 'tt-monkeys.gsm' (language 'en')
Len = 16 [ 90 8d 0d 85 06 1d 3f 07 09 00 0c 02 00 02 80 90 ]
FSN: 13 FIB 1
BSN: 16 BIB 1
<[0] MSU
[ 90 8d 0d ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 7420 DPC 7430 SLS 0
        [ 06 1d 3f 07 ]
                CIC: 9
                [ 09 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 [ 8d 91 09 85 fc 9c 41 97 09 00 10 00 ]
FSN: 17 FIB 1
BSN: 13 BIB 1
>[0] MSU
[ 8d 91 09 ]
        Network Indicator: 2 Priority: 0 User Part: ISUP (5)
        [ 85 ]
        OPC 7430 DPC 7420 SLS 9
        [ fc 9c 41 97 ]
                CIC: 9
                [ 09 00 ]
                Message Type: RLC
                [ 10 ]

  == Spawn extension (default, 3584573950000, 5) exited non-zero on
'Zap/9-1'
    -- Hungup 'Zap/9-1'


Regards,
-- 

  Tobias Wolf

  Leiter Softwareentwicklung / Kommunikationslösungen

  Evision GmbH



  Wittekindstr. 105

  44139 Dortmund

  Tel: +49 (0)231 - 47790 307

  Fax: +49 (0)231 - 47790 500

  http://www.evision.de



This electronic mail transmission and any accompanying attachments
contain confidential information intended only for the use of the
individual or entity named above. Any dissemination, distribution,
copying or action taken in reliance on the contents of this
communication by anyone other than the intended recipient is strictly
prohibited. If you have received this communication in error
please immediately delete the E-mail and notify the sender at the
above E-mail address. Thank you.
Hövener & Trapp Evision GmbH, Dortmund - HRB Nr.12477, Registergericht
Dortmund - Geschäftsführer Christoph Begall




More information about the asterisk-ss7 mailing list