CA_Delete_Voice_Msg()

Purpose

Deletes 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_Delete_Voice_Msg (
 DELETE_VOICE_MSG_PARM_ST  *delete_voice_msg_parm_sp
);

Description

This subroutine deletes a voice message based on the information in the DELETE_VOICE_MSG_PARM_ST input structure.

Parameters

delete_voice_msg_parm_sp
A pointer to a DELETE_VOICE_MSG_PARM_ST input structure that is filled in as described in DELETE_VOICE_MSG_PARM_ST.

Return codes

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

Error names

CA_ACCESS_NOBUFS
CA_INV_ADDR
CA_INV_MAILBOX_ID
CA_INV_PROFILE_ID
CA_INV_REQUEST
CA_NO_MSG_RECV
CA_NOT_INIT
CA_OM_REQ_FAILED
CA_REQ_FAILED
CA_TERMINATING
CA_VOICE_MSG_NOT_FOUND

Related information

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