IVR Software Manual ivr_play_music
  CALL CENTER SYSTEMS AND SOFTWARE RESOURCE CENTER
call centers

IVR Software Library
ivr_play_music

IVR Software API Manual

ivr software manual functions Database Systems Corp. (DSC) provides an API subroutine library of IVR Software routines that perform phone functions The following is a description of one of the functions within this library that controls the IVR operation - ivr_play_music.

The routine is from our C programming library, although this same routine has an equivalent for Visual Basic, .NET, C++ and Active-X. DSC provides a separate user guide for each of these languages.

Contact DSC to obtain the most current IVR manuals in your required programming language.



ivr_play_music()

int ivr_play_music(int call, int music_source)

The ivr_play_music function plays music to the specified call.

Parameters

int

call

Specifies which call to play music to.

CALL_PRIMARY: Play music to the Primary Call
CALL_SECONDARY: Play music to the Secondary Call

int

music_source

Specifies the music source that the call should listen. It can be one of the following values.

MS_EXTERNAL: Use an external music source.
MS_ONE - MS_EIGHT: Use source one through eight.

Return Value

Returns IVR_SUCCESS on a successful function call. On error the function returns one of the IVR Error Codes.

Example

if(ivr_play_music(CALL_PRIMARY,MS_TWO) != IVR_SUCCESS)
   ...handle error;
}