Skip to main content

ApiStatus

Enum ApiStatus 

Source
pub enum ApiStatus {
Show 476 variants AccountWithDIDs, APILimitExceeded, APINotEnabled, CancelFailed, CANHaveOnlyOneProfileWithoutPIN, ConferenceMemberRelationNotFound, DIDInUse, DIDLimitReached, DuplicatedName, DuplicatedPIN, E911Disabled, E911Pending, ErrorDeletingMsg, ErrorMovingMsg, ExceedsFileSize, ExistingDID, ForwardsExceeded, InvalidAccount, InvalidAddress, InvalidAdmin, InvalidAgentRingTimeout, InvalidAllowedcodecs, InvalidAnnounceJoinLeave, InvalidAnnounceOnlyUser, InvalidAnnouncePositionFrequency, InvalidAnnounceRoundSeconds, InvalidAnnounceUserCount, InvalidAreaCode, InvalidAttachid, InvalidAttachmessage, InvalidAttachFile, InvalidAuthtype, InvalidAuthtypeH323, InvalidAuthtypeIax2, InvalidBalancemanagement, InvalidBaseRecording, InvalidBillingtype, InvalidCallback, InvalidCallbackEnable, InvalidCallbackRetry, InvalidCallerid, InvalidCalleridprefix, InvalidCalleridOverride, InvalidCallhunting, InvalidCallparking, InvalidCallrecording, InvalidCallType, InvalidCanadaRouting, InvalidCarrier, InvalidCharge, InvalidCity, InvalidClient, InvalidCNAM, InvalidCodec, InvalidConference, InvalidContact, InvalidCountry, InvalidCountryid, InvalidCredentials, InvalidDate, InvalidDaterange, InvalidDatetime, InvalidDateFrom, InvalidDayrange, InvalidDelayBefore, InvalidDeletemessage, InvalidDescription, InvalidDestination, InvalidDestinationFolder, InvalidDevicetype, InvalidDialtime, InvalidDID, InvalidDigits, InvalidDigitTimeout, InvalidDISA, InvalidDiversionHeader, InvalidDropSilence, InvalidDST, InvalidDtmfmode, InvalidDTMFDigits, InvalidEmail, InvalidEmailAttachmentFormat, InvalidEmailEnable, InvalidEnableIPRestriction, InvalidEnablePOPRestriction, InvalidEndhour, InvalidEndminute, InvalidExtension, InvalidExtensions, InvalidExtensionLength, InvalidExtensionPrefix, InvalidFailoverHeader, InvalidFAXID, InvalidFile, InvalidFilter, InvalidFirstname, InvalidFocEnddate, InvalidFocStartdate, InvalidFolder, InvalidFolderID, InvalidForwarding, InvalidForwardingDID, InvalidForwardEnable, InvalidFrequencyAnnouncement, InvalidFromNumber, InvalidFullname, InvalidID, InvalidIfAnnouncePositionEnabledReportE, InvalidInternaldialtime, InvalidInternalvoicemail, InvalidInternationalroute, InvalidInvoiceType, InvalidIP, InvalidIPAuth, InvalidIPIax2, InvalidIVR, InvalidJitterBuffer, InvalidJoinAnnouncement, InvalidJoinEmptyType, InvalidLanguage, InvalidLastname, InvalidListened, InvalidLocation, InvalidLockinternational, InvalidMailbox, InvalidMaximumCallers, InvalidMaximumWaitTime, InvalidMaxExpiry, InvalidMember, InvalidMemberDelay, InvalidMessageNum, InvalidMethod, InvalidMinute, InvalidMixedNumbers, InvalidMonthly, InvalidMusiconhold, InvalidName, InvalidNAT, InvalidNote, InvalidNumber, InvalidNumbermembers, InvalidNumberCanadian, InvalidNumberExist, InvalidNumberFAX, InvalidNumberPorttype, InvalidNumberUS, InvalidOrder, InvalidPackage, InvalidPassword, InvalidPasswordAuth, InvalidPasswordIlegalCharacters, InvalidPasswordLessthan8charactersLong, InvalidPasswordMissingLowercase, InvalidPasswordMissingNumber, InvalidPasswordMissingUppercase, InvalidPause, InvalidPayment, InvalidPhonebook, InvalidPhonenumber, InvalidPIN, InvalidPINNumber, InvalidPlayinstructions, InvalidPOPRestriction, InvalidPortingid, InvalidPorttype, InvalidPortStatus, InvalidPriority, InvalidPriorityWeight, InvalidProtocol, InvalidProviderAccount, InvalidProviderName, InvalidProvince, InvalidQuantity, InvalidQuery, InvalidQueue, InvalidQuiet, InvalidRecording, InvalidRecordingSoundErrorMenu, InvalidRecordingSoundGetPIN, InvalidRecordingSoundHasJoined, InvalidRecordingSoundHasLeft, InvalidRecordingSoundInvalidPIN, InvalidRecordingSoundJoin, InvalidRecordingSoundKicked, InvalidRecordingSoundLeave, InvalidRecordingSoundLocked, InvalidRecordingSoundLockedNow, InvalidRecordingSoundMuted, InvalidRecordingSoundOnlyOne, InvalidRecordingSoundOnlyPerson, InvalidRecordingSoundOtherInParty, InvalidRecordingSoundParticipantsMuted, InvalidRecordingSoundParticipantsUnmuted, InvalidRecordingSoundPlaceIntoConference, InvalidRecordingSoundThereAre, InvalidRecordingSoundUnlockedNow, InvalidRecordingSoundUnmuted, InvalidRecordCalls, InvalidReportHoldTimeAgent, InvalidResellerclient, InvalidResellernextbilling, InvalidResellerpackage, InvalidResponseTimeout, InvalidRetryTimer, InvalidRinggroup, InvalidRingInuse, InvalidRoute, InvalidRoutingHeader, InvalidRTPHoldTimeout, InvalidRTPTimeout, InvalidSaycallerid, InvalidSaytime, InvalidSecurityCode, InvalidServerpop, InvalidSetup, InvalidSilenceThreshold, InvalidSIPURI, InvalidSIPTraffic, InvalidSkippassword, InvalidSmppPassword, InvalidSmppURL, InvalidSmppUsername, InvalidSMS, InvalidSMSForward, InvalidSnn, InvalidSpeedDial, InvalidStarthour, InvalidStartminute, InvalidStartMuted, InvalidState, InvalidStatementName, InvalidStrategy, InvalidStreetName, InvalidStreetNumber, InvalidTalkingThreshold, InvalidTalkDetection, InvalidTfnumberPorttype, InvalidThankyouForYourPatience, InvalidThreshold, InvalidTimecondition, InvalidTimeout, InvalidTimerange, InvalidTimezone, InvalidToNumber, InvalidTranscriptionEmail, InvalidTranscriptionFormat, InvalidTranscriptionLocale, InvalidTranscriptionRedaction, InvalidTranscriptionSentiment, InvalidTranscriptionSummary, InvalidType, InvalidUrgent, InvalidUsername, InvalidVoicemailsetup, InvalidVoiceAnnouncement, InvalidWeekdayend, InvalidWeekdaystart, InvalidWrapupTime, InvalidZip, IPNotEnabled, LimitReached, LocationAlreadyExists, LocationLinkedToSubaccount, LocationNotFound, MaxPhonebook, MembersExceeded, MemberAlreadyIncluded, MessageEmpty, MessageNotFound, MethodMaintenance, MismatchEmailConfirm, MismatchPasswordConfirm, MissingAccount, MissingAddress, MissingAgentRingTimeout, MissingAllowedcodecs, MissingAttachmessage, MissingAuthtype, MissingBalancemanagement, MissingBillingtype, MissingCallback, MissingCallerid, MissingCallhunting, MissingCallparking, MissingCallrecording, MissingCarrier, MissingCharge, MissingChoices, MissingCity, MissingClient, MissingCNAM, MissingCodec, MissingConference, MissingCountry, MissingCountryid, MissingCredentials, MissingDatetime, MissingDelayBefore, MissingDeletemessage, MissingDescription, MissingDevicetype, MissingDialtime, MissingDID, MissingDigits, MissingDigitTimeout, MissingDISA, MissingDtmfmode, MissingEmail, MissingEmailConfirm, MissingEnable, MissingEndhour, MissingEndminute, MissingFailoverBusy, MissingFailoverNoanswer, MissingFailoverUnreachable, MissingFile, MissingFilter, MissingFirstname, MissingFolder, MissingForwarding, MissingFromDate, MissingFullname, MissingID, MissingIfAnnouncePositionEnabledReportE, MissingInternationalroute, MissingIP, MissingIPH323, MissingIPRestriction, MissingIVR, MissingJoinWhenEmpty, MissingLanguage, MissingLastname, MissingLeaveWhenEmpty, MissingLength, MissingListened, MissingLocation, MissingLocationName, MissingLockinternational, MissingMailbox, MissingMember, MissingMembers, MissingMessageNum, MissingMethod, MissingMinute, MissingMonthly, MissingMusiconhold, MissingName, MissingNAT, MissingNumber, MissingNumbers, MissingPackage, MissingParams, MissingPassword, MissingPasswordConfirm, MissingPayment, MissingPhonebook, MissingPhonenumber, MissingPIN, MissingPlayinstructions, MissingPOPRestriction, MissingPriority, MissingPriorityWeight, MissingProtocol, MissingProvince, MissingQuery, MissingRecording, MissingReportHoldTimeAgent, MissingResellerclient, MissingResellerpackage, MissingResponseTimeout, MissingRinggroup, MissingRingInuse, MissingRingStrategy, MissingRoute, MissingRouting, MissingSaycallerid, MissingSaytime, MissingServerpop, MissingSetup, MissingSIPURI, MissingSkippassword, MissingSMS, MissingSpeedDial, MissingStart, MissingStarthour, MissingStartminute, MissingState, MissingStreetName, MissingStreetNumber, MissingThankyouForYourPatience, MissingTimecondition, MissingTimeout, MissingTimezone, MissingToDate, MissingTranscriptionEmail, MissingTranscriptionLocale, MissingType, MissingUrgent, MissingURI, MissingUsername, MissingVoicemailsetup, MissingWeekdayend, MissingWeekdaystart, MissingZip, MovingFail, NameToolong, NonSufficientFunds, NoteToolong, NoAccount, NoAttachments, NoBase64file, NoCallback, NoCallhunting, NoCallparking, NoCallstatus, NoCDR, NoChangeBillingtype, NoClient, NoConference, NoDID, NoDISA, NoFilter, NoForwarding, NoIVR, NoMailbox, NoMember, NoMessage, NoMessages, NoNumbers, NoPackage, NoPhonebook, NoProvision, NoProvisionUpdate, NoQueue, NoRate, NoRecording, NoRinggroup, NoSequences, NoSIPURI, NoSMS, NoTimecondition, OrderFailed, ProblemSendingMail, ProviderOutofservice, RecordingInUseCallerIDFiltering, RecordingInUseCallerTimecondition, RecordingInUseDID, RecordingInUseIVR, RecordingInUseQueue, RepeatedIP, ReservedIP, RTPTimeoutGreaterThanRTPHoldTimeout, SameDIDBillingtype, SentFail, SIPURIInPhonebook, SMSApplyRegulations, SMSFailed, SMSToolong, SMSWaitMessage, TlsError, UnableToPurchase, UnavailableInfo, UnsifficientStock, UsedDescription, UsedEmail, UsedExtension, UsedExtensionInLocation, UsedFilter, UsedIP, UsedName, UsedNumber, UsedPassword, UsedSpeedDial, UsedUsername, WeakPassword, Unknown(String),
}
Expand description

A non-success status returned by the VoIP.ms API.

Every documented error code from the official API docs’ global error-code table is a variant; ApiStatus::description returns its documented meaning. The set of codes is documentation, not a stable contract — a code VoIP.ms returns but hasn’t documented is preserved verbatim in ApiStatus::Unknown rather than lost.

let status = ApiStatus::from_wire("invalid_credentials");
assert_eq!(status, ApiStatus::InvalidCredentials);
assert_eq!(status.as_str(), "invalid_credentials");
assert_eq!(status.description(), Some("Username or Password is incorrect"));
assert!(status.is_documented());

let unknown = ApiStatus::from_wire("some_new_code");
assert_eq!(unknown, ApiStatus::Unknown("some_new_code".to_string()));
assert_eq!(unknown.description(), None);
assert!(!unknown.is_documented());

Variants§

§

AccountWithDIDs

account_with_dids — The Account has DIDs assigned to it.

§

APILimitExceeded

api_limit_exceeded — API requests limit per minute has been reached

§

APINotEnabled

api_not_enabled — API has not been enabled or has been disabled

§

CancelFailed

cancel_failed — The cancellation wasn’t completed.

§

CANHaveOnlyOneProfileWithoutPIN

can_have_only_one_profile_without_pin — The conference can just have one profile member without pin

§

ConferenceMemberRelationNotFound

conference_member_relation_not_found — There is no relation between the profile member and the conference.

§

DIDInUse

did_in_use — DID Number is already in use

§

DIDLimitReached

did_limit_reached — You have reached the maximum number of DID numbers allowed for your account type. Please contact our team if you have a specific use case or if you would like to upgrade to a Business account.

§

DuplicatedName

duplicated_name — There is already another entry with this name

§

DuplicatedPIN

duplicated_pin — The given pin has been duplicated

§

E911Disabled

e911_disabled — DID e911 service it’s not enabled.

§

E911Pending

e911_pending — DID e911 service has been requested and is in validation process.

§

ErrorDeletingMsg

error_deleting_msg — Error when deleting message

§

ErrorMovingMsg

error_moving_msg — Error when move the voicemail message to folder

§

ExceedsFileSize

exceeds_file_size — The file exceeds the limite size allowed.

§

ExistingDID

existing_did — You can’t set a callback to an existing VoIP.ms DID number

§

ForwardsExceeded

forwards_exceeded — Your account is limited to 4 forward entries

§

InvalidAccount

invalid_account — This is not a valid account

§

InvalidAddress

invalid_address — Address is missing or the format is invalid.

§

InvalidAdmin

invalid_admin — This is not a valid admin

§

InvalidAgentRingTimeout

invalid_agent_ring_timeout — This is not a valid Agent ring time out value

§

InvalidAllowedcodecs

invalid_allowedcodecs — One of the codecs provided is invalid Format and Values: ulaw;g729;gsm;all

§

InvalidAnnounceJoinLeave

invalid_announce_join_leave — This is not a valid “Announce join leave”

§

InvalidAnnounceOnlyUser

invalid_announce_only_user — This is not a valid “Announce only user”

§

InvalidAnnouncePositionFrequency

invalid_announce_position_frequency — This is not a valid Announce position frequency

§

InvalidAnnounceRoundSeconds

invalid_announce_round_seconds — This is not a valid “Announce round seconds”

§

InvalidAnnounceUserCount

invalid_announce_user_count — This is not a valid “Announce user count”

§

InvalidAreaCode

invalid_area_code — this is not a valid Area Code.

§

InvalidAttachid

invalid_attachid — The given ID is invalid or doesn’t exist.

§

InvalidAttachmessage

invalid_attachmessage — this is not a valid AttachMessage Should be: yes/no

§

InvalidAttachFile

invalid_attach_file — Valid formats: PDF, MS Word, BMP, JPG

§

InvalidAuthtype

invalid_authtype — This is not a valid Auth Type

§

InvalidAuthtypeH323

invalid_authtype_h323 — You must select IP Auth to use H.323

§

InvalidAuthtypeIax2

invalid_authtype_iax2 — You must use User/Password Authentication for IAX2

§

InvalidBalancemanagement

invalid_balancemanagement — This is not a valid BalanceManagement

§

InvalidBaseRecording

invalid_base_recording — This is not a valid recording path

§

InvalidBillingtype

invalid_billingtype — This is not a valid Billing Type Allowed values: 1 = PerMinute, 2 = Flat

§

InvalidCallback

invalid_callback — This is not a valid Callback

§

InvalidCallbackEnable

invalid_callback_enable — This is not a valid Callback enable value

§

InvalidCallbackRetry

invalid_callback_retry — This is not a valid Callback retry

§

InvalidCallerid

invalid_callerid — This is not a valid CallerID

§

InvalidCalleridprefix

invalid_calleridprefix — This is not a valid CID Prefix, lenght should be less than 20 chars

§

InvalidCalleridOverride

invalid_callerid_override — This is not a valid CallerID Override

§

InvalidCallhunting

invalid_callhunting — This is not a valid Call Hunting

§

InvalidCallparking

invalid_callparking — This is not a valid Call Parking

§

InvalidCallrecording

invalid_callrecording — This is not a valid Call recording

§

InvalidCallType

invalid_call_type — Call Type is not valid.

§

InvalidCanadaRouting

invalid_canada_routing — This is not a valid Canada Route

§

InvalidCarrier

invalid_carrier — This is not a valid Carrier

§

InvalidCharge

invalid_charge — This is not a valid Charge

§

InvalidCity

invalid_city — City is missing or the format is invalid.

§

InvalidClient

invalid_client — This is not a valid Client

§

InvalidCNAM

invalid_cnam — This is not a valid CNAM Should be: 1/0

§

InvalidCodec

invalid_codec — This is not a valid Codec

§

InvalidConference

invalid_conference — This is not a valid Conference ID

§

InvalidContact

invalid_contact — This is not a valid Contact Number

§

InvalidCountry

invalid_country — Country is missing or the format is invalid, must be in format ISO 3166-1 alpha-2, example: US, CA, etc. (You can use the values returned by the method getCountries)

§

InvalidCountryid

invalid_countryid — This is not a valid Country ID

§

InvalidCredentials

invalid_credentials — Username or Password is incorrect

§

InvalidDate

invalid_date — This is not a valid date Format is: yyyy-mm-dd

§

InvalidDaterange

invalid_daterange — Date Range should be 92 days or less

§

InvalidDatetime

invalid_datetime — This is not a valid datetime Format is: yyyy-mm-dd hh:mm:ss

§

InvalidDateFrom

invalid_date_from — The “From” date should be prior to the “To” date.

§

InvalidDayrange

invalid_dayrange — This is not a valid Day Range

§

InvalidDelayBefore

invalid_delay_before — This is not a valid DelayBefore

§

InvalidDeletemessage

invalid_deletemessage — This is not a valid DeleteMessage Should be: yes/no

§

InvalidDescription

invalid_description — This is not a valid Description

§

InvalidDestination

invalid_destination — This is not a valid Destination

§

InvalidDestinationFolder

invalid_destination_folder — This is not a valid Destination Folder

§

InvalidDevicetype

invalid_devicetype — This is not a valid Device Type

§

InvalidDialtime

invalid_dialtime — This is not a valid Dialtime

§

InvalidDID

invalid_did — This is not a valid DID

§

InvalidDigits

invalid_digits — These are not valid DigitsOrderDIDVirtual: Digits must be 3 numbers

§

InvalidDigitTimeout

invalid_digit_timeout — This is not a valid DigitTimeOut

§

InvalidDISA

invalid_disa — This is not a valid DISA

§

InvalidDiversionHeader

invalid_diversion_header — This is not a valid Diversion Header. It must be a numeric value, accepting only 0 or 1.

§

InvalidDropSilence

invalid_drop_silence — This is not a valid “drop silence” value

§

InvalidDST

invalid_dst — This is not a valid Destination Number

§

InvalidDtmfmode

invalid_dtmfmode — This is no a valid DTMF Mode

§

InvalidDTMFDigits

invalid_dtmf_digits — This is no a valid DTMF digit

§

InvalidEmail

invalid_email — This is not a valid email or email is already in database

§

InvalidEmailAttachmentFormat

invalid_email_attachment_format — This is not a valid format value

§

InvalidEmailEnable

invalid_email_enable — This is not a valid email enable value

§

InvalidEnableIPRestriction

invalid_enable_ip_restriction — This is not a valid Enable IP Restriction value

§

InvalidEnablePOPRestriction

invalid_enable_pop_restriction — This is not a valid Enable POP Restriction value

§

InvalidEndhour

invalid_endhour — This is not a valid End Hour

§

InvalidEndminute

invalid_endminute — This is not a valid End Minute

§

InvalidExtension

invalid_extension — This is not a valid extension Extension can only contain digits

§

InvalidExtensions

invalid_extensions — Extensions cannot be: 098, 211, 311, 411, 4443, 4444, 4747, 511, 711, 811, 822, 911, 988

§

InvalidExtensionLength

invalid_extension_length — Extensions should not contain more than 5 digits

§

InvalidExtensionPrefix

invalid_extension_prefix — Extensions cannot start with: 068, 097

§

InvalidFailoverHeader

invalid_failover_header — This is not a valid failover header Should be: account/vm/fwd/none

§

InvalidFAXID

invalid_fax_id — This is not a valid Fax Message ID

§

InvalidFile

invalid_file — This is not a valid File

§

InvalidFilter

invalid_filter — This is not a valid Filter

§

InvalidFirstname

invalid_firstname — First name is missing or the format is invalid.

§

InvalidFocEnddate

invalid_foc_enddate — Invalid date format, must be: YYYY-mm-dd. Example: 2018-02-22

§

InvalidFocStartdate

invalid_foc_startdate — Invalid date format, must be: YYYY-mm-dd. Example: 2018-02-22

§

InvalidFolder

invalid_folder — This is not a valid Folder

§

InvalidFolderID

invalid_folder_id — This is not a valid Fax Folder ID

§

InvalidForwarding

invalid_forwarding — This is not a valid forwarding

§

InvalidForwardingDID

invalid_forwarding_did — Forwarding to the same did is not allowed

§

InvalidForwardEnable

invalid_forward_enable — This is not a valid forward enable value

§

InvalidFrequencyAnnouncement

invalid_frequency_announcement — This is not a valid Frequency announce

§

InvalidFromNumber

invalid_from_number — This is not a valid sender number.

§

InvalidFullname

invalid_fullname — This is not a valid Full Name

§

InvalidID

invalid_id — This is not a valid ID

§

InvalidIfAnnouncePositionEnabledReportE

invalid_if_announce_position_enabled_report_e — This is not a Report estimated hold time type

§

InvalidInternaldialtime

invalid_internaldialtime — This is not a valid Internal Dialtime Should be: 1 to 60

§

InvalidInternalvoicemail

invalid_internalvoicemail — This is not a valid Internal Voicemail

§

InvalidInternationalroute

invalid_internationalroute — This is not a valid International Route

§

InvalidInvoiceType

invalid_invoice_type — Invalid invoice type, possible values: 0 = US, 1 = CAN.

§

InvalidIP

invalid_ip — This is an invalid IP

§

InvalidIPAuth

invalid_ip_auth — Do not provide an IP address for User/Pass Authentication

§

InvalidIPIax2

invalid_ip_iax2 — Do not provide an IP address for IAX2

§

InvalidIVR

invalid_ivr — This is not a valid IVR

§

InvalidJitterBuffer

invalid_jitter_buffer — This is not a valid “jitter buffer” value

§

InvalidJoinAnnouncement

invalid_join_announcement — This is not a valid ‘Join Announcement’ Type for a Queue

§

InvalidJoinEmptyType

invalid_join_empty_type — This is not a valid ‘JoinWhenEmpty’ Type for a Queue

§

InvalidLanguage

invalid_language — This is not a valid Language Should be: es/en/fr

§

InvalidLastname

invalid_lastname — Lastname is missing or the format is invalid.

§

InvalidListened

invalid_listened — This is not a valid Listened value

§

InvalidLocation

invalid_location — This is not a valid Location

§

InvalidLockinternational

invalid_lockinternational — This is not a valid Lock International

§

InvalidMailbox

invalid_mailbox — This is not a valid mailbox

§

InvalidMaximumCallers

invalid_maximum_callers — This is not a valid maximum callers value

§

InvalidMaximumWaitTime

invalid_maximum_wait_time — This is not a valid maximum wait time value

§

InvalidMaxExpiry

invalid_max_expiry — This is not a valid Max Expiry (value must be between 60 and 3600 seconds)

§

InvalidMember

invalid_member — This is not a valid Member

§

InvalidMemberDelay

invalid_member_delay — This is not a valid Member Delay

§

InvalidMessageNum

invalid_message_num — This is not a valid Voicemail Message Number

§

InvalidMethod

invalid_method — This is not a valid Method

§

InvalidMinute

invalid_minute — This is not a valid Minute Rate

§

InvalidMixedNumbers

invalid_mixed_numbers — Toll-free numbers and local numbers can not be mixed in the same order.

§

InvalidMonthly

invalid_monthly — This is not a valid Montly Fee

§

InvalidMusiconhold

invalid_musiconhold — This is not a valid Music on Hold

§

InvalidName

invalid_name — This is not a valid name, Alphanumeric Only

§

InvalidNAT

invalid_nat — This is not a valid NAT

§

InvalidNote

invalid_note — This is not a valid Note, lenght should be less than 50 chars

§

InvalidNumber

invalid_number — This is not a valid Number

§

InvalidNumbermembers

invalid_numbermembers — The element format of multiple data is not correct or it size does not match with other elements

§

InvalidNumberCanadian

invalid_number_canadian — You have entered a Canadian number (not valid in this portability process).

§

InvalidNumberExist

invalid_number_exist — The number is already in our network

§

InvalidNumberFAX

invalid_number_fax — The Fax number can not be ported into our network

§

InvalidNumberPorttype

invalid_number_porttype — You have entered a local number (not valid in this portability process)

§

InvalidNumberUS

invalid_number_us — You have entered a USA number (not valid in this portability process).

§

InvalidOrder

invalid_order — This is not a valid “order” value

§

InvalidPackage

invalid_package — This is not a valid Package

§

InvalidPassword

invalid_password — This is not a valid passwordVoicemail: Must be 4 Digits SubAccounts: More than 6 chars, Must Contain Alphanumeric and !#$%&/()=?*[]_:.,{}+-

§

InvalidPasswordAuth

invalid_password_auth — Do not provide a Password for IP Authentication

§

InvalidPasswordIlegalCharacters

invalid_password_ilegal_characters — This is not a valid password (Allowed characters: Alphanumeric and ! # $ % & / ( ) = ? * [ ] _ : . , { } + -)

§

InvalidPasswordLessthan8charactersLong

invalid_password_lessthan_8characters_long — This is not a valid password (Less than 8 characters long)

§

InvalidPasswordMissingLowercase

invalid_password_missing_lowercase — This is not a valid password (Missing lower case character)

§

InvalidPasswordMissingNumber

invalid_password_missing_number — This is not a valid password (Missing a number)

§

InvalidPasswordMissingUppercase

invalid_password_missing_uppercase — This is not a valid password (Missing upper case character)

§

InvalidPause

invalid_pause — This is not a valid Pause

§

InvalidPayment

invalid_payment — This is not a valid Payment

§

InvalidPhonebook

invalid_phonebook — This is not a valid Phonebook

§

InvalidPhonenumber

invalid_phonenumber — This is not a valid Phone Number

§

InvalidPIN

invalid_pin — This is not a valid PIN

§

InvalidPINNumber

invalid_pin_number — Must provide the account PIN number.

§

InvalidPlayinstructions

invalid_playinstructions — This is not a valid PlayInstructions Should be: u/su

§

InvalidPOPRestriction

invalid_pop_restriction — This is not a valid POP Restriction

§

InvalidPortingid

invalid_portingid — The given ID is invalid or doesn’t exist.

§

InvalidPorttype

invalid_porttype — Must provide a valid port type.

§

InvalidPortStatus

invalid_port_status — The status code is invalid. (You can use the values returned by the method getListStatus)

§

InvalidPriority

invalid_priority — This is not a valid Priority

§

InvalidPriorityWeight

invalid_priority_weight — This is not valid weight/priority value

§

InvalidProtocol

invalid_protocol — This is not a valid Protocol

§

InvalidProviderAccount

invalid_provider_account — You must provide your account # with the current provider

§

InvalidProviderName

invalid_provider_name — You must provide the service provider name

§

InvalidProvince

invalid_province — This is not a valid Province

§

InvalidQuantity

invalid_quantity — This is not a valid quantity

§

InvalidQuery

invalid_query — This is not a valid Query

§

InvalidQueue

invalid_queue — This is not a valid Queue

§

InvalidQuiet

invalid_quiet — This is not a valid “quiet” value

§

InvalidRecording

invalid_recording — This is not a valid recording

§

InvalidRecordingSoundErrorMenu

invalid_recording_sound_error_menu — “error menu” is not a valid recording

§

InvalidRecordingSoundGetPIN

invalid_recording_sound_get_pin — “get pin” is not a valid recording

§

InvalidRecordingSoundHasJoined

invalid_recording_sound_has_joined — “has_joined” is not a valid recording

§

InvalidRecordingSoundHasLeft

invalid_recording_sound_has_left — “has_left” is not a valid recording

§

InvalidRecordingSoundInvalidPIN

invalid_recording_sound_invalid_pin — “invalid pin” is not a valid recording

§

InvalidRecordingSoundJoin

invalid_recording_sound_join — “join” is not a valid recording

§

InvalidRecordingSoundKicked

invalid_recording_sound_kicked — “kicked” is not a valid recording

§

InvalidRecordingSoundLeave

invalid_recording_sound_leave — “leave” is not a valid recording

§

InvalidRecordingSoundLocked

invalid_recording_sound_locked — “locked” is not a valid recording

§

InvalidRecordingSoundLockedNow

invalid_recording_sound_locked_now — “locked now” is not a valid recording

§

InvalidRecordingSoundMuted

invalid_recording_sound_muted — “muted” is not a valid recording

§

InvalidRecordingSoundOnlyOne

invalid_recording_sound_only_one — “only one” is not a valid recording

§

InvalidRecordingSoundOnlyPerson

invalid_recording_sound_only_person — “only person” is not a valid recording

§

InvalidRecordingSoundOtherInParty

invalid_recording_sound_other_in_party — “other in party” is not a valid recording

§

InvalidRecordingSoundParticipantsMuted

invalid_recording_sound_participants_muted — “participants muted” is not a valid recording

§

InvalidRecordingSoundParticipantsUnmuted

invalid_recording_sound_participants_unmuted — “participants unmuted” is not a valid recording

§

InvalidRecordingSoundPlaceIntoConference

invalid_recording_sound_place_into_conference — “place into conference” is not a valid recording

§

InvalidRecordingSoundThereAre

invalid_recording_sound_there_are — “there are” is not a valid recording

§

InvalidRecordingSoundUnlockedNow

invalid_recording_sound_unlocked_now — “unlocked now” is not a valid recording

§

InvalidRecordingSoundUnmuted

invalid_recording_sound_unmuted — “unmuted” is not a valid recording

§

InvalidRecordCalls

invalid_record_calls — Record calls is not valid.

§

InvalidReportHoldTimeAgent

invalid_report_hold_time_agent — This is not a valid Report hold time agent

§

InvalidResellerclient

invalid_resellerclient — This is not a valid Reseller Client

§

InvalidResellernextbilling

invalid_resellernextbilling — This is not a valid Reseller Next Billing date, date should not be set in the past.

§

InvalidResellerpackage

invalid_resellerpackage — This is not a valid Reseller Package

§

InvalidResponseTimeout

invalid_response_timeout — This is not a valid ResponseTimeOut

§

InvalidRetryTimer

invalid_retry_timer — This is not a valid Retry timer

§

InvalidRinggroup

invalid_ringgroup — This is not a valid Ring group

§

InvalidRingInuse

invalid_ring_inuse — This is not a valid Ring in use value

§

InvalidRoute

invalid_route — This is not a valid Route

§

InvalidRoutingHeader

invalid_routing_header — This is not a valid Routing header Should be: account/vm/fwd

§

InvalidRTPHoldTimeout

invalid_rtp_hold_timeout — This is not a valid RTP Hold Time Out (value must be between 1 and 3600 seconds)

§

InvalidRTPTimeout

invalid_rtp_timeout — This is not a valid RTP Time Out (value must be between 1 and 3600 seconds)

§

InvalidSaycallerid

invalid_saycallerid — This is not a valid SayCallerID Should be: yes/no

§

InvalidSaytime

invalid_saytime — This is not a valid SayTime Should be: yes/no

§

InvalidSecurityCode

invalid_security_code — This is not a valid Security Code. Should be alphanumeric.

§

InvalidServerpop

invalid_serverpop — This is not a valid Server POP

§

InvalidSetup

invalid_setup — This is not a valid Setup Fee

§

InvalidSilenceThreshold

invalid_silence_threshold — This is not a valid “silence threshold” value

§

InvalidSIPURI

invalid_sipuri — This is not a valid SIPURI

§

InvalidSIPTraffic

invalid_sip_traffic — This is not a valid Encrypted SIP Traffic value

§

InvalidSkippassword

invalid_skippassword — This is not a valid skippassword Should be: 1/0 - or - yes/no

§

InvalidSmppPassword

invalid_smpp_password — This is not a valid SMPP Password

§

InvalidSmppURL

invalid_smpp_url — This is not a valid SMPP URL

§

InvalidSmppUsername

invalid_smpp_username — This is not a valid SMPP Username

§

InvalidSMS

invalid_sms — This is not a valid SMS

§

InvalidSMSForward

invalid_sms_forward — This is not a valid SMS forward

§

InvalidSnn

invalid_snn — Must provide the 4 last digits of the SSN.

§

InvalidSpeedDial

invalid_speed_dial — This is not a valid Speed Dial

§

InvalidStarthour

invalid_starthour — This is not a valid Start Hour

§

InvalidStartminute

invalid_startminute — This is not a valid Start Minute

§

InvalidStartMuted

invalid_start_muted — This is not a valid Start Muted

§

InvalidState

invalid_state — This is not a valid State

§

InvalidStatementName

invalid_statement_name — Statement Name is missing or the format is invalid.

§

InvalidStrategy

invalid_strategy — This is not a valid Ring Strategy

§

InvalidStreetName

invalid_street_name — This is not a valid Street Name

§

InvalidStreetNumber

invalid_street_number — This is not a valid Street Number

§

InvalidTalkingThreshold

invalid_talking_threshold — This is not a valid “talking threshold” value

§

InvalidTalkDetection

invalid_talk_detection — This is not a valid talk detection value

§

InvalidTfnumberPorttype

invalid_tfnumber_porttype — You have entered a toll-free number (not valid in this portability process).

§

InvalidThankyouForYourPatience

invalid_thankyou_for_your_patience — This is not a valid Thankyou for your patience value

§

InvalidThreshold

Invalid_threshold — This is not a valid Threshold Amount. The Threshold Amount should be between 1 and 250

§

InvalidTimecondition

invalid_timecondition — This is not a valid Time Condition

§

InvalidTimeout

invalid_timeout — This is not a valid timeout

§

InvalidTimerange

invalid_timerange — This is not a valid Timer Range

§

InvalidTimezone

invalid_timezone — This is not a valid TimezoneCDR and resellerCDR: Must be numeric Voicemail: Values from getTimezone

§

InvalidToNumber

invalid_to_number — This is not a valid destination number

§

InvalidTranscriptionEmail

invalid_transcription_email — Transcription email is not valid

§

InvalidTranscriptionFormat

invalid_transcription_format — Invalid Transcription Format

§

InvalidTranscriptionLocale

invalid_transcription_locale — Transcription locale is not valid.

§

InvalidTranscriptionRedaction

invalid_transcription_redaction — Invalid Transcription Redaction

§

InvalidTranscriptionSentiment

invalid_transcription_sentiment — Invalid Transcription Sentiment

§

InvalidTranscriptionSummary

invalid_transcription_summary — Invalid Transcription Summary

§

InvalidType

invalid_type — This is not a valid Type

§

InvalidUrgent

invalid_urgent — This is not valid urgent value

§

InvalidUsername

invalid_username — This is not a valid Username

§

InvalidVoicemailsetup

invalid_voicemailsetup — This is not a valid voicemail

§

InvalidVoiceAnnouncement

invalid_voice_announcement — This is not a valid Voice announce

§

InvalidWeekdayend

invalid_weekdayend — This is not a valid Week End

§

InvalidWeekdaystart

invalid_weekdaystart — This is not a valid Week Start

§

InvalidWrapupTime

invalid_wrapup_time — This is not a valid Wrapup time

§

InvalidZip

invalid_zip — Zip Code is missing or the format is invalid.

§

IPNotEnabled

ip_not_enabled — This IP is not enabled for API use

§

LimitReached

limit_reached — You have reached the maximum number of messages allowed per day. - SMS limit using the API. - Fax limit applies using any method.

§

LocationAlreadyExists

location_already_exists — A location with this name already exists

§

LocationLinkedToSubaccount

location_linked_to_subaccount — This location is in use by one or more sub accounts and cannot be deleted

§

LocationNotFound

location_not_found — The specified location could not be found

§

MaxPhonebook

max_phonebook — Your account is limited to 8 SIP, IAX or SIP URI members

§

MembersExceeded

members_exceeded — You have reached the maximum allowed entries for the Phonebook

§

MemberAlreadyIncluded

member_already_included — The member has been included already

§

MessageEmpty

message_empty — The SMS Message is empty

§

MessageNotFound

message_not_found — The voicemail message was not found

§

MethodMaintenance

method_maintenance — This API method is under maintenance

§

MismatchEmailConfirm

mismatch_email_confirm — e-mail confirm does not match with e-mail

§

MismatchPasswordConfirm

mismatch_password_confirm — Pasword confirm does not match with Password

§

MissingAccount

missing_account — Account was not provided

§

MissingAddress

missing_address — Address was not provided

§

MissingAgentRingTimeout

missing_agent_ring_timeout — Agent ring time out was not provided

§

MissingAllowedcodecs

missing_allowedcodecs — Allowed Codecs were not provided

§

MissingAttachmessage

missing_attachmessage — AttachMessage was not provided

§

MissingAuthtype

missing_authtype — Auth Type was not provided

§

MissingBalancemanagement

missing_balancemanagement — BalanceManagemente was not provided

§

MissingBillingtype

missing_billingtype — Billing Type was not provided

§

MissingCallback

missing_callback — Callback was not provided

§

MissingCallerid

missing_callerid — CallerID was not provided

§

MissingCallhunting

missing_callhunting — Call hunting was not provided

§

MissingCallparking

missing_callparking — Call Parking was not provided

§

MissingCallrecording

missing_callrecording — Call recording was not provided

§

MissingCarrier

missing_carrier — Carrier was not provided

§

MissingCharge

missing_charge — Charge was not provided.

§

MissingChoices

missing_choices — Choices was not provided

§

MissingCity

missing_city — City was not provided

§

MissingClient

missing_client — Client was not provided

§

MissingCNAM

missing_cnam — CNAM was not provided

§

MissingCodec

missing_codec — Codec was not provided

§

MissingConference

missing_conference — Conference was not provided

§

MissingCountry

missing_country — Country was not provided

§

MissingCountryid

missing_countryid — Country ID was not provided

§

MissingCredentials

missing_credentials — Username or Password was not provided

§

MissingDatetime

missing_datetime — DateTime value was not provided

§

MissingDelayBefore

missing_delay_before — DelayBefore was not provided

§

MissingDeletemessage

missing_deletemessage — DeleteMessage was not provided

§

MissingDescription

missing_description — Description was not provided

§

MissingDevicetype

missing_devicetype — Device Type was not provided

§

MissingDialtime

missing_dialtime — Dialtime was not provided

§

MissingDID

missing_did — DID was not provided

§

MissingDigits

missing_digits — Digits were not provided

§

MissingDigitTimeout

missing_digit_timeout — DigitTimeOut was not provided

§

MissingDISA

missing_disa — DISA was not provided

§

MissingDtmfmode

missing_dtmfmode — DTMF Mode was not provided

§

MissingEmail

missing_email — e-mail was not provided

§

MissingEmailConfirm

missing_email_confirm — e-mail confirm was not provided

§

MissingEnable

missing_enable — Enable was not provided

§

MissingEndhour

missing_endhour — End Hour was not provided

§

MissingEndminute

missing_endminute — End Minute was not provided

§

MissingFailoverBusy

missing_failover_busy — Failover Busy was not provided

§

MissingFailoverNoanswer

missing_failover_noanswer — Failover NoAnswer was not provided

§

MissingFailoverUnreachable

missing_failover_unreachable — Failover Unreachable was not provided

§

MissingFile

missing_file — File was not provided

§

MissingFilter

missing_filter — Filter was not provided

§

MissingFirstname

missing_firstname — Firstname was not provided

§

MissingFolder

missing_folder — folder was not provided

§

MissingForwarding

missing_forwarding — Forwarding was not provided

§

MissingFromDate

missing_from_date — From date was not provided

§

MissingFullname

missing_fullname — Full Name was not provided

§

MissingID

missing_id — ID was not provided

§

MissingIfAnnouncePositionEnabledReportE

missing_if_announce_position_enabled_report_e — If announce position enabled report estimated hold time’ type was not provided

§

MissingInternationalroute

missing_internationalroute — International Route was not provided

§

MissingIP

missing_ip — You need to provide an IP if you select IP Authentication Method

§

MissingIPH323

missing_ip_h323 — You must enter an IP Address for H.323

§

MissingIPRestriction

missing_ip_restriction — IP Restriction was not provided

§

MissingIVR

missing_ivr — IVR was not provided

§

MissingJoinWhenEmpty

missing_join_when_empty — JoinWhenEmpty’ type was not provided

§

MissingLanguage

missing_language — Language was not provided

§

MissingLastname

missing_lastname — Lastname was not provided

§

MissingLeaveWhenEmpty

missing_leave_when_empty — LeaveWhenEmpty’ type was not provided

§

MissingLength

missing_length — Length was not provided

§

MissingListened

missing_listened — Listened code was not provided

§

MissingLocation

missing_location — Location was not provided

§

MissingLocationName

missing_location_name — Location Name Missing

§

MissingLockinternational

missing_lockinternational — Lock International was not provided

§

MissingMailbox

missing_mailbox — Mailbox was not provided

§

MissingMember

missing_member — Member was not provided

§

MissingMembers

missing_members — You need at least 1 member to create a ring group

§

MissingMessageNum

missing_message_num — Voicemail message number was not provided

§

MissingMethod

missing_method — Method must be provided when using the REST/JSON API

§

MissingMinute

missing_minute — Minute Rate was not provided

§

MissingMonthly

missing_monthly — Monthly Fee was not provided

§

MissingMusiconhold

missing_musiconhold — Music on Hold was not provided

§

MissingName

missing_name — Name was not provided

§

MissingNAT

missing_nat — NAT was not provided

§

MissingNumber

missing_number — Number was not provided

§

MissingNumbers

missing_numbers — You must enter at least one valid phone number.

§

MissingPackage

missing_package — Package was not provided

§

MissingParams

missing_params — Required parameters were not provided

§

MissingPassword

missing_password — Password was not provided

§

MissingPasswordConfirm

missing_password_confirm — Password Confirm was not provided

§

MissingPayment

missing_payment — Payment was not provided.

§

MissingPhonebook

missing_phonebook — Phonebook was not provided

§

MissingPhonenumber

missing_phonenumber — Phone Number was not provided

§

MissingPIN

missing_pin — PIN was not provided

§

MissingPlayinstructions

missing_playinstructions — PlayInstructions was not provided

§

MissingPOPRestriction

missing_pop_restriction — POP Restriction was not provided

§

MissingPriority

missing_priority — Priority was not provided

§

MissingPriorityWeight

missing_priority_weight — Priority/Weight was not provided

§

MissingProtocol

missing_protocol — Protocol was not provided

§

MissingProvince

missing_province — Province was not provided

§

MissingQuery

missing_query — Query was not provided

§

MissingRecording

missing_recording — Recording was not provided

§

MissingReportHoldTimeAgent

missing_report_hold_time_agent — Report hold time agent was not provided

§

MissingResellerclient

missing_resellerclient — Provide a Reseller Client or don’t provide a Reseller Package

§

MissingResellerpackage

missing_resellerpackage — Provide a Reseller Package or don’t provide a Reseller Client

§

MissingResponseTimeout

missing_response_timeout — ResponseTimeOut was not provided

§

MissingRinggroup

missing_ringgroup — Ring group was not provided

§

MissingRingInuse

missing_ring_inuse — Ring in use was not provided

§

MissingRingStrategy

missing_ring_strategy — Ring strategy was not provided

§

MissingRoute

missing_route — Route was not provided

§

MissingRouting

missing_routing — Routing was not provided

§

MissingSaycallerid

missing_saycallerid — SayCallerID was not provided

§

MissingSaytime

missing_saytime — SayTime was not provided

§

MissingServerpop

missing_serverpop — Server POP was not provided

§

MissingSetup

missing_setup — Setup Fee was not provided

§

MissingSIPURI

missing_sipuri — SIPURI was not provided

§

MissingSkippassword

missing_skippassword — SkipPassword was not provided

§

MissingSMS

missing_sms — SMS was not provided

§

MissingSpeedDial

missing_speed_dial — Speed Dial was not provided

§

MissingStart

missing_start — Start date was not provided

§

MissingStarthour

missing_starthour — Start Hour was not provided

§

MissingStartminute

missing_startminute — Start Minute was not provided

§

MissingState

missing_state — State was not provided

§

MissingStreetName

missing_street_name — Street Name was not provided

§

MissingStreetNumber

missing_street_number — Street Number was not provided

§

MissingThankyouForYourPatience

missing_thankyou_for_your_patience — Thankyou for your patience was not provided

§

MissingTimecondition

missing_timecondition — Time Condition was not provided

§

MissingTimeout

missing_timeout — Timeout was not provided

§

MissingTimezone

missing_timezone — Timezone was not provided

§

MissingToDate

missing_to_date — To date was not provided

§

MissingTranscriptionEmail

missing_transcription_email — Transcription email is required.

§

MissingTranscriptionLocale

missing_transcription_locale — Transcription locale is required.

§

MissingType

missing_type — Type was not provided

§

MissingUrgent

missing_urgent — Urgent code was not provided

§

MissingURI

missing_uri — URI was not provided

§

MissingUsername

missing_username — Username was not provided

§

MissingVoicemailsetup

missing_voicemailsetup — Voice mail setup was not provided

§

MissingWeekdayend

missing_weekdayend — Week End was not provide

§

MissingWeekdaystart

missing_weekdaystart — Week Start was not provided

§

MissingZip

missing_zip — Zip Code was not provided

§

MovingFail

moving_fail — The Fax Message was not moved

§

NameToolong

name_toolong — The name exceeds character size limit

§

NonSufficientFunds

non_sufficient_funds — Your account does not have sufficient funds to proceed

§

NoteToolong

note_toolong — The note exceeds character size limit

§

NoAccount

no_account — There are no accounts

§

NoAttachments

no_attachments — Theres no attachments records to show.

§

NoBase64file

no_base64file — File not encoded in base64

§

NoCallback

no_callback — There are not Callbacks

§

NoCallhunting

no_callhunting — There are no Call Huntings

§

NoCallparking

no_callparking — There are no Call Parking

§

NoCallstatus

no_callstatus — No Call Status was provided. One of the following parameters needs to be set to “1”: answered, noanswer, busy, failed

§

NoCDR

no_cdr — There are no CDR entries for the filter

§

NoChangeBillingtype

no_change_billingtype — Imposible change DID billing plan

§

NoClient

no_client — There are no Clients

§

NoConference

no_conference — There are no Conferences

§

NoDID

no_did — There are no DIDs

§

NoDISA

no_disa — There are no DISAs

§

NoFilter

no_filter — There are no Filters

§

NoForwarding

no_forwarding — There was no Forwarding

§

NoIVR

no_ivr — There are no ivr

§

NoMailbox

no_mailbox — There are no Mailboxes

§

NoMember

no_member — There are no Static Members

§

NoMessage

no_message — There are no Fax Message(s)

§

NoMessages

no_messages — There are no Voicemail Message(s)

§

NoNumbers

no_numbers — There are no Fax Numbers

§

NoPackage

no_package — there are no Packages

§

NoPhonebook

no_phonebook — There are no Phonebook entries

§

NoProvision

no_provision — E911 service wasn’t activated, this response comes with a description of the error.

§

NoProvisionUpdate

no_provision_update — E911 service wasn’t updated, this response comes with a description of the error.

§

NoQueue

no_queue — There are no Queue entries

§

NoRate

no_rate — There are no Rates

§

NoRecording

no_recording — There are no recordings

§

NoRinggroup

no_ringgroup — There are no Ring groups

§

NoSequences

no_sequences — No sequence has been found

§

NoSIPURI

no_sipuri — There are no SIP URIs

§

NoSMS

no_sms — There are no SMS messages

§

NoTimecondition

no_timecondition — There are no Time Conditions

§

OrderFailed

order_failed — The order wasn’t completed.

§

ProblemSendingMail

problem_sending_mail — There was a problem sending an email.

§

ProviderOutofservice

provider_outofservice — One of our providers is out of service

§

RecordingInUseCallerIDFiltering

recording_in_use_caller_id_filtering — You have a Caller ID Filtering using this Recording

§

RecordingInUseCallerTimecondition

recording_in_use_caller_timecondition — You have a Time Condition using this Recording

§

RecordingInUseDID

recording_in_use_did — You have a DID using this Recording

§

RecordingInUseIVR

recording_in_use_ivr — You have an IVR using this Recording

§

RecordingInUseQueue

recording_in_use_queue — You have a Calling Queue using this Recording

§

RepeatedIP

repeated_ip — You already have a Subaccount using this IP and Protocol

§

ReservedIP

reserved_ip — This is a reserved IP used by VoIP.ms or other Companies

§

RTPTimeoutGreaterThanRTPHoldTimeout

rtp_timeout_greater_than_rtp_hold_timeout — RTP Time Out can’t be greater than RTP Hold Time Out

§

SameDIDBillingtype

same_did_billingtype — The Billing Type provided and DID billing type are the same

§

SentFail

sent_fail — The Fax Message it wasn’t send.

§

SIPURIInPhonebook

sipuri_in_phonebook — This SIPURI can’t be deleted, it is mapped in the phonebook

§

SMSApplyRegulations

sms_apply_regulations — The number was not updated due to SMS regulations, please contact customer service for more information

§

SMSFailed

sms_failed — The SMS message was not sent

§

SMSToolong

sms_toolong — The SMS message exceeds 160 characters

§

SMSWaitMessage

sms_wait_message — SMS was not (Enabled/Disabled) for this DID, please wait a minute before you try again.

§

TlsError

tls_error — Theres was a TLS error, please try later.

§

UnableToPurchase

Unable_to_purchase — Unable to purchase DIDs

§

UnavailableInfo

unavailable_info — The information you requested is unavailable at this moment

§

UnsifficientStock

unsifficient_stock — Theres no sufficient stock to complete the order.

§

UsedDescription

used_description — You already have a record with this Description

§

UsedEmail

used_email — You already have an entry with this Email

§

UsedExtension

used_extension — You already have a subaccount using this extension

§

UsedExtensionInLocation

used_extension_in_location — You already have a subaccount using extension in this location

§

UsedFilter

used_filter — You already have a record with this Filter

§

UsedIP

used_ip — There is already another customer using this IP Address

§

UsedName

used_name — You already have an entry using this name

§

UsedNumber

used_number — You already have a record with this Number

§

UsedPassword

used_password — This password has been used previously by this account.

§

UsedSpeedDial

used_speed_dial — You have an entry with this Speed Dial

§

UsedUsername

used_username — You already have a subaccount using this Username.

§

WeakPassword

weak_password — This Password is too weak or too common

§

Unknown(String)

A status value not present in the documented table, preserved verbatim.

Implementations§

Source§

impl ApiStatus

Source

pub fn as_str(&self) -> &str

The verbatim wire status string.

Source

pub fn from_wire(s: &str) -> Self

Parse a wire status string. Unknown values are preserved in ApiStatus::Unknown.

Source

pub fn description(&self) -> Option<&'static str>

The human-readable description of this status from the VoIP.ms docs, or None for ApiStatus::Unknown.

Source

pub fn is_documented(&self) -> bool

Whether this status is a documented code (not ApiStatus::Unknown).

Source

pub fn is_empty(&self) -> bool

Whether this status means “the requested collection is empty,” rather than a failure. VoIP.ms returns a distinct no_* status for each list method when the list has no entries; the typed Client methods treat such a status as a successful empty response (collection fields deserialize to None) instead of an crate::Error::Api, while the *_raw methods still surface it verbatim. Codes that look like no_* but signal a real failure (no_base64file, no_callstatus, no_provision, …) are not included.

Trait Implementations§

Source§

impl Clone for ApiStatus

Source§

fn clone(&self) -> ApiStatus

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ApiStatus

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ApiStatus

Source§

fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for ApiStatus

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ApiStatus

Source§

impl From<&str> for ApiStatus

Source§

fn from(s: &str) -> Self

Converts to this type from the input type.
Source§

impl From<String> for ApiStatus

Source§

fn from(s: String) -> Self

Converts to this type from the input type.
Source§

impl Hash for ApiStatus

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for ApiStatus

Source§

fn eq(&self, other: &ApiStatus) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for ApiStatus

Source§

fn serialize<S: Serializer>(&self, s: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for ApiStatus

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more