Thread View: comp.lang.rexx
4 messages
4 total messages
Started by Brian {Hamilton Kelly}
Mon, 09 Jul 2001 09:06
Reading from CallerID v1.7 through a pipe
Author: Brian {Hamilton Kelly}
Date: Mon, 09 Jul 2001 09:06
Date: Mon, 09 Jul 2001 09:06
40 lines
3324 bytes
3324 bytes
[Excuse the cross-posts; I hope I'm reaching the proper constituency]
This question concerns CallerID v1.7, an OS/2 program which monitors an
ISDN TA through CAPI and displays the number (or name, if known) of any
incoming calls. I've been using the program for about three years, and
used an older version (v1.3) before that, so probably have had it in use
for five years or more.
The program can be configured to write its output to a named pipe, as
well as to the screen. One is then supposed to be able to read from
that named pipe and thus handle the information programmatically (for
example, one could recognize a call from a particular number, or even to
a particular MSN/EAZ, and use it to bring up a dial-on-demand
connection, remotely).
However, I've encountered a problem in reading from the pipe in Rexx
(Object Rexx, if it's significant).
I've (eventually) used SysWaitNamedPipe() to ensure that the pipe is
available before trying to read. Using CharIn() I can read characters
from the output of CallerID. However, the latter program never outputs
a CRLF, so I cannot use LineIn() to recognize one "transaction"
(corresponding to an incoming call). Moreover, the Chars() function
always returns true, even when all currently generated characters have
been read from the pipe, so I cannot rely upon that to tell me when I've
read the entirety of a "transaction".
Has anyone else tried (and succeeded?!?) in writing a Rexx program to
read the \PIPE\CallerID input device?
Incidentally, I discovered that using Stream( PipeName, 'c', 'open
read') always returns "ERROR:23". Looking in Deja/Google suggests that
this code is something to do with Win-OS/2, but that's definitely not
the case here.
Example code would be gratefully received :-)
--
Brian {Hamilton Kelly} bhk@dsl.co.uk
B.Hamilton.Kelly@rmcs.cranfield.ac.uk
Re: Reading from CallerID v1.7 through a pipe
Author: dlistwoodall
Date: Mon, 09 Jul 2001 10:30
Date: Mon, 09 Jul 2001 10:30
56 lines
3668 bytes
3668 bytes
In <3B497421.2B8C@rmcs.cranfield.ac.uk>, on 07/09/01
at 10:06 AM, Brian {Hamilton Kelly}
<B.Hamilton.Kelly@rmcs.cranfield.ac.uk> said:
>[Excuse the cross-posts; I hope I'm reaching the proper constituency]
>This question concerns CallerID v1.7, an OS/2 program which monitors an
>ISDN TA through CAPI and displays the number (or name, if known) of any
>incoming calls. I've been using the program for about three years, and
>used an older version (v1.3) before that, so probably have had it in use
>for five years or more.
Brian
Is the "Caller ID" program you are using written by
Craig Morrison?
OS/2 Ctrl+Esc = Window List Type HELP = help 6:26:47 Mon 7-09-2001
A 5-01-97 8:17:06p 9136 changes
A 5-01-97 8:17:06p 52805 cid.exe
A 6-09-98 12:14:06a 130906 cidos211.exe
A 7-08-01 9:32:42p 129089 com1cid.log
A 7-07-01 12:52:14p 35415 com1port.log
A 6-17-00 3:56:20p 0 com2cid.log
A 6-17-00 3:56:20p 0 com2port.log
A 5-01-97 8:17:06p 892 license.cid
A 5-01-97 8:17:06p 40 noswap.cid
A 5-01-97 8:17:06p 21519 packdat.exe
A 7-07-01 2:52:12p 24323 phone.ini
A 5-01-97 8:17:06p 8370 phonshot.jpg
A 5-01-97 8:17:06p 15379 readme.cid
G:\callerid\*
26 Files > 764530 bytes OR 0.729 Meg 1 Subdirectories Total
Directory Size > 764530 bytes OR 0.729 Meg
G: > 1859.908 Meg free OUT OF -1593.-719 Meg
[G:\callerid]
The "readme.cid" says what I have is version 0.11.
I have been trying to get in contact with the author for a few years
now, but he sees to have dug a hole, jumped in, and pulled the cover over
the top.
Thanks
--
Don Woodall shooting electrons at you from Grand Rapids, Michigan.
Computing with IBM's OS/2 Warp, Merlin Convenience Pack Beta, eCS
Communicating with Nick Knight's MR/2 ICE, Version 2.28a S/N 393.
This OS/2 system uptime is 5 days 23:40 hours :^( (en).
-----------------------------------------------------------
dlistwoodall@home.com
-----------------------------------------------------------
Re: Reading from CallerID v1.7 through a pipe
Author: Brian {Hamilton Kelly}
Date: Mon, 09 Jul 2001 11:21
Date: Mon, 09 Jul 2001 11:21
33 lines
2723 bytes
2723 bytes
dlistwoodall@home.com wrote:
>
> In <3B497421.2B8C@rmcs.cranfield.ac.uk>, on 07/09/01
> at 10:06 AM, Brian {Hamilton Kelly}
> <B.Hamilton.Kelly@rmcs.cranfield.ac.uk> said:
>
> >[Excuse the cross-posts; I hope I'm reaching the proper constituency]
>
> >This question concerns CallerID v1.7, an OS/2 program which monitors an
> >ISDN TA through CAPI and displays the number (or name, if known) of any
> >incoming calls. I've been using the program for about three years, and
> >used an older version (v1.3) before that, so probably have had it in use
> >for five years or more.
>
> Brian
>
> Is the "Caller ID" program you are using written by
> Craig Morrison?
Nope; I realized (as always, just *after* pressing the "Send" button)
that I'd omitted to mention the authors of the CallerID program that I'm
using. They are:
Joerg-Stefan Sell
Willibald Meyer (of ISDNpm fame)
Volker Weber
I believe the program you mentioned is for CLID via a suitably capable
modem, whereas the one I'm using gets the information from the ISDN call
packets.
--
Brian {Hamilton Kelly} bhk@dsl.co.uk
B.Hamilton.Kelly@rmcs.cranfield.ac.uk
Re: Reading from CallerID v1.7 through a pipe
Author: dlistwoodall
Date: Mon, 09 Jul 2001 11:55
Date: Mon, 09 Jul 2001 11:55
51 lines
3442 bytes
3442 bytes
In <3B4993C2.6AF8@rmcs.cranfield.ac.uk>, on 07/09/01
at 12:21 PM, Brian {Hamilton Kelly}
<B.Hamilton.Kelly@rmcs.cranfield.ac.uk> said:
>dlistwoodall@home.com wrote:
>>
>> In <3B497421.2B8C@rmcs.cranfield.ac.uk>, on 07/09/01
>> at 10:06 AM, Brian {Hamilton Kelly}
>> <B.Hamilton.Kelly@rmcs.cranfield.ac.uk> said:
>>
>> >[Excuse the cross-posts; I hope I'm reaching the proper constituency]
>>
>> >This question concerns CallerID v1.7, an OS/2 program which monitors an
>> >ISDN TA through CAPI and displays the number (or name, if known) of any
>> >incoming calls. I've been using the program for about three years, and
>> >used an older version (v1.3) before that, so probably have had it in use
>> >for five years or more.
>>
>> Brian
>>
>> Is the "Caller ID" program you are using written by
>> Craig Morrison?
>Nope; I realized (as always, just *after* pressing the "Send" button)
>that I'd omitted to mention the authors of the CallerID program that I'm
>using. They are:
> Joerg-Stefan Sell
> Willibald Meyer (of ISDNpm fame)
> Volker Weber
>I believe the program you mentioned is for CLID via a suitably capable
>modem, whereas the one I'm using gets the information from the ISDN call
>packets.
Brian
The program works just fine with my U. S. Robotics Courier.
However, I have not been able to find a physically small cheap modem
what will work with it.
Thanks
--
Don Woodall shooting electrons at you from Grand Rapids, Michigan.
Computing with IBM's OS/2 Warp, Merlin Convenience Pack Beta, eCS
Communicating with Nick Knight's MR/2 ICE, Version 2.28a S/N 393.
This OS/2 system uptime is 5 days 23:40 hours :^( (en).
-----------------------------------------------------------
dlistwoodall@home.com
-----------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads