event_subscribe
Subscribe to OpenSIPS events by specifying an event name, transport socket, and optional TTL to receive event notifications at the defined endpoint.
Instructions
Subscribe to an OpenSIPS event at a given transport socket.
Parameters
event:
Event name (e.g. E_DLG_STATE_CHANGED).
socket:
Destination URI for event delivery — format depends on the backend
(udp:host:port, rabbitmq:cluster/exchange, flatstore:/path).
expire:
Subscription TTL in seconds; 0 = permanent until OpenSIPS restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | ||
| socket | Yes | ||
| expire | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||