Prev: VS2008 don't start debugging on the device, always use emulator?
Next: how to simulate incoming sms on a wifi phone without a simcard
From: flyfrogs via PocketPCJunkies.com on 13 Jan 2010 03:46 Hi everyone, I use TAPI on Mobile 5.0/6.0/6.1. I monitor incoming calls, When the incoming number is some special number, then lineRedirect the call to another number given before. lineRedirect returns with a positive value, which means lineRedirect succeeded. But the corresponding LINE_REPLY message bring back LINEERR_OPERATIONFAILED, which means lineRedirect failed. Can you help me? Here is the log: 2010-01-13 15:26:02: LINE_CALLSTATE(60BA70,2,1,6) 2010-01-13 15:26:02: LINECALLSTATE_OFFERING 2010-01-13 15:26:03: LINE_CALLINFO(60BA70,100,0,0) 2010-01-13 15:26:03: LINECALLINFOSTATE_ORIGIN 2010-01-13 15:26:03: LINE_CALLINFO(60BA70,10,0,0) 2010-01-13 15:26:03: LINECALLINFOSTATE_MEDIAMODE 2010-01-13 15:26:03: LINE_CALLINFO(60BA70,8000,0,0) 2010-01-13 15:26:03: LINECALLINFOSTATE_CALLERID 2010-01-13 15:26:03: Incoming call number: 12345678912, special number, redirect it. 2010-01-13 15:26:04: lineGetCallStatus:0x0 2010-01-13 15:26:04: TotalSize 0x38, NeededSize 0x38, UsedSize 0x38, DevSpecificSize 0x0, DevSpecificOffset 0x0 2010-01-13 15:26:04: ----CallState---- 2010-01-13 15:26:04: LINECALLSTATE_OFFERING 2010-01-13 15:26:04: dwCallStateMode:0x1 2010-01-13 15:26:04: dwCallPrivilege:0x6 2010-01-13 15:26:04: dwCallFeatures:0x0 2010-01-13 15:26:04: dwCallFeatures2:0x0 2010-01-13 15:26:04: lineRedirect returned:0x150 2010-01-13 15:26:04: LINE_CALLINFO(60BA70,20000,0,0) 2010-01-13 15:26:04: LINECALLINFOSTATE_CONNECTEDID 2010-01-13 15:26:05: LINE_REPLY(0,150,80000048,0) 2010-01-13 15:26:15: LINE_CALLINFO(60BA70,2800,0,0) 2010-01-13 15:26:15: LINECALLINFOSTATE_NUMMONITORS 2010-01-13 15:26:15: LINECALLINFOSTATE_NUMOWNERINCR 2010-01-13 15:26:16: LINE_CALLSTATE(60BA70,4000,800,0) 2010-01-13 15:26:16: LINECALLSTATE_DISCONNECTED 2010-01-13 15:26:17: LINE_CALLSTATE(60BA70,1,0,0) 2010-01-13 15:26:17: LINECALLSTATE_IDLE 2010-01-13 15:26:17: LINE_CALLINFO(60BA70,1000,0,0) 2010-01-13 15:26:17: LINECALLINFOSTATE_NUMOWNERDECR 2010-01-13 15:26:17: LINE_CALLINFO(60BA70,2000,0,0) 2010-01-13 15:26:17: LINECALLINFOSTATE_NUMMONITORS 2010-01-13 15:26:17: LINE_CALLINFO(60BA70,2800,0,0) 2010-01-13 15:26:17: LINECALLINFOSTATE_NUMMONITORS 2010-01-13 15:26:17: LINECALLINFOSTATE_NUMOWNERINCR 2010-01-13 15:26:17: LINE_CALLINFO(60BA70,1000,0,0) 2010-01-13 15:26:17: LINECALLINFOSTATE_NUMOWNERDECR -- Message posted via PocketPCJunkies.com http://www.pocketpcjunkies.com/Uwe/Forums.aspx/pocketpc-prog/201001/1 |