How to receive incoming phone call without using TAPI on WindowsMobile 2003 SE Phone edition

T

Tihomir Ignatov

Hi All,
I want to detect incoming phone call on Windows Mobile 2003 SE Phone
Edition. In the same application I'm using GPRS for TCP communication
and if the phone functionality is running with TAPI I have a problems
with GPRS reconnection.
How to detect incoming call without TAPI ? An other possibility is to
use the default device's phone application, but I don't know how to
transfer phone number when I initiate an outgoing call !?!

Thanks!
Regards
Tihomir Ignatov
 
P

Paul G. Tobey [eMVP]

I sense that there might be a deeper question here. If the phone call comes
in, the GPRS data connection is disconnected for the duration of the call.
Is *that* the problem?

Paul T.
 
T

Tihomir Ignatov

Hi,
No, that isn't the problem!
For example, if I have a connected GPRS and connect my PPC to
ActiveSync, this will disconnect my GPRS session! This is clear !!! But
if I disconnect ActiveSync , the GPRS session can't be restored! That is
the problem!.
In this example, the same application uses TAPI for "phone management".
If I remove the code, which uses TAPI all works good! Very strange!

Tihomir Ignatov
 
P

Paul G. Tobey [eMVP]

OK! So the issue is reestablishing a GPRS data session when you disconnect
AS, specifically? I'm trying to get away from *how* you're doing things and
onto *what* you're trying to do...

Paul T.
 
T

Tihomir Ignatov

When I'm using TAPI to manage the phone functionality of my device MDA
III (Windows Mobile 2003 SE Phone Edition) I have a problem with GPRS
reconnection. When I remove the code, which uses TAPI the reconnection
works, but I can't use my phone. One solution is to use the default
device’s phone application, but in this case I must invoke it, when I
want to make a phone call, show it on the screen and transfer the phone
number. The other problem is the case with incoming calls. I don’t know
whether is possible to catch these calls without TAPI. I read some
articles about RIL, but I don’t know how to use it !
Any ideas?
Thanks!

Regards
Tihomir Ignatov
 
P

Paul G. Tobey [eMVP]

So, you are, for reasons so far unspecified, replacing the Phone application
on the device with your own managed code application, yes? Can you tell us
why, just to be sure that we can't find you a simpler solution that doesn't
involve a complete replacement?

When you say that, when you remove your TAPI code, you "can't use my phone",
are you just saying that you can't use it the way you want to use it from
your managed code, or the phone doesn't work at all?

As I understand it, RIL is below TAPI in the driver stack. Without the
source for the Phone application from a device, it's not clear which, or
both, it's talking to. I don't know enough to help much with how to bend
TAPI to your will.

Paul T.

Tihomir Ignatov said:
When I'm using TAPI to manage the phone functionality of my device MDA III
(Windows Mobile 2003 SE Phone Edition) I have a problem with GPRS
reconnection. When I remove the code, which uses TAPI the reconnection
works, but I can't use my phone. One solution is to use the default device’s
phone application, but in this case I must invoke it, when I want to make
a phone call, show it on the screen and transfer the phone number. The
other problem is the case with incoming calls. I don’t know whether is
possible to catch these calls without TAPI. I read some articles about
RIL, but I don’t know how to use it !
Any ideas?
Thanks!

Regards
Tihomir Ignatov




OK! So the issue is reestablishing a GPRS data session when you
disconnect AS, specifically? I'm trying to get away from *how* you're
doing things and onto *what* you're trying to do...

Paul T.

Tihomir Ignatov said:
Hi,
No, that isn't the problem!
For example, if I have a connected GPRS and connect my PPC to
ActiveSync, this will disconnect my GPRS session! This is clear !!! But
if I disconnect ActiveSync , the GPRS session can't be restored! That is
the problem!.
In this example, the same application uses TAPI for "phone management".
If I remove the code, which uses TAPI all works good! Very strange!

Tihomir Ignatov



Paul G. Tobey [eMVP] wrote:
I sense that there might be a deeper question here. If the phone call
comes in, the GPRS data connection is disconnected for the duration of
the call. Is *that* the problem?

Paul T.

Hi All,
I want to detect incoming phone call on Windows Mobile 2003 SE Phone
Edition. In the same application I'm using GPRS for TCP communication
and if the phone functionality is running with TAPI I have a problems
with GPRS reconnection.
How to detect incoming call without TAPI ? An other possibility is to
use the default device's phone application, but I don't know how to
transfer phone number when I initiate an outgoing call !?!

Thanks!
Regards
Tihomir Ignatov
 
T

Tihomir Ignatov

Hi Paul,
I want to remove the default phone application and use mine, because I
want to restrict the phone calls. The user must be able to call only
numbers from custom "Phone book". It is controlled by the server!!! Also
I must skip incoming calls in roaming and outgoing calls after a
preset time.

All this is not possible with standard phone application therefore we
implemented own! Have you any ideas how we can achieve this restrictions
with std. phone ?

Thanks
Tihomir Ignatov




So, you are, for reasons so far unspecified, replacing the Phone application
on the device with your own managed code application, yes? Can you tell us
why, just to be sure that we can't find you a simpler solution that doesn't
involve a complete replacement?

When you say that, when you remove your TAPI code, you "can't use my phone",
are you just saying that you can't use it the way you want to use it from
your managed code, or the phone doesn't work at all?

As I understand it, RIL is below TAPI in the driver stack. Without the
source for the Phone application from a device, it's not clear which, or
both, it's talking to. I don't know enough to help much with how to bend
TAPI to your will.

Paul T.

Tihomir Ignatov said:
When I'm using TAPI to manage the phone functionality of my device MDA III
(Windows Mobile 2003 SE Phone Edition) I have a problem with GPRS
reconnection. When I remove the code, which uses TAPI the reconnection
works, but I can't use my phone. One solution is to use the default device’s
phone application, but in this case I must invoke it, when I want to make
a phone call, show it on the screen and transfer the phone number. The
other problem is the case with incoming calls. I don’t know whether is
possible to catch these calls without TAPI. I read some articles about
RIL, but I don’t know how to use it !
Any ideas?
Thanks!

Regards
Tihomir Ignatov




OK! So the issue is reestablishing a GPRS data session when you
disconnect AS, specifically? I'm trying to get away from *how* you're
doing things and onto *what* you're trying to do...

Paul T.

Hi,
No, that isn't the problem!
For example, if I have a connected GPRS and connect my PPC to
ActiveSync, this will disconnect my GPRS session! This is clear !!! But
if I disconnect ActiveSync , the GPRS session can't be restored! That is
the problem!.
In this example, the same application uses TAPI for "phone management".
If I remove the code, which uses TAPI all works good! Very strange!

Tihomir Ignatov



Paul G. Tobey [eMVP] wrote:
I sense that there might be a deeper question here. If the phone call
comes in, the GPRS data connection is disconnected for the duration of
the call. Is *that* the problem?

Paul T.

Hi All,
I want to detect incoming phone call on Windows Mobile 2003 SE Phone
Edition. In the same application I'm using GPRS for TCP communication
and if the phone functionality is running with TAPI I have a problems
with GPRS reconnection.
How to detect incoming call without TAPI ? An other possibility is to
use the default device's phone application, but I don't know how to
transfer phone number when I initiate an outgoing call !?!

Thanks!
Regards
Tihomir Ignatov
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top