CA_Send_Voice_Msg()

Purpose

Sends 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_Send_Voice_Msg (
 SEND_VOICE_MSG_PARM_ST  *send_voice_msg_parm_sp
);

Description

This subroutine sends a previously created voice message to the specified application profile id and mailbox. Before calling this routine, you can use CA_Set_Send_Voice_Msg_Defaults() routine to set the default values for the SEND_VOICE_MSG_PARM_ST structure.

Parameters

send_voice_msg_parm_sp
A pointer to a SEND_VOICE_MSG_PARM_ST input structure that is 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_ACCESS_NOBUFS
CA_APPL_NOT_FOUND
CA_DUPLICATE_MESSAGE
CA_INV_ACKNOWLEDGE
CA_INV_ADDR
CA_INV_MAILBOX_ID
CA_INV_PROFILE_ID
CA_INV_REQUEST
CA_INV_SECURITY
CA_INV_TRANSACTION_ID
CA_INV_URGENCY
CA_NO_MSG_RECV
CA_NOT_INIT
CA_PROFILE_NOT_FOUND
CA_REQ_FAILED
CA_TERMINATING
CA_VOICE_MSG_NOT_FOUND

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_Set_Send_Voice_Msg_Defaults().