CA_Get_Greeting_Info()

Purpose

Retrieves greeting voice data information.

Libraries

Blueworx Voice Response library (libvae.a)

Custom Server library (libca.a)

Syntax

#include "CA_header.h"
#include "CA_access_db.h"
int CA_Get_Greeting_Info (
 GREETING_PARM_ST  *greeting_parm_sp,
 GREETING_INFO_ST  *greeting_info_sp
);

Description

This subroutine calculates the total number of voice elements required to hold the greeting. The length of a voice element is:

Parameters

greeting_parm_sp
A pointer to an input GREETING_PARM_ST structure that is filled in as described in GREETING_PARM_ST.
greeting_info_sp
A pointer to an output GREETING_INFO_ST structure that will be filled in as described in GREETING_INFO_ST.

Return codes

0
Successful
-1
Unsuccessful (global error number CA_errno is set to indicate the error)

Error names

CA_ACCESS_NOBUFS
CA_GREETING_NOT_FOUND
CA_INV_ADDR
CA_INV_COMPRESSION_TYPE
CA_INV_PROFILE_ID
CA_INV_REQUEST
CA_NO_MSG_RECV
CA_NOT_INIT
CA_OM_REQ_FAILED
CA_REQ_FAILED
CA_TERMINATING

Related information

CA_Create_Greeting(), CA_Delete_Greeting(), CA_Get_Greeting().