Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

I have been developing TSP using vc++ 6that calls webservice to initiate calls in IP phones.

I found following log in developer machine(win7 x64 ,successfully calls all required TSPI functions ) when I just added MyTSP to phone and modem option.

[2013.04.29 15:12:04]: DllMain: 0
[2013.04.29 15:12:04]: DLL_PROCESS_DETACH: 0
[2013.04.29 15:12:10]: TSPI_providerUIIdentify(LPWSTR lpszUIDLLName)
[2013.04.29 15:12:10]: C:\Windows\system32\MyTSP.tsp: 40
[2013.04.29 15:12:10]: TUISPI_providerInstall
[2013.04.29 15:12:10]: TUISPI_providerInstall
[2013.04.29 15:12:10]: BeforeIsConfigure
[2013.04.29 15:12:10]: 00000000-0000-0000-0000-000000000000
[2013.04.29 15:12:11]: AfterIsConfigure:
[2013.04.29 15:12:11]: dwPermanentProviderID: 500
[2013.04.29 15:12:11]: DllMain: 0
[2013.04.29 15:12:11]: DLL_PROCESS_DETACH: 0
[2013.04.29 15:12:11]: TSPI_lineNegotiateTSPIVersion
[2013.04.29 15:12:11]: TSPI_providerEnumDevices_Implementation
[2013.04.29 15:12:11]: TSPI_providerInit
[2013.04.29 15:12:11]: TSPI_lineNegotiateTSPIVersion
[2013.04.29 15:12:11]: TSPI_phoneNegotiateTSPIVersion
[2013.04.29 15:12:11]: TSPI_providerCreateLineDevice
[2013.04.29 15:12:11]: TSPI_providerCreateLineDevice-dwDeviceID: 7
[2013.04.29 15:12:11]: FindDevice-<end of="" list="">
[2013.04.29 15:12:11]: TSPI_lineNegotiateTSPIVersion
[2013.04.29 15:12:11]: TSPI_lineGetDevCaps
[2013.04.29 15:12:11]: TSPI_lineGetDevCaps-dwDeviceID: 7
[2013.04.29 15:12:11]: TSPI_lineGetDevCaps
[2013.04.29 15:12:11]: TSPI_lineGetDevCaps-dwTSPIVersion: 196609
[2013.04.29 15:12:11]: TSPI_lineGetDevCaps-dwDeviceID: 6
[2013.04.29 15:12:11]: TSPI_lineGetDevCaps-dwExtVersion: 0
[2013.04.29 15:12:11]: TSPI_lineGetDevCaps-dwTSPIVersion: 196609
[2013.04.29 15:12:11]: FindDevice-<end of="" list="">
[2013.04.29 15:12:11]: TSPI_lineGetDevCaps-dwExtVersion: 0
[2013.04.29 15:12:11]: FindDevice-<end of="" list="">
[2013.04.29 15:12:12]: TSPI_lineGetDevCaps
[2013.04.29 15:12:12]: TSPI_lineGetDevCaps-dwDeviceID: 7
[2013.04.29 15:12:12]: TSPI_lineGetDevCaps-dwTSPIVersion: 196609
[2013.04.29 15:12:12]: TSPI_lineGetDevCaps-dwExtVersion: 0
[2013.04.29 15:12:12]: FindDevice-<end of="" list="">
[2013.04.29 15:12:12]: TSPI_lineOpen
[2013.04.29 15:12:12]: FindDevice-<end of="" list="">
[2013.04.29 15:12:12]: TSPI_lineGetNumAddressIDs
[2013.04.29 15:12:12]: FindDevice-<end of="" list="">
[2013.04.29 15:12:12]: TSPI_lineGetNumAddressIDs-Success!: 1
[2013.04.29 15:12:12]: TSPI_lineGetID
[2013.04.29 15:12:12]: TSPI_lineClose
[2013.04.29 15:12:12]: FindDevice-<end of="" list="">

I found following log in fresh machine(win7 x64 , all required TSPI functions are not called ) when I just added MyTSP to phone and modem option.

[2013.04.29 10:56:55]: DllMain: 0
[2013.04.29 10:56:55]: DLL_PROCESS_DETACH: 0
[2013.04.29 10:56:57]: TSPI_providerUIIdentify(LPWSTR lpszUIDLLName)
[2013.04.29 10:56:57]: C:\Windows\system32\MyTSP.tsp: 40
[2013.04.29 10:56:57]: TUISPI_providerInstall
[2013.04.29 10:56:57]: TUISPI_providerInstall
[2013.04.29 10:56:57]: BeforeIsConfigure
[2013.04.29 10:56:57]: 00000000-0000-0000-0000-000000000000
[2013.04.29 10:56:57]: AfterIsConfigure:
[2013.04.29 10:56:57]: dwPermanentProviderID: 6
[2013.04.29 10:56:57]: DllMain: 0
[2013.04.29 10:56:57]: DLL_PROCESS_DETACH: 0
[2013.04.29 10:56:57]: DllMain: 0
[2013.04.29 10:56:57]: DLL_PROCESS_DETACH: 0
[2013.04.29 10:56:57]: DllMain: 0
[2013.04.29 10:56:57]: DLL_PROCESS_DETACH: 0
[2013.04.29 10:56:57]: DllMain: 0
[2013.04.29 10:56:57]: DLL_PROCESS_DETACH: 0



It seems that TSPI_lineNegotiateTSPIVersion is not called after TUISPI_providerInstall in fresh machine (win7 x 64)

can somebody please help me solve this issue

Thanks

jitendra
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900