Native
Synchronous
No Custom Parameters
AddDirectoryEntry adds a directory entry to an already-initialized Directory XML object.
AddDirectoryEntry allows the developer to define a Name and Telephone number, which are formatted into a directory entry and used to augment the contents of a Cisco IP Phone Directory XML object. This directory entry is stored into the Directory XML type that was previously initialized with the CreateDirectory action.
This action does not communicate with a Cisco IP Phone; it only formats XML specific to the schema defined by the Cisco IP Phones that support Cisco IP Phone XML Services. Later in the script the XML object stored in a variable can be sent to the phone with either SendResponse or SendExecute.
| Parameter Name | .NET Type | Default | Description |
|---|---|---|---|
| Name | System.String | The name of the directory entry to show as a selectable item on the phone screen. | |
| Telephone | System.String | The telephone number that is associated with the Name of this directory entry. When the user selects this directory entry with the Dial softkey, the phone will dial this number. |
| Parameter Name | .NET Type | Description |
|---|---|---|
| ResultData | Metreos.Types.CiscoIpPhone.CiscoIPPhoneDirectoryEntryType | One must always save this result data into a Directory XML type variable. |
Branch Conditions
No description.
No description.