Re: Working with incoming calls
- From: Merche <Merche@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 6 Apr 2006 03:57:02 -0700
Hi Grant (sorry for not replying you before),
I am using an HP iPAQ serie h6300 (Pocket PC)
My TSP is Vodafone ES
Best regards,
Merche
"Grant Schenck" wrote:
I'm not surprised you need to answer the call first before you can blind.
transfer it. Some TSPs and/or their hardware are limited in how flexible
they can be with regards to operations and call states.
Just curious, what hardware/TSP are you using?
--
Grant Schenck
http://grantschenck.tripod.com
"Merche" <Merche@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:40503976-261F-4DFD-B44A-39BE6512C2D5@xxxxxxxxxxxxxxxx
Hi Grant,
First of all thank you very much for you reply.
I think the first option could be possible. I can answer (lineAnswer) and
drop (lineDrop) the call. I can also transfer the call (lineBlindTransfer)
after answering it... but lineRedirect does not seem to work properly...
Best regards,
Merche
"Grant Schenck" wrote:
It means one of two things:
1) The TAPI Service Provider (TSP) developer was lazy and doens't
maintain these fields. Because these fields are advisory and because
there
is not concept of certifications for TSPs it is possible this is the
case.
Can you for example, call lineAnswer on this call or lineDrop? If so
then
this would indicate the TSP isn't maintaining this inforamtion.
2) The TSP is setting this deliberatly and there are in fact no valid
operations on the call. A case might be a call on an analog phone where
the
TSP provides monitor only features. Any answer, drop, etc. requires the
human to use their phone device.
--
Grant Schenck
http://grantschenck.tripod.com
"Merche" <Merche@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1F969589-A185-4F5C-ADAD-3E674C9046C7@xxxxxxxxxxxxxxxx
Hi Andreas,
I am testing what you suggested to me.
When I receive the incoming call (LINECALLSTATE_OFFERING) I call to
lineGetCallStatus and this is the LINECALLSTATUS structure that I get:
- LineCallStatus {dwTotalSize=56 dwNeededSize=56 dwUsedSize=56
...} linecallstatus_tag
dwTotalSize 56 unsigned long int
dwNeededSize 56 unsigned long int
dwUsedSize 56 unsigned long int
dwCallState 2 unsigned long int LINECALLSTATE_OFFERING
dwCallStateMode 1 unsigned long int LINEOFFERINGMODE_ACTIVE
dwCallPrivilege 4 unsigned long int LINECALLPRIVILEGE_OWNER
dwCallFeatures 0 unsigned long int
dwDevSpecificSize 0 unsigned long int
dwDevSpecificOffset 0 unsigned long int
dwCallFeatures2 0 unsigned long int
- tStateEntryTime {wYear=2006 wMonth=3 wDayOfWeek=4 ...} _SYSTEMTIME
wYear 2006 unsigned short
wMonth 3 unsigned short
wDayOfWeek 4 unsigned short
wDay 30 unsigned short
wHour 11 unsigned short
wMinute 13 unsigned short
wSecond 1 unsigned short
wMilliseconds 0 unsigned short
As you can see both dwCallFeatures and dwCallFeatures2 are 0. What does
it
mean?
Thanks in advance and best regards,
Merche
"Andreas Marschall [MVP TAPI]" wrote:
"Merche" <Merche@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:CFDFD550-9813-46BC-B6AA-38AF5D7C8A73@xxxxxxxxxxxxxxxx
First of all, thank you very much (Andreas and Grant) for your quickanswers.
Merche, you are welcome.
I am receiving a LINE_REPLY after calling lineRedirect, this is thelinemessage_tag
message
I receive:
stLineMsg {hDevice=0 dwMessageID=12 dwCallbackInstance=1 ...}
hDevice 0 unsigned long int
dwMessageID 12 unsigned long int
dwCallbackInstance 1 unsigned long int
dwParam1 69 unsigned long int
dwParam2 2147483720 unsigned long int
dwParam3 0 unsigned long int
If I cast the dwParam2 into a LONG its value is -21474835756, which
seems to
mean LINEERR_OPERATIONFAILED
You cast result seems to be incorrect, but the error code is correct
again.
2147483720 = 0x80000048
TAPI2 error code: 0x80000048 (dwMessageID = 0x0000e048) = The
operation
failed
for unspecified reasons
I am not sure about where is the problem, my call to lineRedirect is
as
easy
as follows:
lRet = lineRedirect(m_hCall, lpszDestAddress , 0);
Prior to the lineRedirect() attempt does
(LINECALLSTATUS.dwCallFeatures &
LINECALLFEATURE_REDIRECT) indicate that this operation is valid at
that
time?
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied
to.
* This posting is provided "AS IS" with no warranties, and confers no
rights.
- Follow-Ups:
- Re: Working with incoming calls
- From: Grant Schenck
- Re: Working with incoming calls
- Prev by Date: Re: Cisco join()
- Next by Date: Re: Ring mode
- Previous by thread: Should I waveOutClose, after each file?
- Next by thread: Re: Working with incoming calls
- Index(es):
Relevant Pages
|