FaxOut slow

  • 1
  • Problem
  • Updated 4 months ago
  • (Edited)
Fax API is very slow and appears to miss random pages.  A 5 page document may be received in random order and over the course of 3 hours.
Photo of Neil Bouvier

Neil Bouvier

  • 530 Points 500 badge 2x thumb

Posted 4 months ago

  • 1
Photo of Anton Nikitin

Anton Nikitin, Official Rep

  • 2,522 Points 2k badge 2x thumb
Neil, is it in Production or Sandbox? Can you provide some additional information, e.g. from/to numbers and a time when you sent a fax?
Photo of Neil Bouvier

Neil Bouvier

  • 530 Points 500 badge 2x thumb
Production

Here are the results of the 5-page fax you sent from your phone number (888) 897-6679:NamePhone NumberDate and TimeResult+1 (518) 7257712Wednesday, January 24, 2018 at 12:22 PM
Photo of Anton Nikitin

Anton Nikitin, Official Rep

  • 2,522 Points 2k badge 2x thumb
Neil, we are investigating your case now. Can you please clarify how you detected this delay? Is it a time when the fax was actually received by recipient or the time you got confirmation by email? According to our logs it took ~17 minutes to send fax from our servers. 
Photo of Neil Bouvier

Neil Bouvier

  • 530 Points 500 badge 2x thumb
Users called and said "Why does it take 20 minutes to fax"?

Fax from RingCentral appear to run far more slowly than any of the other Fax APIs (eFax and Faxout).  Is this normal?
Photo of VB

VB, Official Rep

  • 1,290 Points 1k badge 2x thumb
Neil, Also, if you could clarify the below questions for us? 
1. Could you provide us with the original/sample doc that you are trying to send as faxes 
2. Do you have the same problem for all recipients? or for some numbers?

We could take this offline and you could mail me directly at devsupport@ringcentral.com or vyshakh.babji@ringcentral.com 
Photo of Neil Bouvier

Neil Bouvier

  • 530 Points 500 badge 2x thumb
I really can't.  Some have what could be considered PHI, other's have protected images.  

Same number.  Different experience each time with the same document.

Is 17 minutes in any way normal?
Photo of Neil Bouvier

Neil Bouvier

  • 530 Points 500 badge 2x thumb
I'm not using your REST API?  I'm using the RingCentral node api downloaded from your site,... at least I believe that's what I'm using.

Can you send a link to the REST API documentation?  If I'm not using it, I'll start ASAP.
Photo of John Wang

John Wang, Official Rep

  • 4,798 Points 4k badge 2x thumb
For fax, we have a legacy FaxOut API and a new REST API.

It sounds like you may be using our legacy FaxOut API because you mention you receive a "0" response for success which is what the older API returns:

https://success.ringcentral.com/articles/RC_Knowledge_Article/4593

The response values are:

0 - Successful
1 - Authorization failed
2 - Faxing is prohibited for the account
3 - No recipients specified
4 - No fax data specified
5 - Generic error

Our new REST API returns a JSON body specified here:

https://developer.ringcentral.com/api-docs/latest/index.html#!#SendFaxMessage

Here's an example REST API response which has much more info:
HTTP/1.1 200 OK
Content-Language: en-US
Content-Type: application/json; charset=UTF-8

{
  "uri" : "https.../restapi/v1.0/account/2704667004/extension/2704667004/message-store/3349583004",
  "id" : 3349583004,
  "to" : [ {
    "phoneNumber" : "+18005630003",
    "messageStatus" : "Queued"
  } ],
  "type" : "Fax",
  "creationTime" : "2015-12-10T10:18:09.000Z",
  "readStatus" : "Unread",
  "priority" : "Normal",
  "attachments" : [ {
    "id" : 3349583004,
    "uri" : "https.../restapi/v1.0/account/2704667004/extension/2704667004/message-store/3349583004/content/3349583004",
    "type" : "RenderedDocument",
    "contentType" : "application/pdf"
  } ],
  "direction" : "Outbound",
  "availability" : "Alive",
  "messageStatus" : "Queued",
  "faxResolution" : "High",
  "faxPageCount" : 0,
  "lastModifiedTime" : "2015-12-10T10:18:09.902Z",
  "coverIndex" : 7
} 
(Edited)
Photo of VB

VB, Official Rep

  • 1,290 Points 1k badge 2x thumb
Photo of Neil Bouvier

Neil Bouvier

  • 530 Points 500 badge 2x thumb
This is exactly what I'm doing.  I must have copied this code. 
Photo of John Wang

John Wang, Official Rep

  • 4,798 Points 4k badge 2x thumb
That's interesting since the code VB linked is for our REST API and the "0" response is from the FaxOut API.

Would you be able do a screen sharing session to debug this issue? It would be useful see what the HTML file looks like, even if just on a meeting.
(Edited)
Photo of Neil Bouvier

Neil Bouvier

  • 530 Points 500 badge 2x thumb
Is 17 minutes normal?  

I can put something together for you.  I haven't heard of any issues since Friday.
Photo of John Wang

John Wang, Official Rep

  • 4,798 Points 4k badge 2x thumb
The time to fax depends on a number of factors including size, page complexity and others so we need more information on the fax you're sending to provide a normal sending time.
Photo of Neil Bouvier

Neil Bouvier

  • 530 Points 500 badge 2x thumb
The same document to the same fax number and fax machine.  Could be 2 minutes, could be 3 hours.  When I get to my office, I'll contact you