Re: Sample - how to answer a modem call
- From: "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@xxxxxxxxxx>
- Date: Mon, 4 Jul 2005 17:03:44 +0200
"ReTF" <re.tf@xxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:OXk2qOkfFHA.4008@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Andreas.
>
> POS is Point Of Sale.
> When you bay same thing with a creditcard you use a POS to send your card
> information to server.
ReTF,
thanks for the info.
So the POS device is calling your PC and its modem is supposed to answer the
(data) call?
Did you already take a look at the mentioned TapiComm sample?
Basically you need to:
- lineInitializeEx()
- lineGetDevCaps() for each deviceID to find your line device associated with
the modem
- lineOpen() this deviceID with LINEMEDIAMODE_DATAMODEM
- wait for LINE_APPNEWCALL / LINE_CALLSTATE (LINECALLSTATE_OFFERING) messages
- lineAnwer()
- ...
Try it with TAPI Browser TB20 before starting to code anything yourself.
See my TAPI and TSPI FAQ:
Q: Where can I download TAPI Browser ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_can
Q: Is there a user guide available for TAPI Browser TB20 ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_1
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* 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.
.
- Follow-Ups:
- Re: Sample - how to answer a modem call
- From: Retf
- Re: Sample - how to answer a modem call
- Prev by Date: Modem communication????? HELP-ME (i'm begin)
- Next by Date: Re: Modem to Modem Connection
- Previous by thread: Modem communication????? HELP-ME (i'm begin)
- Next by thread: Re: Sample - how to answer a modem call
- Index(es):
Relevant Pages
|