Discussion:
TAPI program on Windows 7 64 bit, using 64 bit TAPI driver, does my TAPI program also need to be 64 bit?
(too old to reply)
Angus
2014-07-26 17:39:47 UTC
Permalink
Hi

I am using the 64 bit NEC TAPI driver for the SL1100 model on a 64 bit Windows 7 Professional OS. My program however is 32 bit. I just wrote a test program, can show source code if required.

TAPI Browser output below. The TAPI Browser tool I am running is also 32 bit.

My thought was do I need to compile my program 64 bit for this to work?

Or is it probably some other configuration issue?

Any thoughts would be most appreciated.

Calling lineInitializeEx
lphLineApp=x3c63c68
hInstance=x940000
lpfnCallback=x9559e3
lpszFriendlyAppName=x1ff148
lpdwNumDevs=x1feb9c
lpdwAPIVersion=x1febb0
->dwAPIVersion=x20000
lpInitExParams=x1ff120
->dwOptions=x3
lineInitializeEx returned SUCCESS
num line devs = 15
Calling lineGetDevCaps
hLineApp=x800003ff
dwDeviceID=xe
APIVersion=x20000
dwExtVersion=x0
lpLineDevCaps=x102fd0
lineGetDevCaps returned SUCCESS
LINEDEVCAPS
dwTotalSize=x1000
dwNeededSize=x310
dwUsedSize=x310
dwProviderInfoSize=x29
dwProviderInfoOffset=x10c
2043454e 72666e49 69746e6f 65542061 NEC Infrontia Te
6870656c 20796e6f 76726553 20656369 lephony Service
766f7250 72656469 xxxxxx00 xxxxxxxx Provider.
dwSwitchInfoSize=x3d
dwSwitchInfoOffset=x15e
xxxx454e xxxxxxxx xxxxxxxx xxxxxxxx NE
6e492043 6e6f7266 20616974 68746977 C Infrontia with
32343020 75725420 2c736b6e 20303430 042 Trunks,040
65747845 6f69736e 302c736e 56203035 Extensions,050 V
75747269 45206c61 xx007478 xxxxxxxx irtual Ext.
dwPermanentLineID=x7000e
dwLineNameSize=x32
dwLineNameOffset=x1d8
45545845 4f49534e 3032204e 654b2033 EXTENSION 203 Ke
74657379 00000000 00000000 00000000 yset............
00000000 00000000 00000000 00000000 ................
xxxx0000 xxxxxxxx xxxxxxxx xxxxxxxx ..
dwStringFormat=x1, ASCII
dwAddressModes=x1ADDRESSID
dwNumAddresses=xd1
dwBearerModes=xbVOICE SPEECH DATA
dwMaxRate=xc1c
dwMediaModes=x4INTERACTIVEVOICE
dwGenerateToneModes=xfCUSTOM RINGBACK BUSY BEEP
dwGenerateDigitModes=x2DTMF
dwMonitorDigitModes=x2DTMF
dwDevCapFlags=x100DIALDIALTONE
dwMaxNumActiveCalls=xa4
dwAnswerMode=x2DROP
dwRingModes=x1
dwLineStates=x560efdOTHER CONNECTED DISCONNECTED
MSGWAITON MSGWAITOFF INSERVICE OUTOFSERVICE OPEN
CLOSE NUMCALLS DEVSPECIFIC REINIT CAPSCHANGE TRANSLATECHANGE
dwUUICallInfoSize=x80
dwNumTerminals=x1
dwTerminalTextSize=x2
dwTerminalTextOffset=x23c
xxxx544b xxxxxxxx xxxxxxxx xxxxxxxx KT
dwLineFeatures=x18dDEVSPECIFIC FORWARD MAKECALL FORWARDFWD
FORWARDDND
dwDeviceClassesSize=x68
dwDeviceClassesOffset=x240
69706174 6e696c2f 61740065 702f6970 tapi/line.tapi/p
656e6f68 76617700 6e692f65 76617700 hone.wave/in.wav
756f2f65 61770074 77006576 2f657661 e/out.wave.wave/
6c2f6e69 00656e69 65766177 74756f2f in/line.wave/out
6e696c2f 61770065 692f6576 68702f6e /line.wave/in/ph
00656e6f 65766177 74756f2f 6f68702f one.wave/out/pho
6300656e 006d6d6f xxxxxxxx xxxxxxxx ne.comm.
Calling lineGetAddressCaps
hLineApp=x800003ff
dwDeviceID=xe
dwAddressID=x0
APIVersion=x20000
dwExtVersion=x0
lpAddressCaps=x102fd0
lineGetAddressCaps returned SUCCESS
LINEADDRESSCAPS
dwTotalSize=x1000
dwNeededSize=x3c6
dwUsedSize=x3c6
dwLineDeviceID=xe
dwAddressSize=x21
dwAddressOffset=xe4
00333032 00000000 00000000 00000000 203.............
00000000 00000000 00000000 00000000 ................
xxxxxx00 xxxxxxxx xxxxxxxx xxxxxxxx .
dwAddressSharing=x1PRIVATE
dwAddressStates=x16dOTHER INUSEZERO INUSEONE NUMCALLS
FORWARD CAPSCHANGE
dwCallInfoStates=x5f2ffb37OTHER DEVSPECIFIC BEARERMODE
MEDIAMODE APPSPECIFIC ORIGIN REASON NUMOWNERINCR
NUMOWNERDECR NUMMONITORS TRUNK CALLERID CALLEDID
CONNECTEDID REDIRECTIONID REDIRECTINGID USERUSERINFO
CHARGINGINFO TERMINAL DIALPARAMS MONITORMODES TREATMENT
CALLDATA
dwCallerIDFlags=x8000006fBLOCKED OUTOFAREA NAME ADDRESS
UNKNOWN UNAVAIL <unknown flag(s)>
dwCalledIDFlags=x6fBLOCKED OUTOFAREA NAME ADDRESS
UNKNOWN UNAVAIL
dwConnectedIDFlags=x6fBLOCKED OUTOFAREA NAME ADDRESS
UNKNOWN UNAVAIL
dwRedirectionIDFlags=x6fBLOCKED OUTOFAREA NAME ADDRESS
UNKNOWN UNAVAIL
dwRedirectingIDFlags=x6fBLOCKED OUTOFAREA NAME ADDRESS
UNKNOWN UNAVAIL
dwCallStates=xfffbIDLE OFFERING DIALTONE DIALING
RINGBACK BUSY SPECIALINFO CONNECTED PROCEEDING
ONHOLD CONFERENCED ONHOLDPENDCONF ONHOLDPENDTRANSFER
DISCONNECTED UNKNOWN
dwDialToneModes=xcINTERNAL EXTERNAL
dwBusyModes=x7STATION TRUNK UNKNOWN
dwSpecialInfo=x8UNKNOWN
dwDisconnectModes=x9fNORMAL UNKNOWN REJECT PICKUP
FORWARDED BADADDRESS
dwMaxNumActiveCalls=xa4
dwMaxNumOnHoldCalls=xa4
dwMaxNumOnHoldPendingCalls=xa4
dwMaxNumConference=x20
dwMaxNumTransConf=x20
dwAddrCapFlags=x5506aPICKUPGROUPID BLOCKIDDEFAULT
DIALED ORIGOFFHOOK TRANSFERHELD CONFERENCEHELD
PARTIALDIAL FWDINTEXTADDR
dwCallFeatures=xbf1f9ffeADDTOCONF ANSWER BLINDTRANSFER
COMPLETECALL COMPLETETRANSF DIAL DROP GATHERDIGITS
GENERATEDIGITS GENERATETONE HOLD MONITORDIGITS
PARK PREPAREADDCONF REDIRECT REMOVEFROMCONF SECURECALL
SENDUSERUSER SETUPCONF SETUPTRANSFER SWAPHOLD UNHOLD
RELEASEUSERUSERINFO SETTREATMENT SETCALLDATA
dwRemoveFromConfCaps=x3, ANY
dwRemoveFromConfState=x1IDLE
dwTransferModes=x3TRANSFER CONFERENCE
dwParkModes=x3DIRECTED NONDIRECTED
dwForwardModes=x777fUNCOND UNCONDINTERNAL UNCONDEXTERNAL
UNCONDSPECIFIC BUSY BUSYINTERNAL BUSYEXTERNAL NOANSW
NOANSWINTERNAL NOANSWEXTERNAL BUSYNA BUSYNAINTERNAL
BUSYNAEXTERNAL
dwMaxForwardEntries=x5
dwMaxSpecificEntries=x1
dwMinFwdNumRings=x3
dwMaxFwdNumRings=x3
dwMaxCallCompletions=x1
dwCallCompletionConds=x3BUSY NOANSWER
dwCallCompletionModes=xfCAMPON CALLBACK INTRUDE MESSAGE
dwAddressFeatures=x3687FORWARD MAKECALL PICKUP UNPARK
PICKUPGROUP PICKUPDIRECT FORWARDFWD FORWARDDND
dwNumCallTreatments=xc
dwCallTreatmentListSize=x90
dwCallTreatmentListOffset=x126
xxxx0003 xxxxxxxx xxxxxxxx xxxxxxxx ..
001c0000 01b60000 01020000 001c0000 ................
01d20000 01030000 00240000 01ee0000 ..........$.....
01040000 00240000 02120000 01050000 ......$.........
00320000 02360000 01060000 00320000 ..2...6.......2.
02680000 01070000 00320000 029a0000 ..h.......2.....
01080000 00320000 02cc0000 01090000 ......2.........
00320000 02fe0000 010a0000 00320000 ..2...........2.
03300000 010b0000 00320000 03620000 ..0.......2...b.
010c0000 00320000 03940000 xxxx0000 ......2.......
Calling lineOpen
hLineApp=x800003ff
dwDeviceID=xe
lphLine=x3c64f88
APIVersion=x20000
dwExtVersion=x0
dwCallbackInstance=x0
dwPrivileges=x6
dwMediaModes=x4
lpCallParams=x0
lineOpen returned SUCCESS
Calling lineMakeCall
hLine=x102ae
lphCall=x10d0d0
lpszDestAddress=x1ff0b8
dwCountryCode=x0
lpCallParams=x0
lineMakeCall returned x10204
received LINE_REPLY
device=x0
cbInst=x0
param1=x10204,
param2=x80000049,
param3=x0,
LINEERR_OPERATIONUNAVAIL
Angus
2014-07-29 22:59:42 UTC
Permalink
Hi, my next idea was to upgrade the firmware on the switch. Was from v1.43 to v4.0 so quite a jump. That fixed problem and makecall now works.
Post by Angus
Hi
I am using the 64 bit NEC TAPI driver for the SL1100 model on a 64 bit Windows 7 Professional OS. My program however is 32 bit. I just wrote a test program, can show source code if required.
TAPI Browser output below. The TAPI Browser tool I am running is also 32 bit.
My thought was do I need to compile my program 64 bit for this to work?
Or is it probably some other configuration issue?
Any thoughts would be most appreciated.
Calling lineInitializeEx
lphLineApp=x3c63c68
hInstance=x940000
lpfnCallback=x9559e3
lpszFriendlyAppName=x1ff148
lpdwNumDevs=x1feb9c
lpdwAPIVersion=x1febb0
->dwAPIVersion=x20000
lpInitExParams=x1ff120
->dwOptions=x3
lineInitializeEx returned SUCCESS
num line devs = 15
Calling lineGetDevCaps
hLineApp=x800003ff
dwDeviceID=xe
APIVersion=x20000
dwExtVersion=x0
lpLineDevCaps=x102fd0
lineGetDevCaps returned SUCCESS
LINEDEVCAPS
dwTotalSize=x1000
dwNeededSize=x310
dwUsedSize=x310
dwProviderInfoSize=x29
dwProviderInfoOffset=x10c
2043454e 72666e49 69746e6f 65542061 NEC Infrontia Te
6870656c 20796e6f 76726553 20656369 lephony Service
766f7250 72656469 xxxxxx00 xxxxxxxx Provider.
dwSwitchInfoSize=x3d
dwSwitchInfoOffset=x15e
xxxx454e xxxxxxxx xxxxxxxx xxxxxxxx NE
6e492043 6e6f7266 20616974 68746977 C Infrontia with
32343020 75725420 2c736b6e 20303430 042 Trunks,040
65747845 6f69736e 302c736e 56203035 Extensions,050 V
75747269 45206c61 xx007478 xxxxxxxx irtual Ext.
dwPermanentLineID=x7000e
dwLineNameSize=x32
dwLineNameOffset=x1d8
45545845 4f49534e 3032204e 654b2033 EXTENSION 203 Ke
74657379 00000000 00000000 00000000 yset............
00000000 00000000 00000000 00000000 ................
xxxx0000 xxxxxxxx xxxxxxxx xxxxxxxx ..
dwStringFormat=x1, ASCII
dwAddressModes=x1ADDRESSID
dwNumAddresses=xd1
dwBearerModes=xbVOICE SPEECH DATA
dwMaxRate=xc1c
dwMediaModes=x4INTERACTIVEVOICE
dwGenerateToneModes=xfCUSTOM RINGBACK BUSY BEEP
dwGenerateDigitModes=x2DTMF
dwMonitorDigitModes=x2DTMF
dwDevCapFlags=x100DIALDIALTONE
dwMaxNumActiveCalls=xa4
dwAnswerMode=x2DROP
dwRingModes=x1
dwLineStates=x560efdOTHER CONNECTED DISCONNECTED
MSGWAITON MSGWAITOFF INSERVICE OUTOFSERVICE OPEN
CLOSE NUMCALLS DEVSPECIFIC REINIT CAPSCHANGE TRANSLATECHANGE
dwUUICallInfoSize=x80
dwNumTerminals=x1
dwTerminalTextSize=x2
dwTerminalTextOffset=x23c
xxxx544b xxxxxxxx xxxxxxxx xxxxxxxx KT
dwLineFeatures=x18dDEVSPECIFIC FORWARD MAKECALL FORWARDFWD
FORWARDDND
dwDeviceClassesSize=x68
dwDeviceClassesOffset=x240
69706174 6e696c2f 61740065 702f6970 tapi/line.tapi/p
656e6f68 76617700 6e692f65 76617700 hone.wave/in.wav
756f2f65 61770074 77006576 2f657661 e/out.wave.wave/
6c2f6e69 00656e69 65766177 74756f2f in/line.wave/out
6e696c2f 61770065 692f6576 68702f6e /line.wave/in/ph
00656e6f 65766177 74756f2f 6f68702f one.wave/out/pho
6300656e 006d6d6f xxxxxxxx xxxxxxxx ne.comm.
Calling lineGetAddressCaps
hLineApp=x800003ff
dwDeviceID=xe
dwAddressID=x0
APIVersion=x20000
dwExtVersion=x0
lpAddressCaps=x102fd0
lineGetAddressCaps returned SUCCESS
LINEADDRESSCAPS
dwTotalSize=x1000
dwNeededSize=x3c6
dwUsedSize=x3c6
dwLineDeviceID=xe
dwAddressSize=x21
dwAddressOffset=xe4
00333032 00000000 00000000 00000000 203.............
00000000 00000000 00000000 00000000 ................
xxxxxx00 xxxxxxxx xxxxxxxx xxxxxxxx .
dwAddressSharing=x1PRIVATE
dwAddressStates=x16dOTHER INUSEZERO INUSEONE NUMCALLS
FORWARD CAPSCHANGE
dwCallInfoStates=x5f2ffb37OTHER DEVSPECIFIC BEARERMODE
MEDIAMODE APPSPECIFIC ORIGIN REASON NUMOWNERINCR
NUMOWNERDECR NUMMONITORS TRUNK CALLERID CALLEDID
CONNECTEDID REDIRECTIONID REDIRECTINGID USERUSERINFO
CHARGINGINFO TERMINAL DIALPARAMS MONITORMODES TREATMENT
CALLDATA
dwCallerIDFlags=x8000006fBLOCKED OUTOFAREA NAME ADDRESS
UNKNOWN UNAVAIL <unknown flag(s)>
dwCalledIDFlags=x6fBLOCKED OUTOFAREA NAME ADDRESS
UNKNOWN UNAVAIL
dwConnectedIDFlags=x6fBLOCKED OUTOFAREA NAME ADDRESS
UNKNOWN UNAVAIL
dwRedirectionIDFlags=x6fBLOCKED OUTOFAREA NAME ADDRESS
UNKNOWN UNAVAIL
dwRedirectingIDFlags=x6fBLOCKED OUTOFAREA NAME ADDRESS
UNKNOWN UNAVAIL
dwCallStates=xfffbIDLE OFFERING DIALTONE DIALING
RINGBACK BUSY SPECIALINFO CONNECTED PROCEEDING
ONHOLD CONFERENCED ONHOLDPENDCONF ONHOLDPENDTRANSFER
DISCONNECTED UNKNOWN
dwDialToneModes=xcINTERNAL EXTERNAL
dwBusyModes=x7STATION TRUNK UNKNOWN
dwSpecialInfo=x8UNKNOWN
dwDisconnectModes=x9fNORMAL UNKNOWN REJECT PICKUP
FORWARDED BADADDRESS
dwMaxNumActiveCalls=xa4
dwMaxNumOnHoldCalls=xa4
dwMaxNumOnHoldPendingCalls=xa4
dwMaxNumConference=x20
dwMaxNumTransConf=x20
dwAddrCapFlags=x5506aPICKUPGROUPID BLOCKIDDEFAULT
DIALED ORIGOFFHOOK TRANSFERHELD CONFERENCEHELD
PARTIALDIAL FWDINTEXTADDR
dwCallFeatures=xbf1f9ffeADDTOCONF ANSWER BLINDTRANSFER
COMPLETECALL COMPLETETRANSF DIAL DROP GATHERDIGITS
GENERATEDIGITS GENERATETONE HOLD MONITORDIGITS
PARK PREPAREADDCONF REDIRECT REMOVEFROMCONF SECURECALL
SENDUSERUSER SETUPCONF SETUPTRANSFER SWAPHOLD UNHOLD
RELEASEUSERUSERINFO SETTREATMENT SETCALLDATA
dwRemoveFromConfCaps=x3, ANY
dwRemoveFromConfState=x1IDLE
dwTransferModes=x3TRANSFER CONFERENCE
dwParkModes=x3DIRECTED NONDIRECTED
dwForwardModes=x777fUNCOND UNCONDINTERNAL UNCONDEXTERNAL
UNCONDSPECIFIC BUSY BUSYINTERNAL BUSYEXTERNAL NOANSW
NOANSWINTERNAL NOANSWEXTERNAL BUSYNA BUSYNAINTERNAL
BUSYNAEXTERNAL
dwMaxForwardEntries=x5
dwMaxSpecificEntries=x1
dwMinFwdNumRings=x3
dwMaxFwdNumRings=x3
dwMaxCallCompletions=x1
dwCallCompletionConds=x3BUSY NOANSWER
dwCallCompletionModes=xfCAMPON CALLBACK INTRUDE MESSAGE
dwAddressFeatures=x3687FORWARD MAKECALL PICKUP UNPARK
PICKUPGROUP PICKUPDIRECT FORWARDFWD FORWARDDND
dwNumCallTreatments=xc
dwCallTreatmentListSize=x90
dwCallTreatmentListOffset=x126
xxxx0003 xxxxxxxx xxxxxxxx xxxxxxxx ..
001c0000 01b60000 01020000 001c0000 ................
01d20000 01030000 00240000 01ee0000 ..........$.....
01040000 00240000 02120000 01050000 ......$.........
00320000 02360000 01060000 00320000 ..2...6.......2.
02680000 01070000 00320000 029a0000 ..h.......2.....
01080000 00320000 02cc0000 01090000 ......2.........
00320000 02fe0000 010a0000 00320000 ..2...........2.
03300000 010b0000 00320000 03620000 ..0.......2...b.
010c0000 00320000 03940000 xxxx0000 ......2.......
Calling lineOpen
hLineApp=x800003ff
dwDeviceID=xe
lphLine=x3c64f88
APIVersion=x20000
dwExtVersion=x0
dwCallbackInstance=x0
dwPrivileges=x6
dwMediaModes=x4
lpCallParams=x0
lineOpen returned SUCCESS
Calling lineMakeCall
hLine=x102ae
lphCall=x10d0d0
lpszDestAddress=x1ff0b8
dwCountryCode=x0
lpCallParams=x0
lineMakeCall returned x10204
received LINE_REPLY
device=x0
cbInst=x0
param1=x10204,
param2=x80000049,
param3=x0,
LINEERR_OPERATIONUNAVAIL
Loading...