Frontend Software

Issues:

  • Reconnect TCP Session
  • Unable to reconnect - how to log locally
  • Keepalives for NAT?
  • SMS Sending

Do I just connect each time I want to send data? That'll probably work. Resolves keepalives and reconnecting a dead TCP session

Current code is SipConsole.pl

Procedure

Data Received:
  Attempt to connect
  Connected:
    does spooled data exist?
       Send spooled data
    Send received data
    ack OK ? else spool data I guess
  Unable to connect:
    spool data on filesystem

That seems sane. There also needs to be alarms .. I'm guessing SMS's would be the best way.

SMS Sending

Use the internal modem, connect to 0418707767 8,n,1 and send number\nmessage\n

Protocol

Connect to server on port whatever (23456?)
Send up to 12 characters [A-Za-z1-9] for the sitename
Send the text
close the connection

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial-Share Alike 2.5 License.