• Add ability for sexpots to run external program and pass cid parameter

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Wed Feb 8 23:59:22 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/514

    In the [TCP] section, I would like to be able to run an external program rather use a telnet connection. I should be able to pass number. name, time and date from callerid and connect message, so may need to way to tell sexpots what to look for before carrier detected.Example<code>Feb 9 01:46:01 wibble sexpots-line1: Received from modem: 'NMBR=203'Feb 9 01:46:01 wibble sexpots-line1: Modem Message: NMBR=203Feb 9 01:46:01 wibble sexpots-line1: Received from modem: 'DATE=0209'Feb 9 01:46:01 wibble sexpots-line1: Modem Message: DATE=0209Feb 9 01:46:01 wibble sexpots-line1: Received from modem: 'TIME=0145'Feb 9 01:46:01 wibble sexpots-line1: Modem Message: TIME=0145Feb 9 01:46:01 wibble sexpots-line1: Received from modem: 'NAME=Line 3'Feb 9 01:46:01 wibble sexpots-line1: Modem Message: NAME=Line 3</code>maybe have something like NUMBER="NMBR=" and DATE="Date=" etc. I don't know if all caller ids produce the same format. Anyway, you get the idea, I'm sure. Thank you.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Thu Feb 9 00:12:17 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/514#note_3192

    I'm not clear what you mean by "rather use a telnet connection" - "rather *than* use a telnet connection"? So it executes some program that does what? Are you expecting the I/O of this program that is executed to somehow be redirected to the COM port?
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Thu Feb 9 00:43:30 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/514#note_3193

    Yes, rather than and yes. That would be the hope. Not sure how feasible it is, if at all. I want to write my own program to act as a client that'll then communicate with the BBS. Maybe I just need to write my own script if it's not possible. We can maybe discuss on irc tomorrow so I can explain what I'm trying to achieve.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Thu Feb 9 17:12:25 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/514#note_3220

    It sounds like you want to a different program (maybe mgetty?) which is designed for such a purpose (connecting dial-in users with Unix stdio processes). SexPOTS doesn't do this: it connects dial-in users with a TCP server.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)