Guest aftab518 Posted March 17, 2006 Report Posted March 17, 2006 Hi All, I am making an Application using TAPI 1- to detect out going call, 2- verify the dialed number 3- if specific number then dial another number here is what I am doing in the code InitlizeTAPI handle events in line call back on finding a specific number I dissconnect and recieve LINECALLSTATE_IDLE, here I use PhoneMakeCall or tapiRequestMakeCall or lineMakeCall or I did using ::keybd_event(VK_F3, 0, 0, 0); ::keybd_event(VK_F3, 0, KEYEVENTF_KEYUP, 0); ::keybd_event(0x33, 0, 0, 0); ::keybd_event(0x33, 0, KEYEVENTF_KEYUP, 0); ::keybd_event(0x32, 0, 0, 0); ::keybd_event(0x32, 0, KEYEVENTF_KEYUP, 0); ::keybd_event(0x31, 0, 0, 0); ::keybd_event(0x31, 0, KEYEVENTF_KEYUP, 0); ::keybd_event(VK_F3, 0, 0, 0); ::keybd_event(VK_F3, 0, KEYEVENTF_KEYUP, 0); but it takes almost 15 seconds before it gets connected on smartphone 2003 (qtek 8020) and on smartphone 2005 (qtek 8310) it takes time and then hang as soon as the number is connected. If I use a simple application just making a call using any of the above methods it connects to server very quick I am really confused and on smartphone 2005 I am really worried. I tried making a simple application which has only winmain and dials a number and called using CreateProcess in LINECALLSTATE_IDLE, when it works alone it works quick but when it is called from within application having the lineCallBack implemented then it takes the long time on sp 2003 and hangs after connecting in 2005. please I am looking forward for any suggestions.... I can tell more details on any questions regards Aftab Alam
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now