PINE64
MMS Download Script - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: MMS Download Script (/showthread.php?tid=12119)

Pages: 1 2


RE: MMS Download Script - Zebulon Walton - 12-10-2020

(12-10-2020, 11:48 AM)kop316 Wrote: https://forum.pine64.org/showthread.php?tid=12456

It's being worked on! There are ways to send an MMS, but it is clunky right now. Right now thw bulk of the work is now to intergrate it into purple-mm-sms (which then into chatty). If folks have experience with this sort of thing, help would be appreciated though.

For messaging people in the U.S. and Canada the major providers (except Google Voice) maintain SMS/MMS-to-email gateways, so you can send and receive text messages via email. I've done that and it works fine. That might be a workaround for some.

https://www.freesmsgateway.info/

(I don't know about the availability of this kind of service in other countries.)


RE: MMS Download Script - antiX-Dave - 12-12-2020

I have not looked into sending mms messages too much.
Is there a roadmap for the current mms additions? I have started to working on it by converting and updating an old python2 project to python3 but do not have it working correctly. I can push this to gitlab if anyone is interested in it. I have an instance of owncloud myself and just share what I would like through that, sending the url via sms.


RE: MMS Download Script - kop316 - 12-12-2020

(12-12-2020, 06:17 PM)antiX-Dave Wrote: I have not looked into sending mms messages too much.
Is there a roadmap for the current mms additions? I have started to working on it by converting and updating an old python2 project to python3 but do not have it working correctly. I can push this to gitlab if anyone is interested in it. I have an instance of owncloud myself and just share what I would like through that, sending the url via sms.

I have been helping to integrate MMS into Chatty, so that is my ultimate goal is to see that being done. There isn't a "roadmap" per se, but I outlined what is remaining to get that done here (I am just helping out in my free time, so help is welcome!):

https://forum.pine64.org/showthread.php?tid=12456&pid=85474#pid85474

I would actually look at the forked mms code:

https://source.puri.sm/fuzzy7k/mmsd

You can use python to send MMS via mmsd (and it works pretty well, it supports group chat and MMS). You should be able to recieve MMS as well via python too with it.

There is also work to integrate it into chatty:
https://forum.pine64.org/showthread.php?tid=12491&pid=85668#pid85668

How to send MMS is outlined here: https://source.puri.sm/Librem5/purple-mm-sms/-/issues/20#note_132496


RE: MMS Download Script - antiX-Dave - 12-13-2020

(12-10-2020, 10:36 AM)Gribouille Wrote: Thank you @"antiX-Dave", I've used your script with the @fdlamotte's adjustment.

But, I've forgotten to add the mandatory package Confused . I've some phone numbers but nothing else, and now nothing to try the script.

I would know how to send a MMS with the Pinephone and Mobian.

If you still have the messages in the temp/work directory, you can open them with a text editor then use the curl command.
Code:
curl --interface wwan0 --proxy Your-mms-proxy:your-mms-proxy-port "http link from sms file" -o ./out.mms

then you can run recoverjpeg manually on the files.
Code:
recoverjpeg -b1 ./out.mms -o ./ -f mypicture1.jpg