Reference Turnkey Applications Tutorials Visual Designer
Reference Turnkey Applications Tutorials Visual Designer
    • REST API
      • Overview
      • API Endpoint
      • Authentication
      • Requests
      • Responses
      • Paging
      • Reason Codes Dictionary
    • Management APIs
      • Accounts
      • Identity Access Management BETA
        • Identity Access Management Overview
        • Identity Access Management API
          • User Management
            • Create a User
            • Update a User
            • Retrieve a User
            • Delete a User
          • API Keys Management
            • Create an API Key
            • Update an API Key
            • Retrieve an API Key
            • Delete an API Key
      • Applications
      • Clients
        • Create a Client
        • Delete a Client
        • Change Client’s Password
        • Get a List of Available Clients
      • Incoming Phone Numbers
        • IncomingPhoneNumber Instance Resource
        • IncomingPhoneNumbers List Resource
        • Local IncomingPhoneNumber Factory Resource
        • Toll-Free IncomingPhoneNumber Factory Resource
        • Mobile IncomingPhoneNumber Factory Resource
        • Attach a phone number to an application
        • Enable Incoming MMS for an Application
        • Delete a phone number
        • List of Phone Numbers
        • Incoming Phone Number Regex Support
      • Notifications
      • Usage Records
      • Trace Records
    • Voice
      • Calls
        • Call List Resource URI
        • Making a Call
        • Modifying Live Calls
        • Examples
        • List Filter
        • Paging Information
      • Conference Management
        • Supported Operations
        • Conference List Resource URI
      • Conference Participants Management
        • Participants List Resource URI
      • Gather DTMF
      • Gather Speech
      • Say
      • Play
      • Hold
      • Recordings
      • Refers
        • Resource Properties
        • Supported Operations
        • Paging Information
      • Resume
      • SIP Refer Support
    • Messages API - BETA
      • Overview
      • Channel Identities
      • Send Message
      • Status Callback Parameters
      • Status Callback Events
      • Receive Message
        • Incoming Message Request Parameters
      • Get Message List
      • Get Single Message
      • Message Attributes
      • Status Description
    • SMS
      • Messages
        • Send SMS
        • Get SMS List
        • Get single SMS Information
        • SMS Attributes
      • Error Codes
    • Email
    • RCML
      • Overview
        • Interacting with Your Application
        • RCML Verbs
      • Dial
        • Client
        • Conference
        • Number
        • SIP
      • Email
      • Gather
      • Say
      • Play
      • SMS
      • Message - Beta
      • Hold
      • Resume
      • Hangup
      • Pause
      • Redirect
      • Record
      • Reject
      • Refer
    • Visual Designer API
      • List Application Templates
      • :List a Specific Application Template
      • Create a Visual Designer Application
      • Get Application Details
      • Save Application Changes
      • Create Application Parameters
      • List Application Parameters
      • Delete Application Parameters
      • Upload Application Media Files
      • List Application Media Files
      • Play Application Media Files
      • Delete Application Media Files
      • Get Application Logs
      • Delete Application Logs
      • Get Application Settings
      • Modify Application Settings
      • Rename an Application
      • Delete an Application
      • Get Visual Designer Configuration
    • Turnkey Apps APIs
      • Smart 2FA
        • Sending One-Time Passwords
        • Verifying One-Time Passwords
        • Cancel One-Time Passwords
        • Session Detail Record (SDR)
        • Get list of One-Time Passwords
        • Get a Single One-Time Password
        • Usage Record One-Time Passwords
        • Common Response Error Code
        • Limit
          • Create Limit
          • Update Limit
          • Delete Limit
          • Get List of Limits
      • Call Queuing
      • Auto Attendant
        • Users
        • Announcement
        • Auto Attendant System
        • Menu
        • Schedule
        • Phone Number
        • Usage Records
        • Third Party Integration
      • Number Masking
        • Application
        • Mask Number Pool
        • Context
        • Participants
        • Interactions
        • Usage Records
      • Task Router
docs 1.0
  • docs
    • 1.0
  • docs
  • Enterprise:REST API
  • Enterprise:Reason Codes Dictionary

CPaaS Reason Codes Dictionary

CPaaS will provide a reason code along with a short description for failed or blocked session attempts, such as voice or sms sessions.

Reason code, and the relevant description will be provided in either SIP or HTTP response.

Reason codes 0 - 999 are reserved for network specific error codes from network protocols such as SIP, HTTP, MGCP etc.

Reason Code Families

Code family Description

1xxx

CPaaS generic errors

11xx

CPaaS call errors

2xxx

CPaaS RCML Generic errors

21xx

CPaaS RCML Gather verb errors

22xx

CPaaS RCML Dial verb errors

23xx

CPaaS RCML Say verb errors

24xx

CPaaS RCML Reject verb errors

3xxx

CPaaS provisioning generic error

31xx

CPaaS number provisioning error

32xx

CPaaS client provisioning error

33xx

CPaaS account provisioning error

4xxx

CPaaS Media Gateway error

5xxx

CPaaS extension error

30xxx

CPaaS SMS messaging error

CPaaS Specific Reason Codes

Code Protocol Text Comment

1000

CPaaS

Internal Error

Reason code for any internal error that is not specified later

1001

CPaaS

Client Registration Expired

CPaaS client registration expired

1002

CPaaS

Feature Not Supported (feature name)

Use of feature not allowed for the given account. TODO check if more features/extension reason codes are needed and change family

1100

CPaaS

Call Not Found or Terminated (transferror/targetRef)

Transfer cannot be completed because the transferror side terminated or cannot be found (LCM or Transfer)

1101

CPaaS

Call Terminated

Update request to terminate Call completed successfully

1102

CPaaS

Call Canceled

Update request to cancel Call completed successfully

1103

CPaaS

Invalid Call State

Call state was not in the expected state during a call operation such LCM, Transfer etc.

1104

CPaaS

Call Maximum Duration Exceeded

Call maximum duration exceeded

1105

CPaaS

Call No Answer

Timeout waiting for answer

1106

CPaaS

Call Transferred

Call Transferred

1200

CPaaS

Client Error

Client Error

1201

CPaaS

Client Registration Expired

Client Registration Expired

1202

CPaaS

Client Not Found

Client Not Found

2000

CPaaS

Generic RCML Error

Something went wrong during RCML parsing

2001

CPaaS

RCML Validation failure

RCML document validation against rcml.xsd failed

2002

CPaaS

RCML ended successfully

RCML ended successfully

2100

CPaaS

Gather verb invalid hints

Gather verb HotWords limit exceeded or hint length greater than 100

2200

CPaaS

Dial verb - conference max time exceeded

Maximum time of conference exceeded

2201

CPaaS

Dial verb - conference not found or completed

conference not found or completed

2300

CPaaS

Say verb error

Generic Say verb error

2301

CPaaS

Say verb - no TTS providers available

TTS providers not available

2302

CPaaS

Say verb - unknown provider

Unknown TTS provider requested

2303

CPaaS

Say verb - invalid language

Invalid TTS language requested

2400

CPaaS

Reject verb

CPaaS Reject verb

2500

CPaaS

Play: Unexpected Error

Play: Unexpected Error

2501

CPaaS

Play: URL is empty

Play: URL is empty

2502

CPaaS

Play: URL is invalid

Play: URL is invalid

3000

CPaaS

Generic Provision error

Something was wrong with the Provision data

3100

CPaaS

Number Provision error

Number Provision data error

3101

CPaaS

Number not found

Number not found

3102

CPaaS

Number not bound (Context)

Number doesn’t point to an application, either by RCML URL or Application SID. Context could be any of: Voice, Sms, Refer, REST API Call.

3103

CPaaS

Bad custom SIP header value

The value of a custom SIP header does not fit the specification

3200

CPaaS

Application provisioning error

Application provisioning error

3201

CPaaS

Application not found

Application not found

3301

CPaaS

Account not active

CPaaS Account not active

4000

CPaaS

CPaaS Media Gateway error

Generic Media Gateway error

4100

CPaaS

CPaaS Media Operation failed

CPaaS Media Operation failed

5000

CPaaS

Extension Error

CPaaS Extension Error

5001

CPaaS

Extension Blocked Session

Session was not allowed by an extension

30001

CPaaS

Message Queue overflow

Message failed

30002

CPaaS

Account suspended

Message failed

30003

CPaaS

Unreachable destination handset

Message failed

30004

CPaaS

Message blocked

Message failed

30005

CPaaS

Unknown destination handset

Message failed

30006

CPaaS

Landline or unreachable carrier

Message failed

30007

CPaaS

Carrier violation

Message failed

30008

CPaaS

Unknown error

Message failed

30009

CPaaS

Missing segment

Message failed

30010

CPaaS

Message price exceeds max price

Message failed

30011

CPaaS

Message Delivery Timeout

No DRL message has come from a peer network

30090

CPaaS

SMPP PDU Timeout at CPaaS

Message failed to send to a first destination

Platform

Programmable Voice

Programmable SMS

Turnkey Applications

Smart 2FA

Call Queue

Auto Attendant

Number Masking

Task Router

Campaign Manager

Learn

Terms And Conditions

About

ABOUT

CONTACT US

© 2020, All rights reserved.