Skip to main content

User Activity

Use Admin > Users > User Activity to audit web-interface, API, authentication, configuration, campaign, provider-number, and maintenance operations recorded by MiRTA PBX. From the Users list, select a user before choosing User Activity to open a prefiltered log, or open it without a selected row to review all activity available to your account.

The page requires the Has menu Admin/Users privilege. Administrators with Can edit all tenants can review all tenant activity. Administrators limited to their own tenants see only activity allowed by their tenant and user scope.

Working with the log

ControlPurpose
SearchFilters the log. When advanced filters are enabled, multiple rules and groups can be combined.
ViewOpens the selected row and shows fields that are hidden in the default grid.
UndoAttempts to restore the saved old values for a selected UPDATE or DELETE row. See Undo limitations before using it.
ColumnsShows, hides, or reorders columns. The choice is retained in the current browser.
CSV ExportExports the activity data and all supported columns for offline review.

Columns

ColumnDescription
IDUnique activity-log row ID.
DateDate and time at which the event was logged.
TenantTenant associated with the operation. System-wide operations can have no tenant name.
UserWeb username or process label responsible for the event. Examples include OPENAPI, AUTO, or housekeeping.
ActionShort operation code. The current standard codes are described below.
HostClient IP address. When location data is available, the interface also displays the country flag and name.
User AgentBrowser or API client user-agent string.
Country code / CountryLocation resolved from the client IP address when the event was written.
TableDatabase table or logical object associated with the operation. A suffix such as -de_destinations identifies related routing destinations.
Table IDDatabase or logical record identifier used by the operation.
Table valueHuman-readable value used to identify the affected object, such as an extension number or object name.
Old valuesField values captured before the operation.
New valuesField values captured after the operation.
Changed valuesCalculated summary for standard insert, update, delete, and failed-upgrade events.
Requested URIHost and web path that generated the log row.

Important: activity details can contain configuration values, addresses, object names, and request information. Restrict access to trusted administrators and protect exported CSV files accordingly. Passwords and other secrets are masked by supported logging paths, but historical or custom log writers might not apply the same masking.

Record and page-change actions

Action codeMeaning
INSERTA new database or logical record was created. New values contains the captured state.
UPDATEAn existing record was modified. Compare Old values, New values, and Changed values.
DELETEA record was removed. Old values contains the captured state before deletion.
UNDO UPDATEAn administrator used User Activity to restore the old values of an UPDATE row.
UNDO DELETEAn administrator used User Activity to recreate a record from a DELETE row.
PAGE CHANGEAutomatic fallback audit entry written when a page changed the database without writing a more specific activity row. The old side contains a sanitized request; the new side summarizes detected SQL mutations.

Authentication and security actions

Action codeMeaning
LOGINSuccessful web-interface login.
LOGIN FAILEDThe supplied web credentials were not accepted.
reCAPTCHA FAILEDThe login request failed the configured reCAPTCHA check.
LOGIN FROM IP NOT ALLOWEDThe global web GeoIP policy rejected the source IP country.
TOO MANY FAILED LOGIN FROM IPWeb fail2ban rejected the source IP after too many recent failures.
LOGIN BLOCKED BY IPThe user account IP filter did not allow the source IP address.
LOGIN DISABLED BY INACTIVITYA login was refused because inactivity housekeeping had disabled the account.
LOGOUTThe user logged out, or the session was terminated for a security reason such as an unexpected IP change. Review the values for the reason when present.
DISABLED BY INACTIVITYHousekeeping disabled a web user or extension after the configured period without a successful login.
GOOGLE 2FA GENERATEDA Google Authenticator secret was generated or enrolled for a user.
MULTIMANAGER LOGINSuccessful login to the MiRTA PBX MultiManager socket service.
MULTIMANAGER LOGIN FAILEDFailed login to the MultiManager socket service.
MULTIMANAGER LOGOUTLogout from the MultiManager socket service.

Campaign actions

Action codeMeaning
STARTThe selected campaign was requested to start.
STOPThe selected campaign was stopped and returned to the ready state.
PAUSEThe selected campaign was paused.
RESUMEThe selected campaign was resumed.
RESETCALLSAttempt, disposition, duration, and related call-result fields were reset for the selected campaign numbers.

SIP and runtime-state actions

Action codeMeaning
RESETAn extension, virtual extension, flow, BLF, or related runtime state was reset to the value shown in New values.
PRUNINGA SIP or PJSIP endpoint was pruned from runtime state while maintaining or refreshing an extension.
UNREGISTERINGA SIP or PJSIP endpoint was explicitly unregistered while changing or deleting an extension.

System, report, and access actions

Action codeMeaning
READA protected object was opened or retrieved by a logging-enabled path, currently including provider details and recording access. It does not mean that every ordinary page view is logged as READ.
EXECUTEA configured report was executed. The logged values include the requested date range and generated report-data ID when available.
TESTSENDEMAILThe test-send action was used for an email template.
DATABASE UPGRADEA database upgrade step completed and advanced the stored database version.
FAILED DATABASE UPGRADEA database upgrade step failed. Review the old/new version and saved error message, then also check the process and PHP logs.

DID-provider and emergency-data actions

Action codeMeaning
NUMBER ALLOCATEA number was allocated through a supported DID provider.
NUMBER ACTIVATEAn allocated DID-provider number was activated.
NUMBER ASSIGNEDA provider number or number from a block was assigned to a MiRTA PBX tenant/DID record.
NUMBER SETRouting targets for a DID-provider number were changed.
NUMBER DEACTIVATEA DID-provider number was deactivated.
BLOCK NUMBER ACTIVATEA block of provider numbers was activated.
BLOCK DEACTIVATEA block of provider numbers was deactivated.
999 SETUK emergency-service address data for a provider number was changed.
999 CREATEA UK emergency-service address record was created for a provider number.

Additional action codes

The Action field is a text value, not a fixed database enumeration. The tables above list every standard literal code used by the current MiRTA PBX source, while dynamic CRUD logging resolves to INSERT, UPDATE, or DELETE. Older releases, plugins, integrations, or local customizations can write other codes. Interpret an unfamiliar code together with User, Table, Table value, the old/new values, and Requested URI.

Undo limitations

  • Undo is available only for rows whose action is exactly UPDATE or DELETE.
  • The activity row must contain enough saved old values to identify the table, primary key, and restorable columns.
  • For an update, the target record must still exist. For a delete, a record with the same key must not already exist.
  • Routing-destination logs receive special handling, but Undo otherwise restores one logged table at a time. Related rows, generated configuration, caches, and runtime state are not automatically guaranteed to be restored.
  • A successful operation creates an UNDO UPDATE or UNDO DELETE audit row.

Recommendation: inspect the complete row first, take an appropriate backup, and use the normal configuration page when the change affects multiple related objects or runtime configuration. After Undo, verify the object and apply any normal reload or regeneration step required by that feature.