本文介绍了TSPI_lineNegotiateTSPIVersion在新的win7 x64中在TUISPI_providerInstall之后未调用,但在开发人员机器中调用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我一直在使用vc ++ 6开发TSP,它调用webservice来启动IP电话中的呼叫。


当我刚将MyTSP添加到手机和调制解调器选项时,我发现以下登录开发者机器(win7 x64,成功调用所有必需的TSPI功能)。


[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_D ETACH: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_line关闭

[2013.04.29 15:12:12]:FindDevice-<列表结束>



我发现以下登录新机器(win7 x64,所有必需的TSPI功能都没有被调用)  当我刚刚将MyTSP添加到手机和调制解调器选项时。


[ 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
$





似乎  TSPI_lineNegotiateTSPIVersion在新机器(win7 x 64)



有人可以帮我解决这个问题吗


谢谢


jitendra




解决方案

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_providerInstallin fresh machine (win7 x 64)

can somebody please help me solve this issue

Thanks

jitendra

解决方案


这篇关于TSPI_lineNegotiateTSPIVersion在新的win7 x64中在TUISPI_providerInstall之后未调用,但在开发人员机器中调用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-26 17:09