com.avaya.jtapi.tsapi
Class UserToUserInfo

java.lang.Object
  extended by com.avaya.jtapi.tsapi.UserToUserInfo
Direct Known Subclasses:
Q931UserToUserInfo

public class UserToUserInfo
extends java.lang.Object

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

Field Summary
protected  byte[] data
           
protected  short type
           
 
Constructor Summary
UserToUserInfo(byte[] _data)
          construct a UserToUserInfo object from a byte array
UserToUserInfo(java.lang.String _data)
          construct a UserToUserInfo object from an ASCII string
 
Method Summary
 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
 

Field Detail

type

protected short type

data

protected byte[] data
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

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



Copyright © 2006 Avaya All Rights Reserved.