cc_GetCallInfo( ) gets the information elements associated with the CRN
92
reason = cc_CauseValue(handle);
cc_ResultMsg(handle,reason,&msg);
printf("reason = %x - %s\n",reason,msg);
}
!
! !
!
Errors
If the function returns < 0 to indicate failure, use the cc_CauseValue( ) function
to retrieve the reason code for the failure. The cc_ResultMsg( ) function can be
used to interpret the reason code. Error codes are defined in the files ccerr.h,
isdnerr.h, and isdncmd.h.
Error codes from the cc_GetCallInfo( ) function include the following:
Error Code Description
ERR_ISDN_LIB | E_ISBADCRN Bad call reference number
ERR_ISDN_LIB | E_ISBADPAR Bad input parameter
ERR_ISDN_LIB | E_ISNOINFOBUF Information buffer not ready
ERR_ISDN_LIB | E_ISNOFACILITYBUF Network Facility buffer not
ready
!
! !
!
See Also
None