Re: LINEDEVCAPS question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Tal.k." <tal_2k@xxxxxxxxxxx> schrieb im Newsbeitrag
news:ufMZl%23ugFHA.3940@xxxxxxxxxxxxxxxxxxxxxxx
> how in tapi 2 i check that a specifed line is:
> 1. a modem.
> 2. a voice modem.
> 3.supports a caller id
>
> i've tries lpDevCaps->dwMediaModes & (LINEMEDIAMODE_AUTOMATEDVOICE
> |LINEMEDIAMODE_DATAMODEM)
>
> but it recognized a non voice modem as a voice modem.
> and about the caller id i've got no clue how can i determine if the line
> supports caller id before a call is panding.

Tal,
1. check for
LINEDEVCAPS
dwProviderInfoSize=x3e
dwProviderInfoOffset=x124
646e6957 2073776f 656c6554 6e6f6870 Windows Telephon
65532079 63697672 72502065 6469766f y Service Provid
66207265 5520726f 6576696e 6c617372 er for Universal
646f4d20 44206d65 65766972 xxxx0072 Modem Driver.
or
See my TAPI and TSPI FAQ:
Q: Which TSP is hosting a given line device ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Which_TSP

2. Are you using the appropriate modem.INF file from the manufacturer for the
modem?
Voice modems should also expose DeviceClasses "wave/in" and "wave/out":
LINEDEVCAPS
dwDeviceClassesSize=xa8
dwDeviceClassesOffset=x243
xxxxxx74 xxxxxxxx xxxxxxxx xxxxxxxx t
2f697061 656e696c 6d6f6300 6f63006d api/line.comm.co
642f6d6d 6d617461 6d65646f 6d6f6300 mm/datamodem.com
61642f6d 6f6d6174 2f6d6564 74726f70 m/datamodem/port
656d616e 6d6f6300 61642f6d 6f6d6174 name.comm/datamo
2f6d6564 6c616964 63006e69 2f6d6d6f dem/dialin.comm/
61746164 65646f6d 69642f6d 756f6c61 datamodem/dialou
6f630074 652f6d6d 6e657478 63646564 t.comm/extendedc
00737061 65766177 006e692f 65766177 aps.wave/in.wave
74756f2f 70617400 68702f69 00656e6f /out.tapi/phone.
69706174 6e696c2f 69642f65 6f6e6761 tapi/line/diagno
63697473 xx000073 xxxxxxxx xxxxxxxx stics..

3. AFAIK you can't know for sure until you actually get callerID presented.
There are some facts the determine whether callerID can be presented:
a) caller may block its ID
b) Telco hasn't enable callerID service for your line
c) modem doesn't support it (either generally or due to mal-configuration,
e.g. wrong country settings etc.)
So b) is definitely out of scope for UniModem.TSP so it simply can't tell you.

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



.



Relevant Pages

  • Re: leading zero in Caller id number
    ... > Im from germany, whenn i recieve a call, the caller id should be ... Maybe a TSP issue, maybe a configuration problem. ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Caller ID question - no caller ID after first call
    ... Now that I've fixed that problem, Caller ID is ... Microsoft MVP for TAPI / Windows SDK ... TAPI development around the world (Frappr! ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Question about Caller id
    ... I'm not fmiliar with TAPI on Smartphone ut you may want to precisely test ... Btw. your topic "Question about Caller id" is misleading. ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Weird TAPI problem with Callerid
    ... didn't detect caller ID. ... Microsoft MVP for TAPI / Windows SDK ... TAPI development around the world (Frappr! ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Siemens HiPath 3000 PBX and CallerID
    ... "Gero Gräber" schrieb im Newsbeitrag ... I the caller has CLIR (Calling Line Information presentation ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)