Extracting original redirect reason on an ISDN call

Version 1
    This document was generated from CDN thread

    Created by: LARIS BENKIS on 05-10-2011 08:22:05 AM
    For an ISDN call with two redirects (below) the 81 and 82 correspond to the redirect reasons 81=busy 82=no-reply.  The gateway maps the second reason to the redirect reason (2) which can be extracted using "object get gtd gtd_iam rni.1.orr".  Is it possible the extract the first reason (ie code 1) ?
     
           
    Calling Party Number i = 0x2183, '1234444554'

           
            Plan:ISDN, Type:National

           
    Called Party Number i = 0xA1, '1234440003'

           
            Plan:ISDN, Type:National

           
    Redirecting Number i = '!', 0x0381, '1234443073'

           
            Plan:ISDN, Type:National

           
    Redirecting Number i = '!', 0x0382, '1234443071'

           
            Plan:ISDN, Type:National

    Oct  4 16:33:03.607: ISDN
    Se3/1:23 Q931: Received SETUP  callref = 0x8072 callID = 0x0032 switch
    = primary-ni interface = User

    Oct  4 16:33:03.607: ISDN
    Se3/1:23 CC: CCPRI_Go: source id 0x300, call id 0x32, event 0x341 (pre-ccb
    recovery)

    Oct  4 16:33:03.607: ISDN
    Se3/1:23 CC: CCPRI_Go: L3_event 0090

    Oct  4 16:33:03.607: ISDN
    Se3/1:23 CC: CCPRI_Go: call id 0x1 cref 0x32 event 0x8072 Source->L3

    Oct  4 16:33:03.607: ISDN
    Se3/1:23 CC: CCPCC_CallIdle: event 0x90 b channel 0 nfas int_id 0 call_id
    0x32

    Oct  4 16:33:03.607: ISDN
    Se3/1:23 CC: CCPRI_AcceptChanId: Negotiated int_id 0 bchan 0 cref 0x8072
    call_id 0x0032 lo_chan 14 final int_id/bchan 0/14 cause 0

    Oct  4 16:33:03.607: ISDN
    Se3/1:23 Q931: extract_redirect_orig_called_ie: IE
    type redirecting num 1234443071 reason 2 cnt -1 plan 1 type 2 pres 0
     
    Thanks
     
    Laris

    Subject: RE: Extracting original redirect reason on an ISDN call
    Replied by: Anusha Kannappan on 05-10-2011 10:05:40 AM
    Hi Laris,

    Try using "object get gtd gtd_iam rni.-1.orr" which will retrieve the value of all instances of an attribute¿s field.

    Thanks,
    Anusha