question

Barney Stone avatar image
Barney Stone asked Phong Vu commented

Image attached to SMS can't be viewed

I am trying to attach an image to an SMS created by my app. When I view the resulting message once I receive it on my phone or tablet, I see the attachment, but if I click on it I just see the word "Photo", followed by JPEG Image or PNG Image (depending on what I tried to send) and the image size. I can't actually see the image. Any idea what I could be doing wrong?

rest api
1 |3000

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

Any kind of image or just a particular image? Try this simple image and let me know.test.jpg


test.jpg (16.0 KiB)
1 |3000

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

Barney Stone avatar image
Barney Stone answered

Same result. I see the message, but can't see the image. Here is the response I get when I send the message:

{

"uri" : "https://platform.devtest.ringcentral.com/restapi/v1.0/account/296240004/extension/296240004/message-store/9648411004",

"id" : 9648411004,

"to" : [ {

"phoneNumber" : "+1(a valid phone #)"

} ],

"from" : {

"phoneNumber" : "+1(my sandbox phone #)",

"name" : "Barney Stone",

"location" : "Los Angeles, CA"

},

"type" : "SMS",

"creationTime" : "2021-06-14T19:36:43.000Z",

"readStatus" : "Read",

"priority" : "Normal",

"attachments" : [ {

"id" : 9648411004,

"uri" : "https://platform.devtest.ringcentral.com/restapi/v1.0/account/296240004/extension/296240004/message-store/9648411004/content/9648411004",

"type" : "Text",

"contentType" : "text/plain"

}, {

"id" : 2368032004,

"uri" : "https://media.devtest.ringcentral.com/restapi/v1.0/account/296240004/extension/296240004/message-store/9648411004/content/2368032004",

"type" : "MmsAttachment",

"contentType" : "image/jpeg",

"size" : 8170,

"fileName" : "test.jpg"

} ],

"direction" : "Outbound",

"availability" : "Alive",

"subject" : "Test SMS using a RingCentral Developer account - Test with image",

"messageStatus" : "Queued",

"smsSendingAttemptsCount" : 1,

"conversationId" : 4887734925872257461,

"conversation" : {

"id" : "4887734925872257461",

"uri" : "https://platform.devtest.ringcentral.com/restapi/v1.0/conversation/4887734925872257461"

},

"lastModifiedTime" : "2021-06-14T19:36:43.893Z"

}


1 |3000

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

So the recipient number is your mobile number and on iPhone and tablet? Can you send a test MMS from the RingCentral soft phone?

This works normally for others, so you need to try several ways to see what could be the root cause.

1 |3000

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

Barney Stone avatar image
Barney Stone answered Phong Vu commented

What is a soft phone? I can't find any reference to it in the developer documentation.

3 comments
1 |3000

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 ♦♦ commented ·

https://support.ringcentral.com/download.html

Scroll to the "RC Phone - Desktop" and select the appropriate platform to download.

Switch to the "sandbox mode" before logging in the app:

MacOS: press “fn + command + f2” keys

Windows: press “Ctrl + F2” keys

0 Likes 0 ·
Barney Stone avatar image Barney Stone Phong Vu ♦♦ commented ·

Tried that, but didn't get too far. Windows version. ctrl+F2 does nothing. ctrl+f1 brings up a menu, but nothing about sandbox mode. And I can't log in - it won't accept the same user name and password that the sandbox accepts for sending and downloading messages. And I'm not sure how that app would help me anyway. Why is there NO documentation for any of this?

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Barney Stone commented ·

It works for everyone. Do some self-service, search the site for previous discussions/instructions.

0 Likes 0 ·

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys