[LBBS-110] Support TDD message lines
Create a TDD send message line that would allow messages to be easily sent from a TDD.
A common use case for this would be sending asynchronous messages from public places, like airports, which are a common place to find TDDs these days.
The interface would be as simple as dialing into the Softmodem application in Asterisk, and sending some kind of key to identify the recipient, along with a message.
When the ENTER key is pressed at the end, that will send the message. The only way to cancel would be hanging up.
Possible options:
- Send a PhreakNet page, keyed on the 7-digit phone number. Body is a page that will be delivered to the PhreakNet user as a PhreakNet page.
- Send an SMS message to a 10-digit PSTN number (yuck!)
- Send an email. TDDs do not have an 'at' key, so the key would need to be modified, possibly using the LBBS workaround of adopting
!as a stand-in for@ - Send a message to an IRC user, keyed on the nick.
- Implement the message send protocol or Finger with TDD listener, since this seems VERY similar to it. BBS users could have some of customization applied to their account to control how these messages are delivered to them.
- Support combos/all of the above, since we can probably distinguish most of these from each other
Another option for some of the more "complicated" keys, such as email addresses, is to use some kind of short numeric ID as a key, but this would require a separate mapping.
I am leaning towards omitting any kind of "authentication", as that may not be reliable on all TDDs (depending on the quality of the phone connection), and doesn't serve all that much of a purpose. The "sender" (such as in the email name) can simply by the phone number from which the call to the service was received.
As far as implementation, it probably makes sense to implement this as a completely separate thing from the BBS, UNLESS we opt for a Message Send Protocol interface, since LBBS already implements MSP.
The only barrier to this currently seems to be that MSP only delivers ephemeral messages, and also the message format includes fields that users would not want to send manually. We need a simpler protocol, such as a simplified MSP which could be called the "TDD Message Protocol". This way, the softmodem could simply be wired to the TMP port, which simply looks for this via TCP: <RECIPIENT> <SP> <MESSAGE> <CR/LF>
The sender's phone number would be available on the Asterisk side, and we would need to figure out how from the BBS, we can determine which Asterisk channel the call is associated with in order to get the Caller Number information.
Comments
You must be logged in to leave a comment.