Example IVR

This is an example IVR. The following properties will need to be edited in order to function in a Contact Center Organization:

  • PromptURI

  • ActionTargetId

{
    "description": "Play a greeting with 3 menu options",
    "states": [
        {
            "$type": "Landis.Queues.RootState, Landis.Queues",
            "Name": "RootState",
            "Description": null,
            "transitions": [
                {
                    "event": "incomingCall",
                    "next": "2"
                }
            ],
            "sid": "1"
        },
        {
            "$type": "Landis.Queues.ListenToToneState, Landis.Queues",
            "PromptUri": "https://landisazurefilesharetest.blob.core.windows.net/tenant-31/AudioPrompts%5C0_1_94_150b01ab-6f7e-4289-b6e9-e14f51dda6ef.wav",
            "transitions": [
                {
                    "ToneType": 1,
                    "event": "Tone1",
                    "next": "3"
                },
                {
                    "ToneType": 2,
                    "event": "Tone2",
                    "next": "4"
                },
                {
                    "ToneType": 3,
                    "event": "Tone3",
                    "next": "5"
                }
            ],
            "Name": "ListenToTone",
            "Description": null,
            "sid": "2"
        },
        {
            "$type": "Landis.Queues.CallActionState, Landis.Queues",
            "ActionTargetId": "91a10a97-a791-4958-b466-2c193c141c45",
            "ActionToTakeType": 0,
            "Name": "Transfer to Queue",
            "Description": null,
            "transitions": [
                {
                    "event": "TransferedToQueue",
                    "next": null
                }
            ],
            "sid": "3"
        },
        {
            "$type": "Landis.Queues.CallActionState, Landis.Queues",
            "ActionTargetId": "e5e107e9-763b-4bb0-9988-b7a6362fc3d1",
            "ActionToTakeType": 1,
            "Name": "Transfer to User",
            "Description": null,
            "transitions": [
                {
                    "event": "TransferedToUser",
                    "next": null
                }
            ],
            "sid": "4"
        },
        {
            "$type": "Landis.Queues.CallActionState, Landis.Queues",
            "ActionTargetId": "c9f105ec-d356-4b83-a532-769e1963e8db",
            "ActionToTakeType": 2,
            "Name": "Transfer to User Voicemail",
            "Description": null,
            "transitions": [
                {
                    "event": "TransferedToUserVoicemail",
                    "next": null
                }
            ],
            "sid": "5"
        }
    ]
}

Last updated