Management of calls

Hi,

I make easily one call with a method (Talk(...)) of the class Micrososoft.WindowsMobile.Telephony.Phone. But this class has not a function or an event which detects or shows an incoming call.

It is possible to detect any incoming sms with a MessageInterceptor. And... there isn't any similar function for calls

I don't know what class could do it.

Anyone knows it

Thanks a lot.

 

Alvaro.




Answer this question

Management of calls

  • Chris Lively

    Thanks Michael. I will try it.

    Alvaro



  • Jamie Briant

    Excuse me, one question more:

    Once I have detected the incoming/outgoing phone call, how could I stop them if it was necessary

    Thanks

     



  • Alix

    Yes, there is - using the State and Notification Broker API.

    The property SystemState.PhoneCallCalling (and SystemProperty.PhoneIncomingCall) is what you are looking for.

    Michael



  • Management of calls