CA_Set_Send_Voice_Msg_Defaults()

Purpose

Sets defaults for sending a voice message.

Libraries

Blueworx Voice Response library (libvae.a)

Custom Server library (libca.a)

Syntax

#include "CA_header.h"
#include "CA_access_db.h"
int CA_Set_Send_Voice_Msg_Defaults (
 SEND_VOICE_MSG_PARM_ST  *send_voice_msg_parm_sp
);

Description

This subroutine sets the defaults for sending voice messages. It can be called prior to calling CA_Send_Voice_Msg() to set default values for the SEND_VOICE_MSG_PARM_ST output structure, described in SEND_VOICE_MSG_PARM_ST.

CA_Set_Send_Voice_Msg_Defaults() sets its buffer to zero and then sets the following elements of the structure:

security = SECURITY_PUBLIC;
urgency = URGENCY_NORMAL;
acknowledge = ACK_NOT_REQUESTED;

Parameters

send_voice_msg_parm_sp
A pointer to a SEND_VOICE_MSG_PARM_ST output structure that will be filled in as described in SEND_VOICE_MSG_PARM_ST.

Return codes

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

Error names

CA_INV_ADDR
CA_NOT_INIT
CA_TERMINATING

Related information

CA_Create_Voice_Msg(), CA_Create_Voice_Msg_Id(), CA_Delete_Voice_Msg(), CA_Get_Voice_Msg(), CA_Get_Voice_Msg_Info(), CA_Save_Voice_Msg(), CA_Send_Voice_Msg().