• Home
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • General
  • News & Announcements
  • Ideas
  • RingCentral Office
    • Getting Started
    • Authentication
    • App Graduation
    • API Betas & Developer Previews
    • REST API
      • Call Management API
      • Glip API
      • Meetings API
      • Messaging API (SMS, Fax, Voicemail)
      • Provisioning API
      • Voice and Telephony API
    • Environment (Sandbox, Gateway)
    • SDKs
    • Admin & Credentials
  • RingCentral Engage
    • Getting Started
    • REST API
      • Interactions API
      • Provisioning API
      • Routing API
  • Jobs/Requests for Help
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Users
  • Badges
Skip to main content
  • Create
    • Ask a question
    • Create an article
    • Post an idea
    • General
    • News & Announcements
    • Ideas
    • RingCentral Office
      • Getting Started
      • Authentication
      • App Graduation
      • API Betas & Developer Previews
      • REST API
        • Call Management API
        • Glip API
        • Meetings API
        • Messaging API (SMS, Fax, Voicemail)
        • Provisioning API
        • Voice and Telephony API
      • Environment (Sandbox, Gateway)
      • SDKs
      • Admin & Credentials
    • RingCentral Engage
      • Getting Started
      • REST API
        • Interactions API
        • Provisioning API
        • Routing API
    • Jobs/Requests for Help
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Sign in
  • Home
  • General

question

Peter Batushansky avatar image
Peter Batushansky asked · Nov 21 at 11:04 PM

What are all the FaxErrorCode when SendingFailed?

What are all the FaxErrorCode when SendingFailed?


So far I have only found CallFailed and LineBusy, are there other?

faxerrorcode
Comment
0
1 |1000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

2 Answers

· Write an Answer
  • Sort by Created Created
  • Sort by Oldest Oldest
  • Sort by Votes Votes
Phong Vu avatar image
Phong Vu answered · Nov 22 at 03:59 PM

Check out the "reason" value from a call log record. Basically, it can be one of the following errors. Some not applied to a fax though.

Accepted, Connected, line Busy, Not Answered, No Answer, Hang Up, Stopped, Internal Error, No Credit, Restricted Number, Wrong Number, International Disabled, International Restricted, Bad Number, Info 411 Restricted, Customer 611 Restricted, No Digital Line, Failed Try Again, Max Call Limit, Too Many Calls, Calls Not Accepted, Number Not Allowed, Number Blocked, Number Disabled, Resource Error, Call Loop, Fax Not Received, Fax Partially Sent, Fax Not Sent, Fax Poor Line, Fax Prepare Error, Fax Save Error, Fax Send Error


0 · Share
1 |1000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Nick R avatar image
Nick R answered · Nov 30 at 10:15 PM

Hi Phong!

Is there a list of the actual strings returned in the call log records and message store?

I get the same kind of string that Peter gets "LineBusy", "CallFailed" not the more nicely formatted strings you posted and I have to try to map them to nicer error messages in two languages...

That's a relatively trivial thing to do as long as I know all the possible actual values that can be returned.

Thank you and have a nice day,

Nick

· 4 comments · Share
1 |1000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image Phong Vu ♦♦ · Dec 02 at 05:38 PM

Hi Nick,

I can't find further info about those statuses. But I believe that they are the same. I think the difference between the documentation and the actual statuses returned by the API is just about the words are separated or added together. E.g. "No Credit" is "NoCredit", "Wrong Number" is "WrongNumber" etc.

If I found any info later, I will update you.

0 · ·
Nick R avatar image Nick R Phong Vu ♦♦ · 6 days ago

Hi Phong!


I thought I had posted this earlier but I guess I forgot to click Post...

I found the following statues in the faxErrorCode of the to in the message store:


Undefined, NoFaxSendPermission, NoInternationalPermission, NoFaxMachine, NoAnswer, LineBusy, CallerHungUp, NotEnoughCredits, SentPartially, InternationalCallingDisabled, DestinationCountryDisabled, UnknownCountryCode, NotAccepted, InvalidNumber, CallDeclined, TooManyCallsPerLine, CallFailed, RenderingFailed, TooManyPages, ReturnToDBQueue, NoCallTime, WrongNumber, ProhibitedNumber, InternalError, FaxSendingProhibited, ThePhoneIsBlacklisted, UserNotFound, ConvertError, DBGeneralError, SkypeBillingFailed, AccountSuspended, ProhibitedDestination, InternationalDisabled


re: https://developers.ringcentral.com/api-reference/Message-Store/readMessage

<snip>

0 · ·
Nick R avatar image Nick R Phong Vu ♦♦ · 6 days ago


They are not an exact match to the ones you posted earlier for the call log and are per to but the legacy applications I have to deal with only send faxes to one recipient at a time so I don't mind looking up the information there.

The message store also happen to be the place you had told me to get the fax status from so these appear to be the codes I have to deal with.

It looks like Peter, the OP, might have also got his fax error codes from the same place as the codes he mentioned, CallFailed and LineBusy, more closely match the ones in the list I posted than the ones of the call log.

It looks like the message store call is much more low level and that's probably why it return codes while the c

The message store also happen to be the place you had told me to get the fax status from so these appear to be the codes I have to deal with.

<snip>

0 · ·
Nick R avatar image Nick R Phong Vu ♦♦ · 6 days ago

(They make a nice lookup key, I would have had to reformat the description to make them more usable to do that...)

Thank you and have a nice day,

all log one returns a description instead.

For translation I would have been able to deal with descriptions but I very much prefer codes like the message store returns because they are a lot easier to deal with.

(They make a nice lookup key, I would have had to reformat the description to make them more usable to do that...)

Thank you and have a nice day,

Nick

0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

question details

4 People are following this question.

Peter1140999004 follows this question Dave2526243036 follows this question Phong1426275020 follows this question Nicolas62442811004 follows this question
Answers Subscribe to Answers Answers and Comments Subscribe to Comments and Answers
  • Developer Home
  • ·
  • Community Guidelines
  • ·
  • Legal
  • ·
  • Privacy Notice