Craig
2004-07-07 03:56:22 UTC
Hi, I'm using TAPI 3.x.
I've got an application that listens to a phone line and when a call comes
in I register the call notification (pop up a window saying new call) and
when the info state changes I get the Caller ID information and place that
in the form...i.e. 555-2425 is calling.
When I register the call notifications I set monitor to false and owner to
true. I tried monitor true and owner false but the events didn't fire at
all.
Now the trouble is I don't want to answer this call via the modem. I pick
up the phone and answer it that way.
Problems that are occuring...
1. After the initial call any new calls that occur do not fire the call
notification event (probably something wrong with my releasing).
2. Sometimes the line is dead for a while until the modem sorts itself out
(I suppose).
3. When I don't answer a call it takes a while for the call state event to
fire to say call disconnected (about 10 seconds).
So my basic question is how do I handle the releasing of call in TAPI so
that its ready to access a new call? Do I have to Shutdown TAPI and then
restart it up again reconnecting the notifications? At the moment all I do
is call ReleaseUserUserInfo() on the call.
Thanks,
Craig
I've got an application that listens to a phone line and when a call comes
in I register the call notification (pop up a window saying new call) and
when the info state changes I get the Caller ID information and place that
in the form...i.e. 555-2425 is calling.
When I register the call notifications I set monitor to false and owner to
true. I tried monitor true and owner false but the events didn't fire at
all.
Now the trouble is I don't want to answer this call via the modem. I pick
up the phone and answer it that way.
Problems that are occuring...
1. After the initial call any new calls that occur do not fire the call
notification event (probably something wrong with my releasing).
2. Sometimes the line is dead for a while until the modem sorts itself out
(I suppose).
3. When I don't answer a call it takes a while for the call state event to
fire to say call disconnected (about 10 seconds).
So my basic question is how do I handle the releasing of call in TAPI so
that its ready to access a new call? Do I have to Shutdown TAPI and then
restart it up again reconnecting the notifications? At the moment all I do
is call ReleaseUserUserInfo() on the call.
Thanks,
Craig