Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
util:sexpots [2010/02/24 15:20] – digitalman | util:sexpots [2013/09/20 23:39] – [Configuration] Added manual answer options digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== SEXPOTS ====== | ====== SEXPOTS ====== | ||
- | FIXME | + | Synchronet External Plain Old Telephone System (POTS) Support |
+ | |||
+ | ===== Overview ===== | ||
+ | |||
+ | Synchronet BBS Software version 3 was designed for client connections over TCP/IP protocols only (predominently, | ||
+ | |||
+ | I've resisted this idea (for a few significant reasons I won't go into here), and have instead, suggested alternative methods of supporting dial-up users (e.g. running Synchronet v2.3 for DOS concurrently with v3, using *getty on Linux/Unix, using Manning' | ||
+ | |||
+ | I knew exactly what was required to write a Serial< | ||
+ | |||
+ | Better late than never (?), I finally started writing this a program a few months ago (early 2007). I had to buy an analog modem (I'd thrown-out or donated all my modems years ago) and get a second phone line installed to test it, but finally, here it is: SEXPOTS (the name pays homage to [[SEXYZ]]). | ||
+ | |||
+ | While SEXPOTS was designed with Synchronet-Win32 sysops in mind, it should work with any TCP Server (e.g. Telnet BBS software). | ||
+ | |||
+ | I recently discovered a couple of unrelated Win32 programs by the name of COM2TCP which do fundamentally the same thing as SEXPOTS, but SEXPOTS is more robust/ | ||
+ | |||
+ | ==== Features ==== | ||
+ | |||
+ | * Can run from command prompt or as an NT service | ||
+ | * Handles modem initialization or "Null modem" connections | ||
+ | * Supports Telnet (with full option negotiation) or raw TCP connections | ||
+ | * Can accept " | ||
+ | * Caller-ID (CID) Support | ||
+ | * Optional Ident server to communicate CID information to TCP Server | ||
+ | * Telnet options used to communicate baud rate and CID info to TCP server | ||
+ | * Highly configurable (via '' | ||
+ | |||
+ | |||
+ | ===== Distribution ===== | ||
+ | |||
+ | SEXPOTS is freeware, licensed under the GNU General Public License ([[http:// | ||
+ | |||
+ | You can find the current source code (in C) in the Synchronet [[dev:CVS]] repository. | ||
+ | |||
+ | The latest and greatest build will be included in Synchronet-Win32 releases. | ||
+ | You should be able to find/ | ||
+ | (sexpots.zip) at one or all of the following locations: | ||
+ | |||
+ | * http:// | ||
+ | * ftp:// | ||
+ | * ftp:// | ||
+ | * telnet:// | ||
+ | |||
+ | ===== Command-line Syntax ===== | ||
+ | Running '' | ||
+ | < | ||
+ | usage: sexpots [ini file] [options] | ||
+ | |||
+ | Options: | ||
+ | |||
+ | -null No 'AT commands' | ||
+ | -com < | ||
+ | -baud < | ||
+ | -live [handle] | ||
+ | -nohangup | ||
+ | -host <addr | name> | ||
+ | -port < | ||
+ | -debug | ||
+ | </ | ||
+ | |||
+ | Additional options for Windows version: | ||
+ | |||
+ | < | ||
+ | NT Service Options: | ||
+ | |||
+ | -install | ||
+ | -service | ||
+ | -remove | ||
+ | -enable | ||
+ | -disable | ||
+ | </ | ||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | No installation is required. You should be able to just run " | ||
+ | |||
+ | On Windows NT-based operating systems, you may install SEXPOTS as an NT service (runs in the background when your system boots up, before user login), by running '' | ||
+ | |||
+ | |||
+ | ===== Configuration ===== | ||
+ | |||
+ | Configuration is normally performed by editing the file '' | ||
+ | |||
+ | Optionally, a different [[config: | ||
+ | |||
+ | Command-line options that modify values of the same name in the '' | ||
+ | |||
+ | The order of precendence for configuration values is (lower number is higher precedence): | ||
+ | - Command-line options | ||
+ | - Command-line specified '' | ||
+ | - '' | ||
+ | - Default values | ||
+ | |||
+ | The '' | ||
+ | |||
+ | Example .ini file (with default values given): | ||
+ | <file sexpots.ini> | ||
+ | LogLevel = INFO ; set display/log output level | ||
+ | Debug = FALSE ; enable debug logging (overrides LogLevel) | ||
+ | PauseOnExit = FALSE ; wait for key-press on exit (non-service) | ||
+ | |||
+ | [COM] | ||
+ | Device = COM1 ; COM port device name (or port number) | ||
+ | BaudRate = 0 ; If non-zero, use this DTE rate (e.g. 115200) | ||
+ | Hangup = TRUE ; Hang-up phone after call | ||
+ | IgnoreDCD = FALSE ; Set to TRUE to ignore state of DCD | ||
+ | DCDTimeout = 10 ; Seconds to wait for DCD to drop | ||
+ | DTRDelay = 100 ; Milliseconds to delay before hangup | ||
+ | NullModem = FALSE ; Set to TRUE to not send AT commands to modem | ||
+ | |||
+ | [Modem] | ||
+ | Init = AT& | ||
+ | AutoAnswer = ATS0=1 | ||
+ | CleanUp = ATS0=0 | ||
+ | EnableCallerID = AT+VCID=1 | ||
+ | Timeout = 5 ; Seconds to wait for a response from modem | ||
+ | ReInit = 60 ; Minutes of inactivity while waiting for caller before re-initialization | ||
+ | Answer = ATA ; Answer command | ||
+ | Ring = RING ; Ring indication (from modem) | ||
+ | ManualAnswer = FALSE ; Set to TRUE to disable auto-answer and use ring detection/ | ||
+ | |||
+ | [TCP] | ||
+ | Host = localhost | ||
+ | Port = 23 ; TCP port number of TCP server | ||
+ | NoDelay = TRUE ; Set to TRUE to disable the Nagle Algorithm | ||
+ | |||
+ | [Telnet] | ||
+ | Enabled = TRUE ; Set to FALSE to disable Telnet mode | ||
+ | Debug = FALSE ; Set to TRUE to log Telnet commands sent/recv | ||
+ | AdvertiseLocation = FALSE ; Set to TRUE to send "WILL SEND LOCATION" | ||
+ | TermType = SEXPOTS | ||
+ | TermSpeed = 28800, | ||
+ | |||
+ | [Ident] | ||
+ | Enabled = FALSE ; Set to TRUE to enable Ident (RFC1413) server | ||
+ | Port = 113 ; TCP Port Ident server will listen on | ||
+ | Interface = 0 ; IP address of network interface (0=Any) | ||
+ | Response = CALLERID: | ||
+ | </ | ||
+ | |||
+ | Note: SEXPOTS v1.25 and earlier did not supports comments on '' | ||
+ | |||
+ | Note: Support for the '' | ||
+ | ===== NT Service Control ===== | ||
+ | |||
+ | If installed as an NT service, SEXPOTS can be started and stopped using the " | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | sc start sexpots | ||
+ | |||
+ | sc query sexpots | ||
+ | |||
+ | sc stop sexpots | ||
+ | |||
+ | net start sexpots | ||
+ | |||
+ | net stop sexpots | ||
+ | |||
+ | ===== Notes on Advanced Features ===== | ||
+ | |||
+ | :!: NOTE: Requires Synchronet v3.14b or later | ||
+ | |||
+ | SEXPOTS will report the connection (DCE) rate to a Synchronet Terminal Server using the Telnet " | ||
+ | |||
+ | SEXPOTS can report Caller-ID information to the Synchronet Terminal Server using the Telnet " | ||
+ | caller' | ||
+ | |||
+ | Alternatively, | ||
+ | |||
+ | Using Synchronet v3.14a or earlier, the Synchronet Terminal Server will detect the caller as just another Telnet connection, but coming in from the local network interface (IP address). | ||
+ | |||
+ | ===== Linux/Unix Version ===== | ||
+ | |||
+ | There is a preliminary *nix port of SEXPOTS in [[dev: | ||
===== See Also ===== | ===== See Also ===== | ||
+ | * [[: | ||
* [[: | * [[: | ||