How to obtain the terminationCause code in a DRQ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,
            I am hacking the gnugk code. I need to obtain the 
"terminationCause" code in an Disengage Request message. Here is how the 
message is formed:

disengageRequest {
    requestSeqNum = 14103
    endpointIdentifier =  9 characters {
      0037 0031 0035 0035 005f 0065 006e 0064   7155_end
      0070                                      p
    }
    conferenceID =  16 octets {
      e4 a5 bf b4 7c 5a d8 11  94 e4 00 e0 7d d9 f4 f6   ....|Z......}...
    }
    callReferenceValue = 27749
    disengageReason = normalDrop <<null>>
    callIdentifier = {
      guid =  16 octets {
        90 95 bf b4 7c 5a d8 11  94 e4 00 e0 7d d9 f4 f6   ....|Z......}...
      }
    }
    gatekeeperIdentifier =  10 characters {
      004f 0070 0065 006e 0048 0033 0032 0033   OpenH323
      0047 004b                                 GK
    }
    answeredCall = TRUE
    usageInformation = {
      nonStandardUsageFields = 0 entries {
      }
      connectTime = 1076448248
      endTime = 1076448271
    }
    terminationCause = releaseCompleteCauseIE  2 octets {
      80 90                                              ..
    }
  }

Take a look at the last field of the message. I was able to obtain the value 
"releaseCompleteCauseIE". But, I was not able to obtain the "8090" code. In 
order to obtain the "releaseCompleteCauseIE", I used the GetTagName() 
function. How can I obtain the 8090 code. I need it in order to know if the 
call ended because the called party was busy or if it was a normal drop.

thanks in advance,
                             Pablo Salinas




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux