Handles incoming MMS and uploads all attachments to S3 with public access. Created urls are sent back via SMS.
Bandwidth User Id
Bandwidth API Token
Bandwidth API Secret
Amazon Access Key Id
Amazon Secret Access Key
Amazon S3 bucket name (should exists)
# Fill .env file with right values bundle install # to install dependencies bundle exec puma -p 8080 # Open external access to this app (in another terminal) ngrok http 8080 # Copy created by ngrok url
Open your Bandwidth account and create (or use existing) application withParameter Example
Assign to this application 1 or more phone numbers.
Now you can send MMS to these numbers. All attachments will be uploaded to Amazon S3 bucket and you will receive public urls to them via SMS.