McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 418

↗ View in doc context
page
418
source
cucm/v15/tapi-dev-guide/tapi-dev-guide.md
chunk_id
cucm::v15::tapi-dev-guide::tapi-dev-guide::431

DWORD m_Feature_Capability The Capability information that needs to be changed/updated for the feature. This information changes depending on the feature. Early Offer (Get Port) Support: m_Feature should be Feature_EarlyOffer(1) and m_Feature_Capability should have a value from following Enum: enum TspFeatureOption{ Feature_Disable = 0, Feature_Enable = 1 }; Sample Code: Here is a sample code that illustrates how applications must use this devspecific type, and fill the Class Object to enable/disable the Early Offer feature support. void main(){ … … … …. CciscoLineDevSpecificEnableFeatureSupport featureObject; featureObject.m_MsgType = SLDST_ENABLE_FEATURE_SUPPORT; featureObject.m_Feature = Feature_EarlyOffer(1); featureObject. m_Feature_Capability = Feature_Enable(1)/ Feature_Disable(0); int result = TSPI_lineDevSpecific(dwRequestID,hdLine, dwAddressID, NULL, &featureObject, sizeof(CciscoLineDevSpecificEnableFeatureSupport)); … … … …. … … … …. } New CiscoLineDevStateOutOfServiceReason_EMLogin and CiscoLineDevStateOutOfServiceReason_EMLogout values in the CiscoLineDevStateOtherReason enumeration type in CiscoLineDevSpecificMsg.h: enum CiscoLineDevStateOutOfServiceReason { CiscoLineDevStateOutOfServiceReason_Unknown = 0x00000000, CiscoLineDevStateOutOfServiceReason_CallManagerFailure = 0x00000001, CiscoLineDevStateOutOfServiceReason_ReHomeToHigherPriorityCM = 0x00000002, CiscoLineDevStateOutOfServiceReason_NoCallManagerAvailable = 0x00000003, CiscoLineDevStateOutOfServiceReason_DeviceFailure = 0x00000004, CiscoLineDevStateOutOfServiceReason_DeviceUnregistered = 0x00000005, CiscoLineDevStateOutOfServiceReason_EnergyWisePowerSavePlus = 0x00000006, CiscoLineDevStateOutOfServiceReason_EMLogin = 0x00000007, CiscoLineDevStateOutOfServiceReason_EMLogout = 0x00000008, CiscoLineDevStateOutOfServiceReason_CtiLinkFailure = 0x00000101 }; New CiscoLineDevStateCloseReason enumeration type in CiscoLineDevSpecificMsg.h: enum CiscoLineDevStateCloseReason { CiscoLineDevStateCloseReason_Unknown = 0, CiscoLineDevStateCloseReason_EMLogin = 1, CiscoLineDevStateCloseReason_EMLogout = 2 }; New CiscoLineDevStateOtherReason enumeration type in CiscoLineDevSpecificMsg.h: Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 386 Cisco Device-Specific Extensions Parameters