ssip: Events Notifications in SSIP
4.7.3 Events Notification in SSIP
---------------------------------
Event notifications, if requested, are reported asynchronously in SSIP.
This means that they are not sent as replies to any particular requests
but can arrive anytime. However, notifications can't arrive in the time
between when a SSIP command is sent by the client and its reply is sent
back by the server.
Each notification consists of a multi-line SSIP reply as defined in
⇒General Rules, and includes at least two parameters: 'msg_id'
and 'client_id'. 'msg_id' is the identification number of the message
the event is related to, ⇒SPEAK while 'client_id' is the
identification number of the client who sent the message. Some events
may have additional parameters.
'INDEX_MARK'
700-msg_id
700-client_id
700-index_mark
700 END
The event 'INDEX_MARK' carries a special parameter 'index_mark'
which is a string of characters identifying the index mark, as
specified by the client application (e.g. by the SSML tag <mark/>.
'BEGIN'
701-msg_id
701-client_id
701 BEGIN
'END'
702-msg_id
702-client_id
702 END
'CANCEL'
703-msg_id
703-client_id
703 CANCELED
'PAUSE'
704-msg_id
704-client_id
704 PAUSED
'RESUME'
705-msg_id
705-client_id
705 RESUMED