HOMER SIP Traces in Call History
Connect FS PBX to HOMER 11 to inspect SIP messages and download a Wireshark-compatible PCAP from Call History.
Connect HOMER
- Sign in as a superadmin and open System Settings → SIP Capture → Remote HOMER API.
- Enter the HOMER HTTPS base URL, without
/api/v4. The certificate must be trusted by the PBX. Redirects are not followed. - Obtain an API token from your HOMER administrator. FS PBX always uses Auth-Token authentication; there is no authentication option to select. API token access must be enabled on HOMER.
- Enter the token, select Enable Homer API Integration, then use Test Connection and click Save at the bottom of the tab. Testing does not save the form.
Saved tokens are encrypted and never shown again. Leave the token blank to retain it. If you change the HOMER address, enter the API token again.
The Save button at the bottom saves both the SIP capture settings and the Remote HOMER API connection, where you have permission to edit them. If either section has an error, correct the highlighted fields and save again. The notification identifies which settings were saved and any problems, including whether FreeSWITCH could apply the capture settings live.
View or download a call
Open the call using the magnifying glass in Call History, then select SIP Trace beside the call heading.
- The dedicated workspace loads the SIP ladder automatically. Select a message to read its headers and body. Adjust Flow width or Hide message to give the ladder more room. Endpoint columns stay consistent across pages and scroll horizontally when necessary.
- Expand opens the selected message over the ladder. Close or Escape returns to the flow. On narrow screens, selecting a message opens this overlay directly. Capture timestamps are displayed in UTC, with elapsed seconds beside each message.
- Select QoS to see RTCP statistics for this call. Choose a media stream to chart estimated MOS, interval packet loss, jitter, or packet counters. The table shows the minimum, average, and maximum for each available metric. Jitter is shown in RTP timestamp units. A dash means the report did not supply the inputs for that metric. A call can have a SIP trace even when HOMER has no RTCP reports.
- Download PCAP downloads the captured SIP signaling for Wireshark. RTP audio is not included.
- Download TXT downloads every returned message, including timestamps, endpoints, Call-IDs, and raw SIP text. Both exports include all captured correlated legs within the lookup window, regardless of the selected message or page. AI analysis is not available or displayed.
HOMER resolves related legs using its configured correlation script. The download resolves those legs before exporting them. Searches use the CDR's SIP Call-ID and its start/end times with a one-minute margin. Messages outside that window, including later parts of a transferred call, may require opening the corresponding CDR. Missing or expired captures cannot be recovered by this integration.
Access and limits
A superadmin configures the HOMER connection. Viewing and downloading traces is controlled by the PCAP permission, which is granted to superadmins by default. An administrator can grant it to other groups through Group Permissions. Users also need Call History access to all records in their permitted account scope.
The PCAP permission allows the full correlated trace, including related connections from other accounts. Grant it only to people authorized to see that information. It does not grant permission to change the HOMER connection settings.
Users can open a trace only from a call record they are allowed to access. After changing group permissions, sign out and back in to refresh access.
Requests have time, response-size, and rate limits. Traces with 10,000 or more messages are rejected rather than knowingly exporting a truncated trace; exports support at most 50 related Call-IDs. SIP contents are displayed as text, and trace responses are marked private and non-cacheable.
Deployment
Run the 2026_10_19_000001_create_homer_api_settings_table.php migration and the normal database seeder to install the permissions. This is the feature's only migration and uses a UUID primary key. Rebuild frontend assets and refresh a cached route list. Sign out and back in to refresh session permissions. The connection starts disabled and requires configuration before the SIP Trace button appears.
Before rollout, check a recent inbound, outbound, and transferred call against HOMER, including the viewer and both PCAP and TXT downloads.