[asterisk-ss7] Detailed SS7 Rel Cause Code in CDR / dialplan

Krzysztof Drewicz krzysztofdrewicz at gmail.com
Wed Jan 6 08:17:28 CST 2010


how to obtain as much info from libss7 as possible when getting REL from telco:

in debug i've got:
                Message Type: REL       [ 0c ]
Cause Indicator:
Coding Standard: 0
Location: 2
Cause Class: 0
Cause Subclass: 3
Cause: No route to destination (3)
[ 02 82 83 ]

but in dialplan:


but SS7_CAUSE is empy
    -- Executing [h at test-drew:1] NoOp("DAHDI/125-1", "TEST H") in new stack
    -- Executing [h at test-drew:2] NoOp("DAHDI/125-1", "CANCEL  CANCEL
16 ") in new stack
    -- Executing [h at test-drew:3] Set("DAHDI/125-1",
"CDR(userfield)=Hangupcause:16") in new stack
    -- Executing [h at test-drew:4] NoOp("DAHDI/125-1", "TEST H") in new stack

What i need is to log as much release codes (numeric) as possible with
dialled numers.

is this SS7_CAUSE varialble avalible to dialplan, for h context after hangup.

i use:

libss7 version: SVN-trunk-r272
Asterisk SVN-mattf-bug13495-r235655M-/trunk built by root @
alfa.localdomain on a i686 running Linux on 2009-12-28 18:34:22 UTC


More information about the asterisk-ss7 mailing list