question

Peter Batushansky avatar image
Peter Batushansky asked ·

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
1 |1000 characters needed characters left characters exceeded

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 answered ·

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


1 |1000 characters needed characters left characters exceeded

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 ·

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
1 |1000 characters needed characters left characters exceeded

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

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 Likes 0 ·

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 Likes 0 ·


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 Likes 0 ·

(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 Likes 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.