Re: transfer a call (tapi 3)
- From: Wilfried Mestdagh <wilfried@xxxxxxxxxxxx>
- Date: Fri, 31 Jul 2009 08:11:59 +0200
Hi Andreas,
Thank you for detailes description.
- lineAnswer() this incoming call
Seems I do something wrong. lineAnswer returns LINEERR_NOTOWNER. But I have called lineOpen with the OWNNER | MONITOR parameter. I double checked it. This is the generated log:
8:3.2.609 : Calling lineInitializeEx
lphLineApp=x2729d8
hInstance=x1000000
lpfnCallback=x10158df
lpszFriendlyAppName=x6f500
lpdwNumDevs=x6f4d8
lpdwAPIVersion=x6f56c
->dwAPIVersion=x20000
lpInitExParams=x6f4c0
->dwOptions=x3
8:3.2.609 : lineInitializeEx returned SUCCESS
num line devs = 9
8:3.25.812 : Calling lineGetDevCaps
hLineApp=x800003ff
dwDeviceID=x8
APIVersion=x20000
dwExtVersion=x0
lpLineDevCaps=x273fd8
8:3.25.812 : lineGetDevCaps returned SUCCESS
LINEDEVCAPS
dwTotalSize=x1000
dwNeededSize=x148
dwUsedSize=x148
dwProviderInfoSize=x6
dwProviderInfoOffset=xfc
79617641 xxxx0061 xxxxxxxx xxxxxxxx Avaya.
dwPermanentLineID=x4e42b120
dwLineNameSize=x15
dwLineNameOffset=x108
4f205049 63696666 68502065 3a656e6f IP Office Phone:
30313720 xxxxxx00 xxxxxxxx xxxxxxxx 710.
dwStringFormat=x1, ASCII
dwAddressModes=x1, ADDRESSID
dwNumAddresses=x1
dwBearerModes=x3, VOICE SPEECH
dwMediaModes=x14, INTERACTIVEVOICE DATAMODEM
dwGenerateToneModes=x8, BEEP
dwGenerateDigitModes=x2, DTMF
dwMonitorToneMaxNumFreq=x1
dwMonitorToneMaxNumEntries=x1
dwMonitorDigitModes=x6, DTMF DTMFEND
dwDevCapFlags=x1c0, DIALBILLING DIALQUIET DIALDIALTONE
dwMaxNumActiveCalls=x9
dwAnswerMode=x1, NONE
dwRingModes=x1
dwLineStates=x14406ce, RINGING CONNECTED DISCONNECTED
INSERVICE OUTOFSERVICE OPEN CLOSE REINIT TRANSLATECHANGE
REMOVED
dwUUIAnswerSize=x64
dwUUIMakeCallSize=x64
dwUUIDropSize=x64
dwUUISendUserUserInfoSize=x64
dwUUICallInfoSize=x64
dwLineFeatures=x9, DEVSPECIFIC MAKECALL
dwDeviceClassesSize=xb
dwDeviceClassesOffset=x132
xxxx6174 xxxxxxxx xxxxxxxx xxxxxxxx ta
6c2f6970 00656e69 xxxxxx00 xxxxxxxx pi/line..
8:3.54.875 : Calling lineOpen
hLineApp=x800003ff
dwDeviceID=x8
lphLine=x272af0
APIVersion=x20000
dwExtVersion=x0
dwCallbackInstance=x0
dwPrivileges=x6
dwMediaModes=x10
lpCallParams=x0
8:3.54.875 : lineOpen returned SUCCESS
8:4.27.31 : received LINE_APPNEWCALL
device=x10351
cbInst=x0
param1=x0,
param2=x1001c,
param3=x2, MONITOR
8:4.27.31 : received LINE_CALLSTATE
device=x1001c
cbInst=x0
param1=x2, OFFERING
param2=x0,
param3=x0,
8:4.27.31 : received LINE_CALLINFO
device=x1001c
cbInst=x0
param1=x11c35e, DEVSPECIFIC BEARERMODE RATE MEDIAMODE
CALLID ORIGIN REASON TRUNK CALLERID CALLEDID DISPLAY
param2=x0,
param3=x0,
8:4.29.328 : received LINE_CALLSTATE
device=x1001c
cbInst=x0
param1=x4000, DISCONNECTED
param2=x1, NORMAL
param3=x0,
8:4.29.328 : received LINE_CALLSTATE
device=x1001c
cbInst=x0
param1=x1, IDLE
param2=x0,
param3=x0,
8:4.29.328 : lineGetCallStatus returned SUCCESS
Call x1001c deallocated on IDLE
8:4.41.250 : received LINE_APPNEWCALL
device=x10351
cbInst=x0
param1=x0,
param2=x101b7,
param3=x2, MONITOR
8:4.41.250 : received LINE_CALLSTATE
device=x101b7
cbInst=x0
param1=x2, OFFERING
param2=x0,
param3=x0,
8:4.41.250 : received LINE_CALLINFO
device=x101b7
cbInst=x0
param1=x11c35e, DEVSPECIFIC BEARERMODE RATE MEDIAMODE
CALLID ORIGIN REASON TRUNK CALLERID CALLEDID DISPLAY
param2=x0,
param3=x0,
8:4.53.578 : Calling lineAnswer
hCall=x101b7
lpsUserUserInfo=x6f478
dwSize=x12
8:4.53.578 : lineAnswer returned LINEERR_NOTOWNER
8:5.4.437 : received LINE_CALLSTATE
device=x101b7
cbInst=x0
param1=x4000, DISCONNECTED
param2=x1, NORMAL
param3=x0,
8:5.4.437 : received LINE_CALLSTATE
device=x101b7
cbInst=x0
param1=x1, IDLE
param2=x0,
param3=x0,
8:5.4.437 : lineGetCallStatus returned SUCCESS
Call x101b7 deallocated on IDLE
--
rgds, Wilfried
Microsoft MapPoint MVP
.
- References:
- transfer a call (tapi 3)
- From: Wilfried Mestdagh
- Re: transfer a call (tapi 3)
- From: Wilfried Mestdagh
- Re: transfer a call (tapi 3)
- From: Wilfried Mestdagh
- Re: transfer a call (tapi 3)
- From: Wilfried Mestdagh
- Re: transfer a call (tapi 3)
- From: Wilfried Mestdagh
- Re: transfer a call (tapi 3)
- From: Wilfried Mestdagh
- transfer a call (tapi 3)
- Prev by Date: Re: transfer a call (tapi 3)
- Next by Date: Binary communication using Julmar Tapi2 dll
- Previous by thread: Re: transfer a call (tapi 3)
- Next by thread: Call duration
- Index(es):
Relevant Pages
|