I’m writing miniport driver for multifunctional E3 E1 adapter.
I registered 4 channels in OID_TAPI_PROVIDER_INITIALIZE and passed their parameters with OID_TAPI_GET_DEV_CAPS requests.
If I create a connection, in the properties tab 4 line devices appeared.
But when i try to make a call with only one selected device, TAPI passes the last DeviceID to the miniport driver (with OID_TAPI_MAKE_CALL). For example, device zero-based base ID provided by TAPI with OID_TAPI_PROVIDER_INITIALIZE in ulDeviceBaseID field is 4, ID’s for my channels are 4,5,6,7 (channels: 0,1,2,3). When i make call on any selected device line using WIndows network connections ID=7 is passed to the miniport driver with OID_TAPI_MAKE_CALL request.
But i need channels id’s be passed correctly, how does make it right ?