Messages will be created as posts, with status = 'incoming'
We may need to create a static post form to receive these..
Add a listing of 'incoming' posts as a link in the workspace. Admin only?
Reuse SMS plugins from Ping
End points for at least
FrontlineSMS
SMSSync
Pull data from at least
twitter
Mapping a message to a post:
Date -> ? (add a post_date field?)
Title (email subject, rss title) -> Title
Message Detail (twitter msg, email body, sms) -> Content
Location -> custom field..
Extra details in 'message' table:
Service: Twitter/SMS/RSS/Etc
ServiceMsgId: ie. twitter message id.
ToContactID : Join to contact table
FromContactID : Join to contact table
Contact table:
Service: Twitter/SMS/RSS/Etc
Detail: Phone number/Twitter Username/ Email Address
User ID: Null or associated user.
Enable pulling posts from SMS and Twitter
Mapping a message to a post: Date -> ? (add a post_date field?) Title (email subject, rss title) -> Title Message Detail (twitter msg, email body, sms) -> Content Location -> custom field..
Extra details in 'message' table: Service: Twitter/SMS/RSS/Etc ServiceMsgId: ie. twitter message id. ToContactID : Join to contact table FromContactID : Join to contact table
Contact table: Service: Twitter/SMS/RSS/Etc Detail: Phone number/Twitter Username/ Email Address User ID: Null or associated user.