Take full control of an incoming call - Windows Mobile Development and Hacking General

Hi guys!
I'm trying to develop an application to control the incoming call flow. That is an easy task in it self, and i solved that by using C++ and TAPI. The problem is that cdialer.exe always disturb me with that annoying ringtone and popup. So basically my question is how i can take full control of a HCALL coming from a TAPI callback, process the call and then simulate a new TAPI callback so the default phone app can get a hold of the call. If you have tried Magicall or any other similar call filter app, you know what i mean. I just can't understand how they do it.
Any suggestions?

I was under the impression that TAPI couldn't handle incoming calls.

TAPI handles both incoming and outgoing phone calls on WM.

You need to use RIL. But it's quite hard (at least for me) to implement as the documentation is rare. Good Luck.

Thanks A_C, i'll give that a try

My bad. TAPI 2.0 introduced Inbound calls support.

Related

Get Caller ID via RIL?

Hi,
from time to time I like the RIL. Have found the RIL_NOTIFY_RING and be able to see, when my MDA get a call.
Now I'm searching for a way to get the callerID (TelephoneNumber). Because of I'm using the RIL also for SMS, I'ld like to manage the CallID also with it, so that I havn't got to implement TAPI o.s.e.
Wish you a happy new year,
greetings from hannovre,
Andreas )
I am always failed to constuct a call by RIL
I have tried RIL to construct a call. Only one time, the callee can hear my voice but I can not hear his. Then I could not establish any call again. Any idea? Is it necessary to add some codes on callback if just constructing a call?
Bob

replace the caller ID notification screen

Hi,
I need to develope an application that basically replaces the caller ID screen that pops up when you have an incoming call and show some more information on the caller, then let the user answer or decline the call.
any help on where to look first (or maybe code snipets if i'm lucky) highly appreciated.
Cheers,
Shafa
I think you may have a hard time if it is truly a seperate application you wish to write. I have written a program to try to be used at the same time as cprog.exe and when that incoming call window comes up nothing I have tryed will let the user interact with any windows I create. You could stop that process but most users will not want to do this. I ended up having my program automatically determine if it wants to accept the incoming call and answer it itself. This was particularly anoying because my incoming call interest was set to data only and cprog dose not normally even register an incoming call that is purly data. But after I had initialized tapi with my settings cproc unexpectedly shared the same interest for incoming data calls.
Just as speculation - if your program was constantly running, when an incoming call is offering, you could enumerate the desktop windows using EnumWindows and its associated callback function to get the hwnd of the ballon that comes up. Then perhaps you could close the incoming call window or send it to the bottom of the z order and use your own to replace it. I do not know what effect this would have on cprog.
code related to tapi tends to be long so your not that lucky
:lol:

Help with cprog

Hi, I have started to write a parental control phone application for wm6 which would let my kids answer only selected numbers and dial only a few numbers, however I am having a few issues where I need help:
1- I am trapping the Notification Event for incomming call (RegistryNotifyCallback) and put my window topmost (to hide the Phone Incoming Window) but I don't know how to prevent the use of the Green and Red hardware buttons (I need to disable them so the phone can't be answered if the number is not approved)
2- For outgoing calls, I need my app to be started with the Green phone button instead of cprog, but again, how do I trap those buttons.
Thank you
Replacing CPROG: bad idea
You just need to create a dialParser dll (signed) that will block outgoing calls that are not allowed, and maybe some TAPI wrapper to block incoming calls.
Replacing cprog is just a wrong solution.
How to make a dialParser? look at Google! it's an undocumented API (MS doesn't want you to know how to do it if you don't pay the partnership...) but leaks are everywhere!

Get the incoming call's phone number (Caller ID)

Hi all,
How can I catch the incoming call's phone number (Caller ID) using the MFC?
If I use .NET there is SystemState and the SystemProperty PhoneIncomingCallerNumber. But what is similar with MFC?
Has anybody maybe a code snippet?
Joline
For WindowsMobile 5.0 and above you can read it from the registry.
Don't remember the exact reg key... but look in the SDK for:
SN_PHONEINCOMINGCALLERNUMBER_ROOT
SN_PHONEINCOMINGCALLERNUMBER_PATH
SN_PHONEINCOMINGCALLERNUMBER_VALUE
Best regards
Øystein
Thanks. This works.
I wrote a program which uses notifications and catches an incoming call. To see if that works the program opens a message box if there is an incoming call. But regrettably first I get the notification from the system and AFTER hang up the message box from my program appears.
What can I do that my program catch the call BEFORE all other programs notify this (e.g. to change the ring tone depending on the caller id)?
Joline
IMHO iits not so easy. You must use TAPI library and/or directly Ril.
Where can I find useful information about how to use TAPI and RIL (maybe with examples)?
Joline
For RIL exists only fragmentary informations - good source is forum http://www.teksoftco.com/forum/viewforum.php?f=15.
For TAPI examples search Windows Mobile SDK.
I need the same phone number catching in PHP
Hi ,
I need to generate the popup using PHP while the call is landed in our phone.
how can we do this?
Thanks and Regards,
JayarajMohan.J

Dialer API on HTC or TAPI

Hi, sorry if I missed the topic. I'm building a simple application that would allow me programmatically make conference calls and video calls. So I was wondering if the dialer has an API that may allow me do that. Another possibility is to use the TAPI but I don't know how to make video calls from it. Any help?
Thanks

Categories

Resources