McDewey

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

Page 397

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

CCiscoLineDevSpecific | +--CciscoLineDevSpecificUserSetSRTPAlgorithmID Procedure 1. Call lineNegotiateExtVersion for the deviceID of the line that is to be opened. (0x80070000 or 0x4007000 with the dwExtLowVersion and dwExtHighVersion parameters) 2. Call lineOpen for the deviceID of the line that is to be opened. 3. Call lineDevSpecific with a CciscoLineDevSpecificUserSetSRTPAlgorithmID message in the lpParams parameter to specify SRTP algorithm IDs. 4. Call lineDevSpecific with either CciscoLineDevSpecificPortRegistrationPerCall or CCiscoLineDevSpecificUserControlRTPStream message in the lpParams parameter. Class Detail class CciscoLineDevSpecificUserSetSRTPAlgorithmID: public CCiscoLineDevSpecific{ public: CciscoLineDevSpecificUserSetSRTPAlgorithmID () : CCiscoLineDevSpecific(SLDST_USER_SET_SRTP_ALGORITHM_ID), m_SRTPAlgorithmCount(0), m_SRTP_Fixed_Element_Size(4) { } virtual ~ CciscoLineDevSpecificUserSetSRTPAlgorithmID () {} DWORD m_SRTPAlgorithmCount; //Maximum is MAX_CISCO_SRTP_ALGORITHM_IDS DWORD m_SRTP_Fixed_Element_Size;//Should be size of DWORD, it should be always 4. DWORD m_SRTPAlgorithm_Offset; //offset from beginning of the message buffer virtual DWORD dwSize(void) const {return sizeof(*this)-4;} // subtract out the virtual function table pointer }; Supported Algorithm Constants enum CiscoSRTPAlgorithmIDs{ SRTP_NO_ENCRYPTION = 0, SRTP_AES_128_COUNTER = 1 }; Parameters DWORD m_MsgType Equals SLDST_USER_SET_SRTP_ALGORITHM_ID DWORD m_SRTPAlgorithmCount This numbers of algorithm IDs that are specified in this message. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 365 Cisco Device-Specific Extensions Class Detail

Page 397 content