I am working with incoming calls on a PPC(Windows Mobile 6.1).
I manage to detect an incoming call on my "Cellular line" (LINECALLSTATE_OFFERING).
Then I can answer the call (lineAnswer) or drop it (lineDrop).
I also want to try redirecting the call, so I am using lineRedirect.
The function returns a positive value,
but a LINE_REPLY message brings back a LINEERR_OPERATIONFAILED(0x80000048) error.
When calling lineRedirect,
I am sure the application is an owner of the call and the call state is offering.
(lineGetCallStatus show us LINECALLSTATUS.dwCallPrivilege is LINECALLPRIVILEGE_MONITOR | LINECALLPRIVILEGE_OWNER, and LINECALLSTATUS.dwCallState is LINECALLSTATE_OFFERING.)
lineGetAddressCaps shows us the address have LINECALLFEATURE_REDIRECT feature.
Before call lineRedirect, lineGetCallStatus shows us the call have no feature(LINECALLSTATUS.dwCallFeatures is 0).
It is weird, isn't it?