Use the XMPP Multi-User Chat (MUC) feature[1] for SMS conversations instead of
"sms:" and "reply:". MUC allows users to hold conversations in "private rooms"
hosted on the server. In the case of TalkMyPhone, one room would be used for
each phone number the user is conversing with via SMS.
Use Case 1:
User wants to begin an SMS chat with Bob Smith. He sends the command "chat:Bob
Smith" to TMP. TMP then creates an appropriately-named MUC room and invites the
user to this room. Any messages the user types in this room are sent via SMS to
Bob Smith, and any incoming SMS from Bob Smith are sent to this room.
Use Case 2:
User receives a new SMS from Alice Jones; no existing MUC room exists yet for
Alice. TMP creates the room and invites the user to this room.
[1]http://xmpp.org/extensions/xep-0045.html
Original issue reported on code.google.com by t...@etjohnson.us on 14 Oct 2010 at 7:04
Original issue reported on code.google.com by
t...@etjohnson.us
on 14 Oct 2010 at 7:04