Skip to content

Add ability for sexpots to run external program and pass cid parameters

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 Feb 9 01:46:01 wibble sexpots-line1: Received from modem: 'NMBR=203' Feb 9 01:46:01 wibble sexpots-line1: Modem Message: NMBR=203 Feb 9 01:46:01 wibble sexpots-line1: Received from modem: 'DATE=0209' Feb 9 01:46:01 wibble sexpots-line1: Modem Message: DATE=0209 Feb 9 01:46:01 wibble sexpots-line1: Received from modem: 'TIME=0145' Feb 9 01:46:01 wibble sexpots-line1: Modem Message: TIME=0145 Feb 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 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.