CA_Create_Profile()

Purpose

Creates an application profile.

Libraries

Blueworx Voice Response library (libvae.a)

Custom Server library (libca.a)

Syntax

#include "CA_header.h"
#include "CA_access_db.h"
int CA_Create_Profile (
 PROFILE_INFO_ST  *profile_info_sp
);

Description

This subroutine adds an application profile definition to the Blueworx Voice Response database. The data needed to create the application profile is passed in the PROFILE_INFO_ST input structure. You can use CA_Set_Profile_Defaults() to set default values.

Parameters

profile_info_sp
A pointer to a PROFILE_INFO_ST input structure that is filled in as described in PROFILE_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_CHECK_LANG_FAILED
CA_CHECK_STATE_TABLE_FAILED
CA_CHECK_SUBCLASS_FAILED
CA_DUPLICATE_PROFILE_KEY
CA_GET_DIGIT_NAME_FAILED
CA_INV_ACCESS_MODE
CA_INV_ADDR
CA_INV_ENTRY_LABEL
CA_INV_MAILBOX_STATUS
CA_INV_PASSWORD
CA_INV_PROFILE_ID
CA_INV_PROFILE_NAME
CA_INV_PROMPT_LEVEL
CA_INV_REFERRAL_NUMBER
CA_INV_REFERRAL_TYPE
CA_INV_REQUEST
CA_INV_RETRIEVAL_ORDER
CA_INV_SUBCLASS
CA_INV_STATE_TABLE_NAME
CA_INV_TAKE_MSG_FLAG
CA_INV_USER_STATUS
CA_LANG_NOT_FOUND
CA_LANG_NOT_IN_USE
CA_NO_MSG_RECV
CA_NOT_INIT
CA_REQ_FAILED
CA_STATE_TABLE_NOT_FOUND
CA_SUBCLASS_NOT_FOUND
CA_SUBCLASS_FILE_LOCKED
CA_TERMINATING
CA_UPDATE_XREFS_FAILED

Related information

CA_Delete_Profile(), CA_Get_Profile(), CA_Get_Profile_Count(), CA_Get_Profile_List(), CA_Set_Profile_Defaults(), CA_Update_Profile(), the Blueworx Voice Response for AIX: Designing and Managing State Table Applications information.