Skip to main content

Intercepting outgoing phone call

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [.NET Compact Framework Development] >> .NET Compact Framework - VB.NET >> Intercepting outgoing phone call Page: [1]
Login
Message << Older Topic   Newer Topic >>
Intercepting outgoing phone call - 7/11/2008 1:14:10 PM   
tariq_niazi

 

Posts: 4
Score: 0
Joined: 7/7/2008
Status: offline
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
Post #: 1
RE: Intercepting outgoing phone call - 7/11/2008 2:24:07 PM   
petevick


Posts: 3366
Score: 0
Joined: 4/26/2002
From: Bolton - UK
Status: offline
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?

_____________________________

Pete Vickers - Microsoft MVP - Device Application Development
www.gui-innovations.com

Please do not email me with questions. Posting your questions in the forums will get a quicker response - Thanks.

(in reply to tariq_niazi)
Post #: 2
RE: Intercepting outgoing phone call - 7/11/2008 4:59:55 PM   
tariq_niazi

 

Posts: 4
Score: 0
Joined: 7/7/2008
Status: offline
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

(in reply to petevick)
Post #: 3
RE: Intercepting outgoing phone call - 7/12/2008 2:29:39 AM   
petevick


Posts: 3366
Score: 0
Joined: 4/26/2002
From: Bolton - UK
Status: offline
I very much doubt you can do that

_____________________________

Pete Vickers - Microsoft MVP - Device Application Development
www.gui-innovations.com

Please do not email me with questions. Posting your questions in the forums will get a quicker response - Thanks.

(in reply to tariq_niazi)
Post #: 4
RE: Intercepting outgoing phone call - 7/21/2008 12:49:55 PM   
tariq_niazi

 

Posts: 4
Score: 0
Joined: 7/7/2008
Status: offline
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

(in reply to petevick)
Post #: 5
RE: Intercepting outgoing phone call - 7/22/2008 2:19:27 AM   
petevick


Posts: 3366
Score: 0
Joined: 4/26/2002
From: Bolton - UK
Status: offline
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

_____________________________

Pete Vickers - Microsoft MVP - Device Application Development
www.gui-innovations.com

Please do not email me with questions. Posting your questions in the forums will get a quicker response - Thanks.

(in reply to tariq_niazi)
Post #: 6
RE: Intercepting outgoing phone call - 8/1/2008 11:18:45 PM   
tariq_niazi

 

Posts: 4
Score: 0
Joined: 7/7/2008
Status: offline
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

(in reply to petevick)
Post #: 7
Page:   [1]
All Forums >> [.NET Compact Framework Development] >> .NET Compact Framework - VB.NET >> Intercepting outgoing phone call Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.5.5 Unicode

0.000