True if this caller was created automatically by the rate limiter rather than by an administrator. Auto-registered callers are subject to the max-auto-registered-callers cap.
Default value:
false
Prototyped in:
XAPI 26.17.0 (26.17.0)
Prototype
stringclient_ip[RO/constructor]
Client IP matching pattern. Same wildcard semantics as user_agent.
Default value:
""
Prototyped in:
XAPI 26.17.0 (26.17.0)
Prototype
string setgroups[RO/runtime]
Groups to which this caller has been assigned
Default value:
{}
Prototyped in:
XAPI 26.17.0 (26.17.0)
Prototype
datetimelast_access[RO/runtime]
Last time a call was received from this caller
Default value:
19700101T00:00:00Z
Prototyped in:
XAPI 26.17.0 (26.17.0)
Prototype
stringname_description[RW]
a notes field containing human-readable description
Default value:
""
Prototyped in:
XAPI 26.17.0 (26.17.0)
Prototype
stringname_label[RW]
a human-readable name
Default value:
""
Prototyped in:
XAPI 26.17.0 (26.17.0)
Prototype
Rate_limit refrate_limit[RO/runtime]
Rate limiter attached to this caller, if any. Populated via Rate_limit.add_caller rather than set directly.
Default value:
OpaqueRef:NULL
Prototyped in:
XAPI 26.17.0 (26.17.0)
Prototype
stringuser_agent[RO/constructor]
User agent matching pattern. Empty string is a full wildcard; a trailing '*' makes the field a prefix pattern; otherwise the field is matched exactly.
Default value:
""
Prototyped in:
XAPI 26.17.0 (26.17.0)
Prototype
stringuuid[RO/runtime]
Unique identifier/object reference
Prototyped in:
XAPI 26.17.0 (26.17.0)
Messages
Prototype
voidadd_group(session ref, Caller ref, string)
Add a caller to a group
Parameters:
session ref session_id
Reference to a valid session
Caller ref self
The caller to update
string group
Group the caller is being added to
Minimum role:
pool-operator
Prototyped in:
XAPI 26.17.0 (26.17.0)
Prototype
Caller refcreate(session ref, Caller record)
Create a new Caller instance, and return its handle.
The constructor args are: name_label, name_description, user_agent, client_ip (* = non-optional).
Parameters:
session ref session_id
Reference to a valid session
Caller record args
All constructor arguments
Minimum role:
pool-admin
Result:
reference to the newly created object
Prototyped in:
XAPI 26.17.0 (26.17.0)
Prototype
voiddestroy(session ref, Caller ref)
Destroy the specified Caller instance.
Parameters:
session ref session_id
Reference to a valid session
Caller ref self
reference to the object
Minimum role:
pool-admin
Prototyped in:
XAPI 26.17.0 (26.17.0)
Prototype
Caller ref setget_all(session ref)
Return a list of all the Callers known to the system.