Go to a SIP-Trace with Call-ID in POST request #680
|
We have an external Application for searching Calls and getting Call-ID's. For drilldown by now we copy the Call-ID, paste it into homer7 and search for it. Is it possible to create a link and POST the Call-ID to homer, to directly search for this Call-ID and show the results? |
Replies: 1 comment 2 replies
|
Hi, Yes, but usually not as a browser POST link from your external app. A normal
Homer 7 (homer-app + homer-ui)Use the homer-app search API from your backend (POST, authenticated), filter by Call-ID, then either:
Homer 7 does not ship a simple "POST Call-ID from browser and land in SIP trace" button out of the box. Integration is API + redirect. You also need a time window (from/to) together with the Call-ID for reliable search. Homer 11Homer 11 has a dedicated endpoint for this flow:
Example body: {
"session_id": "your-call-id-here",
"proto_type": 1,
"event_type": "1",
"timestamp": {
"from": 1710000000000,
"to": 1710086400000
}
}Response includes
That page opens the SIP trace without the user pasting the Call-ID. The link is time-limited and has a max open count. You can also use Practical recommendationFrom your call search app:
If you tell us your Homer version (7 vs 11) and whether users already log into Homer, we can suggest the exact API calls and auth setup. |
Hi,
Yes, but usually not as a browser POST link from your external app. A normal
<a href>or redirect can only do GET. The usual pattern is:Homer 7 (homer-app + homer-ui)
Use the homer-app search API from your backend (POST, authenticated), filter by Call-ID, then either:
Homer 7 does not ship a simple "POST Call-ID from browser and land in SIP trace" button out of the box. Integration is API + redirect.
You al…