#6 More flexible modem text line format

open
nobody
None
5
2012-09-29
2011-07-31
Anonymous
No

It would be nice, if ncidd could be used with modems (and other devices) which do not supply NMBR=, NAME=, etc. lines.

A possible solution might be the ability to name a filter program/script which reads the modem output from stdin and writes it with some modifications to stdout. After modem setup, ncidd would pipe all data received from the modem through the filter before looking for CID data.
Such a filter program could also add TIME= and DATE= (if not provided by the modem) based on the operating system time or handle aliases and blacklisting in a more flexible way.

Here are a few examples of the modem output for calling party id=1234, called party id=9876:

The Eicon Diva Server card under Linux provides calling party id and called party id in the "RING" line like (depending on AT#CID=<number>):
"RING CID: 1234"
or:
"RING CID: 1234 DAD: 9876"
or:
"RING;1234;9876"

The Zyxel Omni TA128 provides CID like this:
"RING"
"FM:1234 TO:9876"

It would also be nice if ncid could handle the called party id.

Discussion

  • This is definitely worthwhile. Will start collecting more information on it and start reviewing the ncidd modem code.

     


Anonymous


Cancel   Add attachments