|
CONFIDENTIAL | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CallBrandingTable
This interface is used to provide read-only, cached-access to the data in the call branding table on the
bridge.
  Each time Bridge.getCallBrandingTable() is called, BCAPI 1.6 will read the Call Branding
Table, and various other pieces of information, to build a cached image of the table.
  An application
can repeatedly call CallBrandingTable.getReservationGroupFromDNIS(String argDNIS) to convert real dnis strings into
the appropriate reservation group number without causing network traffic.
$nbsp There is also an iterator
which can return the read-only values in the Call Branding table
$nbsp The iterator returned from
CallBrandingTable will iterate through the entires in the call branding table and will return this interface to read
and present that information if necessary for the developer or end user application.
  The DNIS matching
algorythm is order dependent. An index of zero indicates the first entry in the table and higher order indexes
indicate subsequent entries. The matching algorythm on the bridge tests the first entry for a match followed by the
second, and so on until a matching entry is found.
  The DNIS matching string can contain wild cards
defined in the administration and maintenance manual. It is not always useful to present the DNIS strings for
specific reservation groups because the matching algorythm is order dependent.
| Method Summary | |
|---|---|
int |
getMatchingDigits()
Gets the number of matching digits used to compare with the Dnis-matching expressions in the table. |
int |
getReservationGroupFromDNIS(java.lang.String argDNIS)
|
java.lang.String |
getReservationGroupName(int argReservationGroup)
|
boolean |
isMatchingShort()
Is the bridge configured to match incoming DNIS entries that are shorter than the Dnis-matching-expressions in the table. |
java.util.Iterator |
iterator()
|
| Method Detail |
|---|
int getMatchingDigits()
int getReservationGroupFromDNIS(java.lang.String argDNIS)
throws BridgeException
argDNIS - The full DNIS string entered by user or an application to be converted into a reservation group
number for opening the correct rooms with reservation-group and conference-entry-code
BridgeException - if the conversion does not result in a valid match.boolean isMatchingShort()
true if the bridge configured to match incoming DNIS entries that are shorter than the
Dnis-matching-expressions in the table.java.util.Iterator iterator()
CallBrandingTableEntry
java.lang.String getReservationGroupName(int argReservationGroup)
throws BridgeException
argReservationGroup - The reservation group number
BridgeException - if the argReservationGroup does not map to a configured name.
|
CONFIDENTIAL | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||