Session State Monitoring
Enter the command to create a hook on a session which will periodically send
information on the session whenever a change occurs in the session. Defined by the Id
= SessionId parameters. If this parameter is -1, the hook will be created for all
sessions.
®
2N
TELEKOMUNIKACE a.s., www.2n.cz
Request
<msg Id="CTI_NSPK_CREATE_HOOK_REQ">
<CTI_NSPK_IE_OBJECT Type="SESSION_SOURCE" Id="-1"/>
</msg>
Response
<msg Id="CTI_NSPK_SESSION_SOURCE_INFO_IND">
<CTI_NSPK_IE_SESSION_SOURCE_INFO SessionId="0x2"
SourceId="0x3" PlayState="PLAYING" ActFileId="0x11"
ActFile="C:\Documents and Settings\jsvoboda\Plocha\Download\Adele
- 21\01 Rolling in the Deep.mp3" ActDuration="229347"
State="ACTIVE" StateInfo="File(ACTIVE); Resampler(ACTIVE)"/>
</msg>
94