Related
Hi,
I'm new to programming the SX56. I'd like to do some simple tapi apps, but I don't know what dll to reference -- coredll.dll? I'm using C# and the compact framework, and am familiar with using P/Invoke. I see a file on my device called coredll-dll.sig - what does it contain? Also, where do I get the coredll.dll (if that is what I should be using) as it does not appear in the Windows folder on my device. What is the TSP - Unimodem?
Thanks for any help.
Helen
I used Tapi with Embedded Visual Tools in plain C. I used tapi.h and linked with tapi.lib. You can't just open a comm port on the device and use AT commands, you have to use Tapi to control the phone.
I found a good book explaining it all and giving examples was "Windows CE Application Programming" by Nick Grattan and Marshall Brian ISBN 0-13-025592-0
I attach a sample of code that uses Tapi to make a phone ring for a fixed number of seconds you should make sense of the steps involved.
Do you have an example for answering TAPI call?
My dialing program is similar to the example. However, I can only make "voice" call work but not the data call. For data call I use "LINEMEDIAMODE_DATAMODEM" instead of "LINEMEDIAMODE_INTERACTIVEVOICE". I never got a ring message from the callee. and the caller side, I got a LINE_DEVSPECIFIC message with 40.
Does anyone have any idea?
- David
1st of all - hello!
This is my first post in this Forum and I feel very uncomfortable at this point because I got a question, which has been hit many times before. Further it won't be the exact right place here to ask, because I dont own a XDA but a Motorola MPx200 with Windows Mobile 2003 Smartphone Edition. Nevertheless, I guess you can help me because developement in .NET is quite the same - and most of the features will work there too.
But getting startet...
I'm trying to write a program, which will indicate on my desktop computer if there is a incoming call on my mobile. Further it has to show me the incoming callers ID, maybe from the buildin phonebook of the mobile. For that Programm i have to write a little "listener" for my mobile, which calls a function (which talks to my desktop) when a incoming call is received.
Unfortunatly I can't write C++, but I think there must also be a solution in C# .NET over a API call. But I don't know, which method in which DLL I should call to receive the information if there is an incoming call or not.
Can anybody please help figuring out how to do this.
What I know now is, that it has to do with RIL and TAPI, but I must read myself in RIL to understand that.
Your my last chance - i googled the whole day, even read about 20 pages on google groups but there wasn't the "All-i-need-to-be-happy"-solution at all. I also have searched the wiki in here...
Sorry if you don't understand some parts of this text - i come from germany, so english isn't my native language.
Thanks so long.
Marcus
Hi
for WM2003 it is kind of hard and involves a lot of study concernaing TAPI.
with WM5 it should be quite easy using .net compact framework 2.0 as there is a new namespace Microsoft.WindowsMobile.Status and a System Property called: SystemProperty.PhoneIncomingCall yet I have not tried that route.
One more Option which I didn't try - but could be a chance for you without learning TAPI is to register a small console.exe within the notifcation queue to run on the appropriate system event! (memmaid is a good explorer for the notiication queue)
This option will most likely just tell you that there is a call - and now details - I have no time to research this right now.
BR
Daniel
http://msdn.microsoft.com/library/en-us/apisp/html/sp_extapi_linegetnumbercalls.asp?frame=true
V
Progress
And is it working??
I thought I was the only one who wants to get this working...
Let us know !
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.
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
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