Go to documentation repository
Page History
The SIP_TERMINAL object corresponds to the SIP-terminal system object.
The SIP_TERMINAL object sends events given in the table. Procedure is started when the corresponding event appears. Format of event procedure for the SIP-terminal object:
| Code Block |
|---|
OnEvent("SIP_TERMINAL","_id_","_event_") |
Description of events of the SIP_TERMINAL object:
occurs.
| Event | Description |
|---|
| Contents of the param0<> parameter displayed in the Add. info |
|---|
| field in the Event |
|---|
| Viewer | ||
|---|---|---|
| CALL_END | Call end | Number of the subscriber who called |
| CALL_END_OPERATOR | Operator call end | Numbers of the subscribers and call duration |
| .For example, if the parameter takes the |
| "903 to 906 (01:04)" value, it means that the subscriber 903 called the subscriber 906, and the call lasted 1 minute and 4 seconds |
Operator format to describe actions with the SIP-terminal is as follows:
...
| CALL_END_DEVICE | Device call end | |
| CALL_END_VIRTUAL | Special number call end | |
| CALL_BEGIN | Call start | Numbers of the subscribers: the subscriber who is calling and the subscriber who is being called |
| CALL_TRYING | Call attempt | |
| CALL_BEGIN_VIRTUAL | Start of special number call | |
| CALL_TRYING_VIRTUAL | Special number call attempt |
List of commands and parameters for the SIP_TERMINAL object:
Command | –—command description | Parameters | Parameters description |
|---|---|---|---|
| END_ALL_ | CALLS –CALLS—end all calls on the specified terminal (regardless of whether the connection is established) | - | - |
Overview
Content Tools