Phone application cprog.exe - Windows Mobile Development and Hacking General

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

Related

call filtering w/TAPI?

Hi,
This is my first post, so I just wanted to say that I really appreciate all the support you guys have offered here, this place is probably the most informative source for working on these blasted devices.
I had a question about TAPI, cprog.exe and a couple of applications that are floating around out there. I have noticed a couple applications that appear to "call filter" calls. I was wondering what the basics is for this to work? The applications appear to be independent of cprog.exe but yet claim to control its behavior. The only TAPI call I can find that seems to be relevant is lineSetCallBarringState() but I'm not convinced that would do it... any ideas?
Thank you very much for your time.
-Jake
I think you probably want lineDrop (or lineRedirect?). You can call lineDrop in the lineCallBackFunc, after you receive lineOffering message.
check out the CeDialer sample, or here's a recent thread about getting caller id.
http://forum.xda-developers.com/showthread.php?t=303050
After you get the ID you can drop the call if you don't like it

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

Reject Call With Text Message

Does anyone know how to get this to work?
It can be found in Start - Settings - Phone - Advanced Tab
Mine is ticked but doesn't seem to do anything when I choose Ignore to an incoming call (i.e. the caller is not sent a text message saying the above)
Any ideas
I have wondered about this for a long time, but haven't come up with anything to make it work, sorry.
I usually disable it sooner or later, just in case.
K_Hismoom said:
I have wondered about this for a long time, but haven't come up with anything to make it work, sorry.
I usually disable it sooner or later, just in case.
Click to expand...
Click to collapse
I have unlimited text messages so charges isn't an issue for me.
All I can find is the option to send a text message when a call comes through, but nothing to automatically send a text message on an ignored call.
Hm, I think it's like this. Someone is calling you and if you wan't to ignore/reject the call, put your phone upside down on a table(with screen to the table), the call will be automatically ignored and I think THEN the message will be sent try it, not sure
I think, I have figured it out.
On an incoming call, you have the option to click on "Send text" in the lower left corner. The call is then rejected and you can compose an SMS to send to the caller.
I use an app called SMS Minder to do this myself, and I'm quite pleased with the results. You can have it respond to all missed calls/texts (select BLACKLIST & leave the field blank) or only to missed calls from certain numbers (select WHITELIST & add the numbers you want to respond to).
I've been using it for several months and it makes my work so much easier. I'm a cabdriver, and when a call comes in & doesn't get answered for whatever reason SMS Minder sends a message that says "I can't talk now, please text me".
For the longest time I didn't really trust Texting that much, but it's become an integral part of my work now. So much easier to read&reply to an SMS (10 to 15 seconds tops) than it is to dial voicemail, listen through the prompts & recital of the phonenumber, then listen to the message...and finally after all of THAT is done, then return the person's call. Texting is just that much easier.
Especially if I use a program like this to automate my responses...and a program on my desktop to send other text messages just like they were an email (it's got an interface similar to Outlook). I plug the phone into the computer & tuck it away...then any interaction I have with the phone is done by using Jeyo Mobile Companion (SMS interface with additional cool features) and/or MyMobiler (fully manipulable screen-shot of the phone's screen) on my desktop.
Of all the apps I've tried and/or discarded, these three have become almost indispensable to my work.
Use QSMS To Buddy:FullFeatured Free app from android market
Posted Android app on non Android forum by mistake. Sorry!
i believe, given the age of this thread, that it is about the native windows mobile feature to reject calls with an sms and there was no need to bump the thread with an app for another operating system. also, on android, depending on your phone and rom, this feature might also be pre-installed and available from stock, w/o the need for a 3rd party app.

Per call/contact caller ID settings

Is there a way, other than adding *31# infront of the stored number, to enable caller ID per contact in my 'people' tab?
My number is blocked by default (and I'd like to keep it that way for a variety of reasons) but would like to enable the ID when calling my wife and select other people. The workaround so far has been to add the code above infront of the number but then it seems SMS messages are not going thru which is less than ideal (I could add a separate number entry for messages I guess, but still).
Having looked at the Phone settings it seems I'm able to select "Contacts only" which in my mind (as a dev) means someone has already written a app (or simply extended the current Contact app) to allow for this on a per-contact basis.
Any ideas?
You can try this MagiCall
http://www.mobiion.com/
I was also looking for this.
The MagiCall features don't mention the option to set caller id per contact.
@emigrating: Did you fix it another way?
Anyone else knows a good solution?
+1 same interrest same issue.
But as time goes on you can use the following workaround: or let's say this is the way I manage it......
If you use the traditional SMS Mode and hit reply sms goes through.
This doesn't work as mentioned in Konversation Mode.
It's uncomfortable because the konversation mode is the better client...but the only way you can send sms to someone stored as *31# contact.
It seems as if the konversation mode always refers to the number stored in your contact, whereas the traditional mode refers to the number which comes with the sms.
I hope someone can fix this, or has a better workaround, I'll be interested to!!!
SWINXNL said:
I was also looking for this.
The MagiCall features don't mention the option to set caller id per contact.
@emigrating: Did you fix it another way?
Anyone else knows a good solution?
Click to expand...
Click to collapse
use MagiCall. Set up a rule: for your wife's phone #, prepend *31#, then dial.
I use it for long distance calls. For all phone # not in my home area code, prepend 1511 (chaper long distance call provider), then dial. A small problem with this: need to disable this rule when roaming in another country.
Give it a try, it is good.
I've downloaded the trial version and set up a rule for Outlook categories, just to test. Change the dialed number to #31#{phone}. When I call someone in the particular category, the MagiCall icon appears in the topbar and my device freezes....
No big problem, I restarted my device to try again.
The same thing happens. Again I take out the battery and restart the phone.
At that point the device became terrible slow somehow.
With a little patience I succeeded uninstalling the app.
Restarting again.
Fortunately, my phome is normal speed again.
Sorry, I'm not a big fan of MagiCall at this moment...
----
Edit: Just trying again, because I can't find a real alternative.
The problem seems to occur when I choose Outlook Category as filter.
Just bad luck for me by choosing that option for my first try.
The program seems to respond on other conditions.
It could be my phone only, otherwise maybe I will contact Mobiion about this..
Edit2: The problem was known and was fixed in a newer version.
So it seems to work after all

Blocking unwanted incoming calls and sms on HTC Touch Pro2

GodswMobile, the makers of SMS Transfer, have released a new application called Pocket Call Blocker.
As the name would suggest, the purpose of the application is to block unwanted incoming calls and sms. Unlike other software available for doing this, they have managed to keep the application as simple as possible. You simply add numbers to the filter list and the program prevents those numbers from calling you. Also unlike other applications available, the software does not simply ignore calls from those numbers – it instantly hangs up the callers. This prevents the unwanted callers from even reaching your voicemail! BTW, it could also used as a sms spam filter.
Key feature description from pocketcallblocker.com
* Multiple filtering rules - filter by specific numbers, wildcard numbers, anonymous and unidentified numbers, groups/categories numbers, contact/non-contact numbers; all numbers.
* Two incoming phone call block actions - hang up and mute;
* Two SMS block actions - delete and mark as read;
* Built-in phone number block log;
* Run on background;
* Easy way to operate and set up filter rules;
The application runs on Windows Mobile Pocket PC 6, 6.1, and 6.5 and is available from pocketcallblocker.com for $19. But I found a discount order link with 50% off.
Code:
regnow.com/softsell/nph-softsell.cgi?ss_coupon=GODS-Q1JP&item=22132-6
Step by Step guide of blocking unwanted incoming calls and sms
Code:
pocketcallblocker.com/support.html
1 post and it is just an advertisement for a pay program that you can get the same effects for free from other software? Can someone say SPAM?
HERE is freeware
http://forum.xda-developers.com/showthread.php?t=307178
CallFireWall
Teej53214 said:
1 post and it is just an advertisement for a pay program that you can get the same effects for free from other software? Can someone say SPAM?
Click to expand...
Click to collapse
AMEN!!! And SPAM! of course. lol
While we're on the subject, I used to use CallFirewall before changing my number, but never found a similar program for text messages. Does anyone know of one?
joseph881 said:
AMEN!!! And SPAM! of course. lol
While we're on the subject, I used to use CallFirewall before changing my number, but never found a similar program for text messages. Does anyone know of one?
Click to expand...
Click to collapse
now, when recieving an incoming call do you still recieve the initial ring before it hangs up? Because ive yet to find a program that completely blocks a call. They just hang up a split second after. if i blocked a number, i want it to go straight to voicemail for that person, without ringing. ill check this one out
I use Photo Contacts Pro myself...not freeware, but it does the job quite nicely hanging up on unwanted calls and sms...
Magicall from mobiion is doing a verny nice job. you can set up different rules for calls and sms and also tell the program what to do with them (ignore, hang up, delete sms, forward, and so on)

Categories

Resources