TAPI with WM5 - Windows Mobile Development and Hacking General

Dears,
I implemented a dialing software using Alex Feinman's .NET Tapi wrapper.
My application was working fine in windows mobile version 4. Now, i'm facing this problem when working on windows mobile 5:
- I call a number from my software on IMATE Jamin
- the call is established and i start talking to the called party
- some one calls me
- my phone rings [normal ring and not call-waiting tone] although i already have a call establised; the incoming call doesn't enter in call-waiting mode.
Any Ideas?

Related

TAPI : phonecall problem

Hi all,
I have developped a phonecall functionnality for my PPC application. It works but I have an unpredictable problem.
First of all, some feature of my config: I am developping for Qtek 2020 and 9090 (both), with embedded Visual C++ (4.0 Sp4).
To make a phonecall, I used the following TAPI functions (like Microsoft Dialit sample):
- lineInitialize
- lineNegotiateAPIVersion
- lineGetDevCaps
- lineOpen
- lineMakeCall
and then (after conversation):
- lineGetCallStatus
- lineDrop (if needed)
- lineDeallocateCall
- lineClose
- lineShutdown
I am also using a callback function to manage line messages, info and states.
it can work correctly 20 times then crash or it can crash during the first call. Apparently the crash (application freezing) comes after lineMakeCall during line reply waiting.
Did you already heard anything about this kind of problem?
Please I need some help, it becomes very important and very urgent.
Best Regards
Yves

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

Can the Touch HD divert voice calls to inbuilt answering machine?

Hi all,
Does the Touch HD have the ability to divert a voice call to an inbuilt voice recording on the Touch HD? (i.e. like the O2 Stealth app- see link below)
O2 Stealth with a built in "virtual" answering machine:
Records incoming calls to the device. Really annoys your service provider. No more wasting minutes checking voicemail.
http://www.myxda.com/xda-stealth_value.aspx#answer
The first generic answering machine for Windows Mobile released:
http://www.smartphonemag.com/cms/blogs/3/the_first_generic_answering_machine_for
Thanks,
Nailoua
The answer is no, but indeed you can have an app activate speakerphone mode and then record conversations, for example with Audio Notes Touch http://iwindowsmobile.com/mobile-audio-recorder.html
I guess a program about it "could" be made but nothing seems to exists up to now
Why iSecretary can’t mute the microphone of my xperia x1 and why the caller can’t hear my answer message
How can I fix this using registry or any tweak tool for windows mobile 6.1
thanks

Help voip htc leo hd2

Hello,
first of all great site I have to say... got me a lot of help with my new HD2 (switched from Nokia S60 to WM)...
No I'm trying to get my HD2 work as an VOIP Client over pbxes.org.
I found the Cab Files to enable the Voip Settings Tab and the Config-Tool.
Installed both, configured and it's working!
Now I have the Problem that I can not choose wheter to make the Call over GSM or VOIP, It's always dialing over voip (when VOIP connected). There is no config tool/button for manila (HTC sense)...
So is it possible to make a call with gsm (for mobile numbers) when voip is connected?? Or to quick disable VOIP and reenable it after the Call? Any ideas?
I'm using Nimbuzz, AGEPhone and PortSip as well, everything works with wifi-connection.
Hello
Please tell me you figured out how to install voip native windows mobile client?
Because i'd installed destr0_VOIP_WM61___SIP_Config_1.1.CAB and the settings from sip provider, it says that is selected on the today screen but when i try to make a call via default HTC dialer it shows Dialing after less than a second a short error tone and the call is not made via voip...
I can't figure out where is the problem with my HD2.
Thank you!
thommy5583 said:
So is it possible to make a call with gsm (for mobile numbers) when voip is connected?? Or to quick disable VOIP and reenable it after the Call? Any ideas?
Click to expand...
Click to collapse
Try installing something like Second Today. You can enable the internet calling home screen item on it, flip to it when you need to and disconnect the Voip.
fiftyz said:
Hello
Please tell me you figured out how to install voip native windows mobile client?
Because i'd installed destr0_VOIP_WM61___SIP_Config_1.1.CAB and the settings from sip provider, it says that is selected on the today screen but when i try to make a call via default HTC dialer it shows Dialing after less than a second a short error tone and the call is not made via voip...
I can't figure out where is the problem with my HD2.
Thank you!
Click to expand...
Click to collapse
My guess is your dialplan needs to be modified. I think the ones that come in the packages default to area code 425 or something. I modified mine to just dial whatever I punch in with no modifications and then things started working.
CanEpia said:
My guess is your dialplan needs to be modified. I think the ones that come in the packages default to area code 425 or something. I modified mine to just dial whatever I punch in with no modifications and then things started working.
Click to expand...
Click to collapse
Thank you... Yes the problem was with dialplan. I solved now...
But i have another problems:
1) When I call a number via sip the dialer windows show last call and current call over eachother insted of current call.
2) I'd installed destr0_VOIP_WM61___SIP_Config_1.1.CAB on my Leo... Is working without the need of audioroute but I saw that this cab is for WM 6.1 and Leo has WM 6.5 Rom. I need VoIP_HD.cab?
3) Is there a way to make manila show also SIP operator instead of GSM when Internet Calling is available?
4) How can we change comm manager to change one registry value when button is turned off?
Hi did you managed to get the audio out the front speaker and not the back speaker
Or is this problem still the same
Service shows selected but no dialing
I have the same problem as fiftyz. What did you change in dialplan to correct? Could you share your dialplan?
VOIP ENERGY Leo ROM
Dear all I have searched en searched but didn't find a answer anywhere.
The problem is next:
I want to use VOIP on my TP2.
In the ENERGY Leo ROM VOIP is integrated.
I only download a SIPconfig tool to make it work.
But I don't get the speaker and the mic. to work properly.
Calling as a fact is working but then the people can’t hear my.
And I hear than only over the back speaker.
Does somebody know how to solve this problem??
sip voip solved
http://forum.xda-developers.com/showthread.php?t=596682
tested and working
works great
http://forum.xda-developers.com/showthread.php?t=596682

WM 6.5 - Hide / Kill CProg.exe

Hi, i know this question might pops up every now and then. Tried hard to find a solution but still can't find anything workable. Here's my issue:
I'm developing an app for Windows Mobile 6.5 (With TAPI 2.0), using Motorola MC65 as target device, that would allow user to make calls and answer calls. For outgoing calls i have no problem whatsoever. For incoming calls, the OS default call answering screen (CProg.exe) will pop up when there's a call coming in.
After googling for solutions and trial and error a whole lot, here's what i did so far:
1. Use lineSetAppPriority to set my app to the top priority for handling incoming call. The call returns 0 (means success) but still the CProg will try to handle the incoming calls. Checked that the application name is correct as well.
2. Tried using FindWindow and SetForegroundWindow to hide the CProg. It works, when there's incoming call, the CProg will be hidden and my app is shown. However the button on my app couldn't be accessed as i think the focus or countrol is still with CProg. Tried using Focus() on my app and still not working.
3. Tried replace the CProg with an empty executable. After restart, my phone can't even access the radio network. Usually when booted up the device will prompt me for the SIM card's pin number, but this is not the case here. Tried calling in and operator's telling me can't reach the line.
Just wondering is there anyone, at all, that has encountered this issue before and get over it?
Thank you.

Categories

Resources