make call

May 5, 2011 at 10:26 PM

Hi,

I want to programatically make a call and these are the steps I follow:

- first I get the cellular line

 

this.cellularLine = this.tapi.CellularLine(MediaMode.InteractiveVoice, CallPrivilege.Owner | CallPrivilege.Monitor);

- second, I make a synchronous call

this.call = this.cellularLine.MakeCall(phoneNumber, 0, null);

The state of the call is Proceeding and then Connected, but there is no dialing screen showing the call I make.

I should mention that I am testing this in the emulator because I don't have a real device at this time.

 

Is this a correct way to make a call?

 

Thanks