TenantFindContacts Method
Provides array of
PhoneBookEntry matching specified caller id in company phonebook
Use
FindContacts(String, UInt32) to search in personal phone book.
best match priority is:
1. all with exact match
otherwise
2. ended with specified number
otherwise
3. longest possible match of the tail which is not less then min_len
otherwise - empty array
Namespace: TCX.ConfigurationAssembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
PhoneBookEntry[] FindContacts(
string number,
uint min_len = 4294967295
)
- number String
- the number to lookup
- min_len UInt32 (Optional)
- minimum length of matching.
PhoneBookEntryArray contains entries which are providing longest possible match, but not less then specified
min_len can be specified as:
>length of number - only exact match (default)
==length of number or 0 - exact match or ends with the number
<length of number - exact match or ends with or longest matching tail >= min_len