TAPI or GPRS access with .NET CF?

  • Thread starter Thread starter Liran Shahar
  • Start date Start date
L

Liran Shahar

Hi,

i have iPAQ 3970 with a GPRS sleeve, the OS installed is PocketPC and .NET CF
runtime, i would like to access the GPRS to make a phone call, i read many
newsgroups and this seems to be an unsolved topic, should i use TAPI? if so
where to find TAPI definitions? should i was serial communication and "AT"
commands? if so how do i detect the GRPS assigned com port?

i got several replys when asking this question is other forums, all saying i
should use "phone.dll" and "sms.dll" or "cellcore.dll" all of them appear on
the phone pocket pc edition and not in the normal edition i use, can i
reinstall the device with phone edition? if i can where to find a description
of the installation process?
 
On any device (Smartphone/PPCPE/PPC with GPRS sleeve) you should be able to
make a call via TAPI. The one problem with using TAPI from CF is that in
order to be able to receive line and call state change notifications you
will need a callback function, which is not supported on CF. The solution to
this one is to provide a C++ DLL that would provide a callback and forward
notifications to your CF code via MessageWindow class.
If your goal is simply to make a call and forget about it, P/Invoke
tapiRequestMakeCall function

Using AT commands will work in many cases as well, but that makes you much
more device-dependent and besides it's not fun at all. Trust me on this
one - 3+ years in voice-modem telephony

PPCPE cannot be "installed" on a regular PPC device. The Windows CE OS is
not installable.
 
Alex thanks for the help!

where can i find "tapiRequestMakeCall"? in what DLL? is there any sample code
that i can look at? is there a special number format i should use for the phone
number? what params does it take?

Thanks again.
 
It is in cellcore.dll. Cellcore.dll is present on the PPC2002 emulator, so I
don't see why it shouldn't be on your iPaq. The alternatives are:
1) Using full TAPI
2) Upgrade to WM 2003 - IPaqs 38xx are officially upgradable, and you can
order the upgrade from HP site.
 
i found the function inside cellcore like alex explained, i ran it and nothing
happend, are reading some more i found out that it just passes the call params
onto another program to make the actual call, this program supposed to be
defined in the registry key "Telephony\Handoffpriorities\RequestMakeCall" but i
tried to play around with this value and nothing happend (at first it was =
cemapi.dll and nothing there to)

how should i used this API function? what should be the settings of this
registry key?

thanks.
Liran
www.com-n-sense.com
 
Back
Top