Справочник Пользователя для Dialogic 05-0867-005

Скачать
Страница из 476
collects more digits via overlap receiving
cc_GetMoreDigits( )
127
 Name:
 int  cc_GetMoreDigits(crn, numofdigs, timeout, mode)
 Inputs:
 CRN  crn
• 
call reference number
   int  numofdigs
• 
number of digits to be collected
   long  timeout
• 
timeout value in seconds
   unsigned long mode
• 
asynchronous or synchronous
 Returns:
 0 on success
< 0 on failure
 Includes:
 cclib.h
 Category:
 Call  control
 Mode:
 asynchronous or synchronous
 Technology:
 PRI (excluding DPNSS)
 
 
Description
The cc_GetMoreDigits( ) function collects more digits via overlap receiving.
After an incoming call is received, the application examines the completeness of
the destination address. If more digits are needed, the application calls the
cc_GetMoreDigits( ) function with the number of additional digits to be
collected. The function is returned when all requested digits are collected.
The collected digits can be retrieved by calling the cc_GetDNIS( ) function.
When enough digits have been collected, the application must use the
cc_CallAck( ) function to acknowledge the setup message.