How to handle incoming calls programatically - Windows Mobile Development and Hacking General

Hi guys.
When I use my headset I would like to know who is calling. So I thought about it and came to two solutions.
One is to make a program to handle incoming calls and that can be configured to play the voice tag associated with the current calling contact, or if the caller isn't on the address book, then say the phone number (I would make 10 wav files each with one number spoken on it).
The second option was to search for something like it on the net.
For the first I've searched everywhere and I wasn't able to find how to programatically handle incoming calls and retrieve the call info.
For the second I haven't found such software.
Can someone point me in some direction?
Thanks

I searched better and it seems that Microsoft Voice Commander does what I need.
Can someone please confirm?
Thanks

Related

Phone application cprog.exe

Hi,
I want some information about default phone application cprog.exe.
I want to know how does it communicate with outlook and other application.
I guess most probably it should be via message posting.
But, unfortunately wheni tested the same with spy running on cprog and then i called a contact from outlook contacts.
I see many messages posted to cprog but I found no message or Parameter(WPARAM/LPARAM) to cprog that contains the number to call.
can anyone help me out to get information how to fetch that number? the number passed to phone/cprog.exe from contact.
The same thing i need for sddialer.exe that after matching the sound tag, how it informs cprog that which number to call?
Please help! I am looking these since long...
Good Luck
Best of luck trying to find any doco on cprog (if you do, please post back here!).
If you have a look at this thread you may find what you are looking for (at least how to initiate a call from the PC is there):
http://forum.xda-developers.com/showthread.php?t=295585
Look for LINE_REQUEST message
There a two ways, that an application can make a call; using tapiRequestMakeCall or lineMakeCall. tapiRequestMakeCall is by far the simplest to use. Examples of their use can be found in two sample cellcore progams available from microsoft, CeDialer, and HelloTapi. You could try this and see which produces messages simular to outlook. I'll guess that it's HelloTapi (tapiRequestMakeCall).
When an application uses tapiRequestMakeCall a LINE_REQUEST message is sent to the call-control application. This application must then call lineGetRequest to get information on the request. It then must execute the request.
See the remarks on the lineRegisterRequestRecipient page at microsoft
http://msdn2.microsoft.com/en-us/library/ms736043.aspx
I wish there was a similar Hello USSD example for the lineSendUSSD API. There's very little information on it... No one seems to be able to capture the responses past the first call.
oops missed part of your question
After the call app places the call, it should get a series of messages, mostly LINE_CALLINFO and LINE_CALLSTATE. The messages contain a handle for the call. Once you have the call handle you should be use the lineGetCallInfo and lineGetCallState functions to get info about the call. I think lineGetCallInfo includes the number that was called. The callstate typically goes through dialling, progressing, and then connected. I believe your not supposed to use the call handle until after a LINE_REPLY message is sent, saying the call didn't fail. If there are problems perhaps you should wait a short time.
To find out more about the messages, you could play with the CeDialer sample. It's linecallbackfunc looks at the messages, it would be easy to put in a few logging statements to see what's in each message. It think CeDialer will only get messages for inbound calls, and calls that it originated. (not ones by cprog.) Although you should check to be sure that I'm correct.
Good luck! Please, let us know whatever you might find out.
Hi,
I will look into this and post reply according As soon as possible.
Thanks
Where i can find the original cprog.exe to install in my non phone PDA? it's the dialer for voip.
Many thanks

On incoming call send SMS to other number

Hi,
I want to develop the following app:
I have two mobiles with Windows. One for business and one private. When somebody calls on my business phone (which I leave at home) I want to divert them to the voicemail (maybe after one ring) so they can leave a message. At the same time I want this mobile to send a SMS to my private phone with the number of the caller (caller-id?). So I can phone them back after listening to the voicemail.
Can anybody direct me in the right direction to develop this? Is it possible to develop this?
If you have VStudio with WM5 SDK, I think it won't be difficult (I think. I dont have WM5 SDK, as I'm cheapo and using evc). There is this thing call.. State and Notification Broker thing that WM5 has which check on the state of the phone and do something about it. Probably a good place to start.
a software MagiCall ..has such feature..not sure if its sms includes the callers number..but custom sms can be set when incoming call comes..
google for MagiCall

Is it possible to trigger based on incoming caller ID

I am looking for an app that lets me do stuff when certain incoming numbers (either a simple editable list or a selection of contacts) call..... essentially I want the phone to answer and then hang up immediately so the numbers don't get my voicemail, they just get rejected.
At the moment I have the contacts set with a silent ringtone so I don't get disturbed, but sometimes I get voicemails from them and I want to prevent these.
I have had a look at Mortscript and can find how to handle incoming calls, just not how to handle incoming calls from specific contacts in specific ways.
Any help appreciated
go to www.youmail.com
i like this free service and it handles caller id calls more efficiantly than any software you can purchase.
Thanks for the link, unfortunately it's US only and I'm in the UK.
CallFirewall does exactly that what you need.
Try this:
http://www.mobiion.com/magicall.html
It does everything you asked, and a whole lot more.
+1 for magicall... it rocks
Thanks for the links guys, downloading them both now
Call Firewall didn't quite do the trick as I could only get it to go to voicemail, but Magicall does 100% what I want, plus more, so I promptly coughed up the cash for it
Somewhere else on the forum there's a program what lets you make your own interface in html with js/flash. you can use that and make javascript countdown for x seconds and than let it pick up and hang up... or whatever you want not the best solution but it still is a solution

Pre-Selection Voip for Phonebook

Hi @ all,
I have a question or request. First let me explaine the situation.
I use justVoip.com for calling German Cells cheaper and the USA for free. I call justVoips Landline for free (because I have a landline-flat) and they forward the call to the desired number. I used to just save their number before the contacts number seperatet by a "P" (pause): 08912345P0172123456
When receiving calls my Motorola would still recognize the Call-id, also with the voip number in front of it. But my X1 now doesnt recognize calls with their number inserted...
So my question is... either is there a way to have two seperate phone books running parallel or is there maybe a software that always asks if the preselection should be added when making a call??
Or a nother solution I didnt think of yet..
Hope this wasn't to complicated and you kinda now what i mean...
thanks..
Danny

SIP problem :(

So I just moved to the Touch HD from the Nokia E90 which had a smooth, built in SIP client.
With some googling and the help of some posts, I successfully set up the WM6 VOIP cab, and used the SIP Config Tool to configure my Gizmo account.
It connected successfully and I could even receive a call. I changed the settings to make calls "Whenever Available" .... Now whenever I make a call, I get a voice prompt from Gizmo saying call cannot be connected as dialed.
Now this is a proof I am connected to Gizmo servers successfully. But I cannot dial out to regular phones.
I tinkered more with this and found out this was a matter of IPDialPlan.xml file ..... which seemed logical because in my Nokia E90 the phone automatically added a suffix to the numbers.
I could not understand the format .... and I used a file from some forum post that even worsened the situation. Now I can't even dial out to get the prompt.
Can anyone help me with a legit IPDialPlan.xml file? I'd be very grateful.

Categories

Resources