UNPKG

sipgateio

Version:

The official Node.js library for sipgate.io

14 lines 1.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebhookErrorMessage = void 0; var WebhookErrorMessage; (function (WebhookErrorMessage) { WebhookErrorMessage["AUDIO_FORMAT_ERROR"] = "Invalid audio format. Please use 16bit PCM WAVE mono audio at 8kHz."; WebhookErrorMessage["INVALID_ORIGIN"] = "Caution! IP address is not from sipgate"; WebhookErrorMessage["SERVERADDRESS_DOES_NOT_MATCH"] = "Given serverAddress does not match with Webhook URLs at console.sipgate.com. Follow-Up events will likely fail."; WebhookErrorMessage["SERVERADDRESS_MISSING_FOR_FOLLOWUPS"] = "No serverAddress set. No Follow-Up Events will be sent."; WebhookErrorMessage["SIPGATE_SIGNATURE_VERIFICATION_FAILED"] = "Signature verification failed."; WebhookErrorMessage["INVALID_DTMF_MAX_DIGITS"] = "Invalid DTMF maxDigits. The max digits should be equal or greater than 1"; WebhookErrorMessage["INVALID_DTMF_TIMEOUT"] = "Invalid DTMF timeout. The timeout should be equal or greater than 0"; })(WebhookErrorMessage = exports.WebhookErrorMessage || (exports.WebhookErrorMessage = {})); //# sourceMappingURL=webhook.errors.js.map