Intercepting outgoing phone call (Full Version)

All Forums >> [.NET Compact Framework Development] >> .NET Compact Framework - VB.NET



Message


tariq_niazi -> Intercepting outgoing phone call (7/11/2008 1:14:10 PM)

Greetings,

I am trying to write a program that needs to detect the outgoing phone call. What namespace should I look under to accomplish this?

Tariq Niazi




petevick -> RE: Intercepting outgoing phone call (7/11/2008 2:24:07 PM)

You can make an outgoing call - use the Microsoft.WindowsMobile.Telephony namespace, and your application can be informed of the incoming call either by using State and Notification Broker events

What are you trying to acheive?




tariq_niazi -> RE: Intercepting outgoing phone call (7/11/2008 4:59:55 PM)

What I am trying to do is detect the first few numbers of the call and if it detects the number, it will dial another number to place that call. So does Microsoft.WindowsMobile.Telephony namespace detect the number before the call is placed?

Tariq Niazi




petevick -> RE: Intercepting outgoing phone call (7/12/2008 2:29:39 AM)

I very much doubt you can do that




tariq_niazi -> RE: Intercepting outgoing phone call (7/21/2008 12:49:55 PM)

I have never used eVB IDE however, looking at the documentation, it has classes for phone. Can that detect an outgoing phone call? All I can find is incoming which is not helpful. All I want to create is a program that will detect the beginning of a phone number (or country code) and if it is not local, it will dial a special number first and then dial that number again to place that call.

- TKN




petevick -> RE: Intercepting outgoing phone call (7/22/2008 2:19:27 AM)

I presume you mean VB.Net - not eVB

I pointed you at the Microsoft.WindowsMobile.Telephony namespace but also said I very much doubted you could do what you wanted - that hasn't changed - sorry.

You would have to know that the phone application is active, and then somehow intercept the button presses. The only way I could see it work is if you replace the phone application (phone.exe??) with your own application, and then handle it - not something I would recommend




tariq_niazi -> RE: Intercepting outgoing phone call (8/1/2008 11:18:45 PM)

I have thought of another method. Instead of intercepting the outgoing call, is there a way I can add a button or an item under MENU in the phone so when it is selected, it will dial in a different way? I think this is do able as long as I can put somewhere a push button or something that will indicate the way dialing will be done.

- TKN




Page: [1]



Forum Software © ASPPlayground.NET Advanced Edition 2.5.5 Unicode

0.016