You cant do this using PhoneCallTask in Windows Phone

Today , i was trying to enable the call waiting feature using the Service Code *43# .

Read How to enable call waiting in Windows Phone 7 article ?

I was able to enable it by manually dialing the service code and tried to achieve the same via PhoneCallTask in Windows Phone .

Unluckily , i could not achieve it 🙁 …

My code looked like this ..

PhoneCallTask pCall = new PhoneCallTask();
pCall.PhoneNumber = "*43#";
pCall.Show();

when you run the Windows Phone App with the above code , you will see a dialog confirming to call the number and when you click call , you will end up getting the following error message .

Lesson learnt “You Cannot dial service codes programmatically” 🙁

You cant do this using PhoneCallTask in Windows Phone
You cant do this using PhoneCallTask in Windows Phone

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you will learn about sync provider notifications in Windows 11 and how to disable or enable it...
In this tutorial, let’s learn how to enable or disable the startup sound in Windows 11. By default, when Windows...
The CameraCaptureTask allows the Windows Phone 7 App to launch the Camera Application . This will be useful when the...