C# – Show dialog on outbound calls

cwindows-mobile

I want to be able to show a dialog on outbound calls.
The dialog is used to ask the user if he wants
1. dial the phone number directly
2. Dial through the PBX.

If option two is chosen, i want to dial a specific number and send the dialed number as DTMF.

  1. How do I catch and stop outgoing calls?
  2. How do I get the dialed number?

Best Answer

It appears that it is not possible to intercept outgoing calls in Windows Mobile (see this thread for example). To be honest, I would be surprised if this was possible, as it would be a security risk for the platform. Anyone could write viruses or trojan horses that redirect calls through a specific network. Also, the operators wouldn't be happy about this "feature".

One solution would be to write an application and ask the users to place their calls through its user interface. You could then initiate either a regular call or a call through the PBX easily. You need of course to integrate the contacts, but this isn't hard. Have a look at the Microsoft.WindowsMobile.PocketOutlook namespace.

Related Topic