[asterisk-ss7] Detailed SS7 Rel Cause Code in CDR / dialplan
Attila Domjan
adomjan at tvnet.hu
Thu Jan 7 02:54:15 CST 2010
Hi,
the ${HANGUPCAUSE} works fine in my box, however I don't use h
extension....
Attila
On Wed, 2010-01-06 at 15:17 +0100, Krzysztof Drewicz wrote:
> Hi,
>
> how to obtain as much info from libss7 as possible when getting REL from telco:
>
> in debug i've got:
> Message Type: REL [ 0c ]
> --VARIABLE LENGTH PARMS[1]--
> 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:
>
> exten => h,n,Noop(${DIALSTATUS} ${CAUSECODE} ${DIALSTATUS} ${REASON}
> ${HANGUPCAUSE} ${SS7_CAUSE})
>
> 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
>
> Regards,
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-ss7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-ss7/attachments/20100107/5881088a/attachment.pgp
More information about the asterisk-ss7
mailing list