AddDirectoryEntry

Metreos.Native.CiscoIpPhone.AddDirectoryEntry

Summary

AddDirectoryEntry adds a directory entry to an already-initialized Directory XML object.

Usage

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.

Remarks

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.

Action Parameters
Parameter Name.NET TypeDefaultDescription
NameSystem.StringThe name of the directory entry to show as a selectable item on the phone screen.
TelephoneSystem.StringThe 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.
Result Data
Parameter Name.NET TypeDescription
ResultDataMetreos.Types.CiscoIpPhone.CiscoIPPhoneDirectoryEntryTypeOne must always save this result data into a Directory XML type variable.

Branch Conditions 

Success

No description.

Failure

No description.