Currently, when you delete an SMS or MMS, it's only deleted from the local database, not from Twilio itself. I see no reason to delete the text content, as it costs nothing to store it and it never hurts to have a history of all your old messages. However, Twilio does charge to store media, so when deleting an MMS, I think OpenVBX should provide an option to also delete any media attachments from the Twilio archive.
I believe an elegant way to implement this would be to add a Delete Media checkbox next to the delete button. If this checkbox is enabled, it would leave the text content intact at Twilio, but delete any associated media attachments. The user should also be able to select a default behavior in Settings->System Config.
As an aside, I think it would be beneficial to change the labeling of the Delete button to "Archive", to more accurately describe its behavior,.
Currently, when you delete an SMS or MMS, it's only deleted from the local database, not from Twilio itself. I see no reason to delete the text content, as it costs nothing to store it and it never hurts to have a history of all your old messages. However, Twilio does charge to store media, so when deleting an MMS, I think OpenVBX should provide an option to also delete any media attachments from the Twilio archive.
I believe an elegant way to implement this would be to add a Delete Media checkbox next to the delete button. If this checkbox is enabled, it would leave the text content intact at Twilio, but delete any associated media attachments. The user should also be able to select a default behavior in Settings->System Config.
As an aside, I think it would be beneficial to change the labeling of the Delete button to "Archive", to more accurately describe its behavior,.