cc_SetCallingNum( ) sets the default calling party number
218
Name: int cc_SetCallingNum(linedev, callingnum)
Inputs: LINEDEV linedev line device handle
char *callingnum calling phone number string
Returns: 0 on success
< 0 on failure
Includes: cclib.h
Category: Optional call handling
Mode: synchronous
Technology: BRI/SC; PRI (all protocols)
!
! !
!
Description
The cc_SetCallingNum( ) function sets the default calling party number (caller
ID) associated with the specific channel (line device) handle. The calling party
number is contained in a NULL terminated ASCII string.
The calling party number may also be set in the cc_MakeCall( ) function. When
the calling party number is specified in the MAKECALL_BLK structure, then the
cc_MakeCall( ) function uses the number in the structure for the current call.
Subsequent calls return to the default calling party number set by the
cc_SetCallingNum( ) function when the MAKECALL_BLK structure is not used.
Parameter Description
linedev: The line device handle.
callingnum: The phone number of the calling party.
!
! !
!
Caution
This function is not supported for the BRI/2 board.
!
! !
!
Example
#include <windows.h> /* For Windows applications only */
#include <stdio.h>
#include <errno.h>
#include srllib.h
#include dtilib.h
#include cclib.h
void main()