How to reject incoming call

Hi,

I'm using SystemState.PhoneIncomingCall in a VB application that works fine (I intercept an incoming call and show the phone number in a messagebox).

Friend WithEvents IncomingCall As New SystemState(SystemProperty.PhoneIncomingCall)

Dim PhoneNumber As String

Private Sub phoneIncoming_Changed(ByVal Sender As Object, ByVal Args As Microsoft.WindowsMobile.Status.ChangeEventArgs) Handles IncomingCall.Changed

PhoneNumber = SystemState.GetValue(SystemProperty.PhoneIncomingCallerNumber)

If PhoneNumber <> "" Then

Me.BringToFront()

MessageBox.Show("Chiamante: " & PhoneNumber, "IncomingCall")

End If

End Sub

Now, how can I reject incoming call before its be managed by standard phone application

Thanks a lot



Answer this question

How to reject incoming call

  • CamPeck

    You might want to check out a similar question here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=907112&SiteID=1
  • Prasanthgs

    Thanks a lot.

    I'm trying to use OpenNETCF in a VB application but I can't find how to reject an incoming call. In the examples calls are made by the phone and then are closed, I would reject an external incoming call and I not able to handle it.

    Thanks for your help.

    Omar


  • How to reject incoming call