Does the android API expose access to the release cause that will be sent back inside the RELEASE message?
For example, if the phone has an incoming call (i.e the phone is ringing), and the user refuses the call, is it possible to programmatically set which release cause to send back in the REL (or is it an RLC in this case?) message?
Related
our app requires continuous gprs connection to our server. connection is lost when incoming phone call is accepted. automatic reconnect would be nice, yet gives problems when executed prematurely. anyone aware of a test for 'call in progress' in pocket pc sdk to avoid the situation?
How do you initially create the connection and how do you handle the error right now? You need to use TAPI to check the status of a call.
some functions to note:
lineInitialize
lineNegotiateExtVersion
lineOpen
lineGetNewCalls
lineGetCallStatus
You can set a notification to be sent to your program using
lineSetStatusMessages to send a notification on LINEDEVSTATE_DISCONNECTED event
so that you don't have to continuously monitor the call
How to use lineGetNewCalls ?
Can you give me a sample so I can follow? I try to catch the incoming call from the callback function for LINECALLSTATE_OFFERING, but no event is sent. Event such as LINEDEVSTATE_RINGING occured. What happen if event such as LINEDEVSTATE_OPEN is occured?
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:
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!
Hello everyone,
I'm having a weird bug.
Everytime I call a number from the contact list it automatically adds the phone company's prefix before it, like if I was making a long distance call.
For example: I call a contact which has this phone number - 018 9669-6996 but the phone automatically switches to 01518 9669-6996.
How can I remove this feature?
I'm on Android 4.3 btw
I've been having a problem with my Galaxy S10+. It's automatically rejecting calls from withheld numbers DESPITE the relevant setting being turned off.
I'm asking if there's a simple way to find out if there is possibly an installed app that is taking over and rejecting calls from withheld numbers? or if not then where is the overriding setting? I need to be able to accept calls from withheld numbers, for calls from doctors, etc. who don't have any option other than to call from withheld number due to switchboard.
Built-in call blocking (Phone settings) is powered by the hiya app, which I also previously had installed separately but have since uninstalled it with no effect. I can't think of anything else that may be overriding the call auto-reject setting?
Can anyone help?
Is there a way I can view a debug log for this event?
Edit: I should mention I am on the Sky Mobile VMNO (runs off the O2-UK MNO) but the phone is still running the H3G-UK firmware that I received it with.