AGWA / sms-over-xmpp

XMPP Component (XEP-0114) to send and receive SMS
Other
77 stars 10 forks source link

What is the status for MMS messaging? #42

Open k0d3g3ar opened 3 years ago

k0d3g3ar commented 3 years ago

Not sure if that is the best way to ask this question. Basically I can't send a photo from my camera when attaching it to a message on Conversations. I just get back a failed status on that. All regular SMS text messages go through just fine (this is with Twilio). Not sure if this is a Prosody configuration issue, or whether the current code supports MMS...

ossguy commented 3 years ago

According to https://github.com/AGWA/sms-over-xmpp/commit/3f5107efe30a039722347ed26b3ea56b1368293f (per #8) that should work fine. Have you tried sending a photo using Gajim?

Generally if Prosody is configured correctly with the HTTP Upload plugin, then your images will get sent over XMPP in a way that the above code would expect to receive them.

AGWA commented 3 years ago

MMS is supported, using XEP-0066 (required for sending and receiving) and XEP-0363 (required for sending only). Prosody supports XEP-0066 just fine, but for XEP-0363 you need to install a module. Personally, I use mod_http_upload_s3, which is very straightforward to configure but does requires you to use Amazon S3. I'm not sure if Conversations supports XEP-0066 and XEP-0363 but some quick Google searching suggests that it does.

k0d3g3ar commented 3 years ago

So is it just a matter of having that Prosody module installed, and it will just magically work? No changes or settings in sms-over-xmpp at all? I am self-hosted on Prosody, and run a small data center here, so we can handle our own file uploads, etc. I'll review those standards and work out what to do for support in Prosody.

AGWA commented 3 years ago

Correct - there's no need to configure MMS in sms-over-xmpp itself.