Re: Log incoming calls to a textfile. is this possible in jtapi?
Richard Deadman <[email protected]>
| Newsgroups | gmane.comp.java.sun.jtapi |
|---|---|
| Message-ID | <[email protected]> |
Alen, Yes, both GJTAPI and XTAPI can help you. XTAPI has a service provider for TAPI that talks through a DLL to the TAPI API and handles event callbacks (like incoming call events). If you want a JTAPI 1.3 implementation, then GJTAPI offers a thin bridge that allows you to plug in the XTAPI service provider. From a programming point of view, it is then a simple thing to register for events on an address and then, when the events come in, get the remote address and log it. The tricky part is in making sure that the TAPI device is properly registered with TAPI, and then determining which TAPI address is associated with the device, so that you can tell the TAPI "driver" or "service provider" how to hook up to TAPI. A second tricky thing is making sure that TAPI collects the remote address. I'm not familiar with the Siemen's Optiset phone, but analog (POTS - PSTN) phones in North America receive calling number ID as a series of inband DTMF signals during the first and second ring cycle. This means that during the intial ring, the remote caller ID is not known. Some TAPI drivers have a problem picking this up, and some callers can disable it. I believe the Optiset is a digital phone, so you shouldn't have this problem. Cheers, Richard -- Richard Deadman Deadman Consulting, Inc. mailto:[email protected] http://www.deadman.ca Office: 613-231-5112 Cell: 613-220-2469 Fax: 805-980-5818 On Apr 28, Alen Zurfluh <[email protected]> wrote: > > Hello > > I need to write an java application in order to get the incomming calls on > siemens optiset phone. This phone is tapi compatible, this meens I am able > to run a TAPI WIN Application and to access the phone (make calls, get calls) > > So the thing I need to do in JAVA is very simple. I have to connect to the > phone in order to get some information of the incoming call. I wish to log > the phone number of the caller and the duration of the call and the > timestamp of the call. This information has to be logged to a textfile! > > I read a lot of jtapi, and I as understood, there is no implementation. So > what can I do ? Can I use GTAPI or XTAPI? I really just have to do this > simple thing (logging), I do not need to place call from a JAVA Application > and so on. > > Please help me! > Thanks > Alen > =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff JTAPI-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".