com.avaya.jtapi.tsapi
Class UserToUserInfo

java.lang.Object
  extended bycom.avaya.jtapi.tsapi.ASN1
      extended bycom.avaya.jtapi.tsapi.ASNSequence
          extended bycom.avaya.jtapi.tsapi.LucentPrivateData
              extended bycom.avaya.jtapi.tsapi.UserToUserInfo
Direct Known Subclasses:
Q931UserToUserInfo

public class UserToUserInfo
extends com.avaya.jtapi.tsapi.LucentPrivateData

User-to-user information is an ISDN feature which allows end-to-end transmission of application data during call setup/teardown. This information may be a customer number, credit card number, alphanumeric digits, or a binary string. It is propagated with the call whether the call is made to a destination on the local switch or to a destination on a remote switch over PRI trunks. The switch sends the UUI in the ISDN SETUP message over the PRI trunk to establish the call. The local and the remote switch include the UUI in the alerting, connected, disconnected and route request events.

This information, when available, is obtained via the LucentCallInfo.getUserToUserInfo() method.

See Also:
LucentCallInfo, Q931UserToUserInfo

Constructor Summary
UserToUserInfo()
           
UserToUserInfo(byte[] _data)
          construct a UserToUserInfo object from a byte array
UserToUserInfo(byte[] _data, short _type)
           
UserToUserInfo(java.lang.String _data)
          construct a UserToUserInfo object from an ASCII string
 
Method Summary
static UserToUserInfo decode(java.io.InputStream in, com.avaya.jtapi.tsapi.TSProvider prov)
           
 byte[] getBytes()
          return user-to-user info as a (binary) byte array
 java.lang.String getString()
          return user-to-user info as an ASCII string
 boolean isAscii()
          query whether sender encoded UUI as ASCII or binary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserToUserInfo

public UserToUserInfo(java.lang.String _data)
construct a UserToUserInfo object from an ASCII string


UserToUserInfo

public UserToUserInfo(byte[] _data)
construct a UserToUserInfo object from a byte array


UserToUserInfo

public UserToUserInfo()

UserToUserInfo

public UserToUserInfo(byte[] _data,
                      short _type)
Method Detail

getString

public java.lang.String getString()
return user-to-user info as an ASCII string


getBytes

public byte[] getBytes()
return user-to-user info as a (binary) byte array


isAscii

public boolean isAscii()
query whether sender encoded UUI as ASCII or binary


decode

public static UserToUserInfo decode(java.io.InputStream in,
                                    com.avaya.jtapi.tsapi.TSProvider prov)


Copyright © 2005 Avaya All Rights Reserved.