Click here to Skip to main content
11,581,982 members (76,859 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC++
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-
[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-
[2013.04.29 15:12:11]: TSPI_lineGetDevCaps-dwExtVersion: 0
[2013.04.29 15:12:11]: FindDevice-
[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-
[2013.04.29 15:12:12]: TSPI_lineOpen
[2013.04.29 15:12:12]: FindDevice-
[2013.04.29 15:12:12]: TSPI_lineGetNumAddressIDs
[2013.04.29 15:12:12]: FindDevice-
[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-

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 29-Apr-13 17:48pm

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

  Print Answers RSS
0 OriginalGriff 330
1 Sergey Alexandrovich Kryukov 165
2 virusstorm 109
3 Frankie-C 105
4 F-ES Sitecore 85
0 OriginalGriff 1,273
1 Sergey Alexandrovich Kryukov 900
2 Abhinav S 617
3 F-ES Sitecore 500
4 Suvendu Shekhar Giri 433


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 29 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100