Partilhar via


CallingDevice Property

  Microsoft Speech Technologies Homepage

Gets or sets the ID of the device that places the outbound call. Read/write.

Usage

ASP.NET markup: <speech:MakeCall CallingDevice="..." />
Get value: String = MakeCall.CallingDevice;
Set value: MakeCall.CallingDevice = String;
Data type: String
Required: No

Remarks

The CallingDevice property represents the device which is originating the outbound call.

Example

<script>
  function myClientConnected(obj) {
    // OnClientConnected routine
    return true;
  }
  function myClientFailed(obj, number) {
    // OnClientFailed routine
    return false;
  }
</script>
<form id="Form1" method="post" runat="server">
  ...
  <speech:MakeCall 
    ID="makeCall1"  
    autopostback="False"
    CallingDevice="0"
    CalledDirectoryNumber="95551212"
    OnClientConnected="myClientConnected"
    OnClientFailed="myClientFailed"
    runat="server" />
  ...
</form>

See Also

MakeCall Class | MakeCall Constructor | MakeCall Members | MakeCall Properties | MakeCall Methods | MakeCall Events | MakeCall Remarks