Question

How can a fax "to" be null?

  • 2 December 2019
  • 1 reply
  • 598 views

We are processing a lot of fax messages from the RingCentral api. Recently, we discovered a lot of the records in the fax log api have no recipient. For example:

{
  "uri" : "https://platform.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store?messageType=Fax&availability=Alive&dateFrom=2019-12-02T07:19:11.000Z&dateTo=2019-12-02T23:59:59.000Z&page=1&perPage=100",
  "records" : [ {
    "uri" : "https://platform.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store/1098879326020",
    "id" : 1098879326020,
    "from" : {
      "phoneNumber" : "+17323901763",
      "location" : "South River, NJ"
    },
    "type" : "Fax",
    "creationTime" : "2019-12-02T18:00:40.000Z",
    "readStatus" : "Unread",
    "priority" : "Normal",
    "attachments" : [ {
      "id" : 1098879326020,
      "uri" : "https://media.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store/1098879326020/content/1098879326020",
      "type" : "RenderedDocument",
      "contentType" : "application/pdf"
    } ],
    "direction" : "Inbound",
    "availability" : "Alive",
    "subject" : "+19089410855",
    "messageStatus" : "Received",
    "faxResolution" : "High",
    "faxPageCount" : 1,
    "lastModifiedTime" : "2019-12-02T18:00:40.769Z"
  }, {
    "uri" : "https://platform.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store/1098877522020",
    "id" : 1098877522020,
    "from" : {
      "phoneNumber" : "+17323900896",
      "location" : "South River, NJ"
    },
    "type" : "Fax",
    "creationTime" : "2019-12-02T17:49:41.000Z",
    "readStatus" : "Unread",
    "priority" : "Normal",
    "attachments" : [ {
      "id" : 1098877522020,
      "uri" : "https://media.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store/1098877522020/content/1098877522020",
      "type" : "RenderedDocument",
      "contentType" : "application/pdf"
    } ],
    "direction" : "Inbound",
    "availability" : "Alive",
    "subject" : "+19083157235",
    "messageStatus" : "Received",
    "faxResolution" : "High",
    "faxPageCount" : 1,
    "lastModifiedTime" : "2019-12-02T17:49:41.658Z"
  } ],
  "paging" : {
    "page" : 1,
    "totalPages" : 1,
    "perPage" : 100,
    "totalElements" : 2,
    "pageStart" : 0,
    "pageEnd" : 1
  },
  "navigation" : {
    "firstPage" : {
      "uri" : "https://platform.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store?messageType=Fax&availability=Alive&dateFrom=2019-12-02T07:19:11.000Z&dateTo=2019-12-02T23:59:59.000Z&page=1&perPage=100"
    },
    "lastPage" : {
      "uri" : "https://platform.ringcentral.com/restapi/v1.0/account/2793220020/extension/2793222020/message-store?messageType=Fax&availability=Alive&dateFrom=2019-12-02T07:19:11.000Z&dateTo=2019-12-02T23:59:59.000Z&page=1&perPage=100"
    }
  }
}

As you can see, the "to" field is completely missing. How is this possible? The status shows that the message was sent successfully. But according to this, it went nowhere! Is this a bug? We've seen a lot of these lately. We are attempting to assign these messages to a user extension, but we have no data to show what extension it was sent to.

Further, the subject field contains a phone number. I find that very odd as well.



1 reply

Userlevel 1

Is the response original or cut? It looks corrupted to me as it is mixing between Pager, Fax, SMS and Voicemail

"pgToDepartment": false,
"smsDeliveryTime": null,
"smsSendingAttemptsCount": null,
"subject": "+14149304071",
"to": null,
"type": "Fax",
"vmTranscriptionStatus": null

Can you read again with the messageType set to "Fax" only?

Reply