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’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...