1.2.3 List of All Session Destinations

The command lists all the sessions and destinations assigned to them. A session is defined by the SessionId parameter, the destination by the DestId parameter and a combination of the Type and ID parameters. DestId is the primary key of the destination allocated to the session and identifies the destination when multiple destinations are in a session at the same time. By combining the SessionId and DestId parameters you get current information on the destination in a session. The Type and ID parameters help acquire general information on the destination, the destination type can be (SPEAKER / GROUP / LOCAL_HW / COMMON_DST / MIKE). Flags is a bit fielsd, which tells destination parameters, now only ACTIVE (0x2).

Request

<msg Id="CTI_NSPK_GET_ALL_SESSIONS_DESTS_REQ">
<CTI_IE_REFERENCE Ref="0x420"/>
</msg>

Response

<msg Id="CTI_NSPK_GET_ALL_SESSIONS_DESTS_CONF">
<CTI_IE_REFERENCE Ref="0x420"/>
<CTI_NSPK_IE_SESSION_DEST SessionId="0x1" DestId="0x1" Type="LOCAL_HW" Id="0x9" Flags="0x0"/>
<CTI_NSPK_IE_SESSION_DEST SessionId="0x1" DestId="0x5" Type="SPEAKER" Id="0x4" Flags="0x2"/>
</msg>

IE

<documentation IE="CTI_NSPK_IE_SESSION_DEST">
<member Type="KER_T_INT" Name="SessionId" Brief="Primary key dest (reference to SESSION)"/>
<member Type="KER_T_INT" Name="DestId" Brief="Primary key"/>
<member Type="NSPK_SES_E_SESSION_DEST_TYPE" Name="Type" Brief="Type of destination by NSPK_SES_E_SESSION_DEST_TYPE"/>
<member Type="KER_T_INT" Name="Id" Brief="ID of destinace"/>
<member Type="KER_T_U32" Name="Flags" Brief="Flags by NSPK_SES_E_SESSION_DEST_FLAGS"/>
</documentation>

<documentation IE="CTI_NSPK_IE_SESSION_DEST_ID">
<member Type="INT" Name="SessionId" Brief="Primary key dest (reference to SESSION)"/>
<member Type="INT" Name="DestId" Brief="Primary key dest"/>
</documentation>

<documentation Bitfield="NSPK_SES_E_SESSION_DEST_FLAGS">
<item Value="0x02" Brief="ACTIVE - This output is active"/>
</documentation>

<documentation Enum="NSPK_SES_E_SESSION_DEST_TYPE">
<item Name="SPEAKER" Brief="Speaker"/>
<item Name="GROUP" Brief="Zone - group of speakers"/>
<item Name="LOCAL_HW" Brief="Local hardware, used primarily to wiretaping"/>
<item Name="COMMON_DST" Brief="Common output"/>
<item Name="MIKE" Brief="NetMic"/>
</documentation>