Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TAPI - line monitoring?

42 views
Skip to first unread message

ethrbunny

unread,
Nov 16, 2009, 7:45:01 AM11/16/09
to
Im working on a research project where we need to monitor phone line
activity. I can see where a TAPI modem could provide information about
incoming calls but Im not having much success with out-going.

Ideally I'd like to know when the phone is 'off-hook' and what digits are
dialed.

We have laptop PC's in our subjects' homes for other aspects of this study
so the modem in question will need to be USB. I have a 'Rosewill' model at
the moment which doesn't appear to support caller-id. If someone has a
recommendation for a better model / manufacturer I'd appreciate that info.

Bob

unread,
Nov 16, 2009, 9:12:35 AM11/16/09
to
On Nov 16, 7:45 am, ethrbunny <ethrbu...@discussions.microsoft.com>
wrote:

The Rosewill RNX-56USB modem? The one I have supports
caller-id and voice just fine under Windows XP with just the
default initializations XP normally does. What OS are you
running?

-- Bob Day
http://bobday.vze.com

ethrbunny

unread,
Nov 16, 2009, 12:31:01 PM11/16/09
to

"Bob" wrote:

> On Nov 16, 7:45 am, ethrbunny <ethrbu...@discussions.microsoft.com>
> wrote:
> > Im working on a research project where we need to monitor phone line
> > activity. I can see where a TAPI modem could provide information about
> > incoming calls but Im not having much success with out-going.
> >
> > Ideally I'd like to know when the phone is 'off-hook' and what digits are
> > dialed.
> >
> > We have laptop PC's in our subjects' homes for other aspects of this study
> > so the modem in question will need to be USB. I have a 'Rosewill' model at
> > the moment which doesn't appear to support caller-id. If someone has a

> > recommendation for a better model / manufacturer I'd appreciate that info..


>
> The Rosewill RNX-56USB modem? The one I have supports
> caller-id and voice just fine under Windows XP with just the
> default initializations XP normally does. What OS are you
> running?
>
> -- Bob Day
> http://bobday.vze.com
>

> .
>

That's the modem Im using but it doesn't appear to be generating caller id
info. I tried opening it via hyperterm and calling in. The caller id info
never showed up.

Im still trying to figure out how to monitor line states on this device.

Message has been deleted

fdecker

unread,
Nov 17, 2009, 10:05:09 AM11/17/09
to
Hi Bob,

This can be a fairly complicated thing to explain in email. First,
there are TAPI line devices and TAPI phone devices, and there is some
overlap in functionality. Typically the line device dials and answers
calls, monitors for silence and can detect DTMF tones, most often
INCOMING tones. You might get what you need with just the line
functions. The phone device supports hookswitch events (onhook,
offhook) and button presses, speakerphone, display, things to do with
a phone.

This is our business and we have clients doing what you do with our
tools and telephony devices every day. Having over 15 years
experience with this, I can tell you "will" rather than "might"
experience a lot of frustration trying to get a modem to do what you
want. I recommend clients get a true telephony device, even though
more expensive, since the time you spend trying to get a modem to
work, even if it can, will exceed the cost of a better device. Modems
use the generic UnimodemV TSP included in windows which has severe
limitations and modems almost always come with improperly configured
INF files as you are seeing with your device not being correctly setup
to get caller ID. You can read a lot more about modem limitations
here on our website:


http://www.exceletel.com/support/hardware/VoiceModems/index.htm

We have a set of controls for just about any development environment
that make writing projects like this a lot easier than writing direct
TAPI code. Your project would be complete already using
TeleTools. ;) I could write something bare bones that would be
monitoring your lines in about 10 minutes, sooner if I just take an
already written sample program off our website and use that. The
etQuickDial or etDialAnswer programs would work out of the box, though
they would not show the phone events, that would be another sample
with 3 or 4 more lines of code.

If it helps you, you can learn a lot about your device by using our
TeleScope utility and activating your device in the etLine and etPhone
windows. Then you can dial and answer calls, lift the handset, press
buttons, etc. I don't think modems support anything but the
speakerphone options allowing you use them as a headset, but I can
check with TeleScope. You can turn on the "popup -> OnTAPIMessage"
option which will fill the log windows with all the TAPI info if you
don't want to see the reader's digest version in TeleTools speak. For
example, we just give you events, like OnOffering, OnRing,
OnConnected, etc to make things simple. TAPI would fire a callstate
message then give you a parameter you decode. In our log, we decode
it and show the equivalent message. You can download the free version
of TeleScope below. It is free to use in eval mode (10 minutes on
with a 2 minute rest). It can run as just a simple EXE, no
complicated install or taking over your machine.

http://www.exceletel.com/download/TeleScope37/

We helped develop a device with another company to have a USB solution
that handles true telephony including all the phone events and more
for home offices and businesses with "agents", there are now 3
versions:

http://www.exceletel.com/products/HiPhone/Hi-PhoneUSB.htm

One of our client's develops Caller ID software and I can send you to
his website if you want to try and re-write your INF file and re-
install and try to get that part of your modem working. They wrote an
entire treatise on trying to configure modems for folks who aren't in
a position to use a different device.

Fred Decker
www.exceletel.com
"TAPI Tools for Telephony Programmers"

Andreas Marschall [exMVP TAPI]

unread,
Nov 17, 2009, 10:01:28 AM11/17/09
to
"ethrbunny" <ethr...@discussions.microsoft.com> schrieb im Newsbeitrag
news:D9BC4A67-B1BF-4DB2...@microsoft.com...

> Im working on a research project where we need to monitor phone line
> activity. I can see where a TAPI modem could provide information about
> incoming calls but Im not having much success with out-going.
>
> Ideally I'd like to know when the phone is 'off-hook' and what digits are
> dialed.

ethrbunny,
I guess you are using a modem connected in parallel with a seperate phone?

A modem is not designed to monitor the actions taking place at the phone,
i.e. it can not detect the digits dialed at the phone.
Regarding line usage detection: the modem only checks whether the line is
free (dialtone present) before it is making a call itself.

Maybe the Hi-Phone Desktop from www.way2call.com is what you want.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto� Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no
rights.

Bob

unread,
Nov 17, 2009, 1:43:01 PM11/17/09
to
On Nov 16, 12:31 pm, ethrbunny <ethrbu...@discussions.microsoft.com>
wrote:
> Im still trying to figure out how to monitor line states on this device.- Hide quoted text -
>
> - Show quoted text -

Actually it's the LineOpen function in the call screening
software I run that sets up caller id reception.

If you haven't already done it, you might try this:
Run Hyperterminal, and enter the following commands:

ATE1<cr> [so you can then see what you type]
AT+VCID=1<cr>

The second command sets up caller id reception.
Now try receiving caller id again.

0 new messages