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

How to pick up line on incoming call? lineAnswer vs linePickup?

16 views
Skip to first unread message

Mark

unread,
Nov 25, 2009, 7:23:52 PM11/25/09
to
I want to pick up the line, and then hang it up when a call comes in
that I don't want. Currently I'm successfully using lineAnswer() but
that causes a bunch of sounds like the modem is trying to connect to
another modem. I'd like a "quiet" alternative. I tried linePickup()
instead, but that returned LINEERR_OPERATIONUNAVAIL. Any suggestions?

Thanks,
Mark
--
http://www.beiley.com

Andreas Marschall [exMVP TAPI]

unread,
Nov 26, 2009, 4:14:59 AM11/26/09
to
"Mark" <mbe...@gmail.com> schrieb im Newsbeitrag
news:70050180-4993-40a0...@r24g2000yqd.googlegroups.com...

Mark,
if you hear the modem protocol negotiation "sounds" then it seems that you
are using a data modem, not a voice modem.
linePikup() isn't intended for your scenario and not supported by UniModem
TSP.
In general, to reject an offering call (without answering it) you can use
lineDrop(), but again that doesn't work with UniModem TSP.

--
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.

Mark

unread,
Nov 26, 2009, 1:13:44 PM11/26/09
to
On Nov 26, 2:14 am, "Andreas Marschall [exMVP TAPI]"
<Andreas.Marsch...@I-B-A-M.de> wrote:
> "Mark" <mbei...@gmail.com> schrieb im Newsbeitragnews:70050180-4993-40a0...@r24g2000yqd.googlegroups.com...

Hi Andreas,

Thanks for the help. Yes, I'm using only a data modem. Thanks for
the explanation. I guess I'll stick with lineAnswer(). I have
slightly improved it by doing a lineDrop() shortly after the lineAnswer
(), instead of waiting for the LINE_REPLY response to the lineAnswer()
to do the lineDrop(). This way it at least all happens a little
faster.

Andreas Marschall [exMVP TAPI]

unread,
Nov 26, 2009, 10:23:03 PM11/26/09
to
"Mark" <mbe...@gmail.com> schrieb im Newsbeitrag
news:1a91514c-af9e-43a4...@j19g2000yqk.googlegroups.com...

> Hi Andreas,
>
> Thanks for the help.

Mark, you are welcome.

> Yes, I'm using only a data modem. Thanks for
> the explanation. I guess I'll stick with lineAnswer(). I have
> slightly improved it by doing a lineDrop() shortly after the lineAnswer(),
> instead of waiting for the LINE_REPLY response to the lineAnswer()
> to do the lineDrop(). This way it at least all happens a little
> faster.

Thanks for the feedback.

0 new messages