Skip to main content
The Ozonetel ticket embed is a Tickets route that Ozonetel can load in its CTI iframe. On a screen-pop, Oration finds workspace customer(s) by phone, then opens the latest eligible ticket for those customers. The embed does not create tickets. It only opens work that already exists — or retries briefly while that work is still being written. Create tickets from the inbox or the Create ticket API.

Mental model

Public URL:
Both query parameters are required. Parameter keys are case-insensitive. Lookup, in order:
  1. Find workspace customer(s) whose phone exact-matches the normalized E.164 number.
  2. Among those customers’ tickets, take the latest non-merged ticket with updatedAt inside maxAgeMinutes.
  3. Open that ticket’s detail.
Other Ozonetel query parameters (ucid, apiKey, and similar) are ignored for lookup. The path provider is ozonetel. That is the only registered embed provider. An unknown provider renders the empty state.

Configure the screen-pop URL

Paste the URL into your Ozonetel screen-pop / iframe configuration.
1

Copy the workspace slug

Open the Tickets app. The slug is the URL segment after /app/: https://www.oration.ai/app/{workspaceSlug}/....
2

Build the URL

Substitute {workspaceSlug} and keep both query parameters. Map phoneNumber to the caller number Ozonetel already substitutes into screen-pop URLs. Set maxAgeMinutes to a positive integer for the lookback window on ticket updatedAt.
3

Paste into Ozonetel

Put the URL in Ozonetel’s screen-pop / iframe config so the CTI panel loads Oration when Ozonetel fires the screen-pop.
Agents need ticket: read permission. They must sign in inside the iframe. A first-party session on oration.ai in another tab is not reused by Ozonetel’s frame.

Phone number normalization

Ozonetel often sends local Indian formats. Oration normalizes phoneNumber before lookup: Lookup is an exact match on the customer’s stored E.164 phone.

What agents see

After the embed loads, one of these outcomes appears: A ticket that is created or updated after the iframe first loads can still open on a later poll, as long as the customer already exists with that phone and the ticket is non-merged and inside the maxAgeMinutes window.

FAQ

Does the embed create a ticket?
No. It only opens an existing non-merged ticket. Create the ticket from the inbox or the Create ticket API (including identity via customerId, or phoneNumber / email when customerId is omitted).
Why did I see “Ticket not found.” with no retry?
No workspace customer matched the normalized phone (noCustomer). Polling does not start until a customer exists.
Why does it keep retrying?
A customer matched, but no eligible ticket was in the maxAgeMinutes window yet. Oration retries every 2 seconds, at most 10 times.
Do extra Ozonetel fields such as ucid or apiKey change which ticket opens?
No. Only phoneNumber and maxAgeMinutes are used for lookup.
Can I use /tickets/embed/ with another provider name?
Not in this release. Only ozonetel is registered. Any other provider shows the empty state.
I am already signed in to Oration in another tab. Why is the iframe asking me to log in?
The CTI iframe is cross-site. Sign in inside the frame.

Limitations

  • Only the ozonetel embed provider is registered.
  • Lookup is exact E.164 phone after the normalization table above. It does not search title, ticket number, or other Ozonetel parameters.
  • Merged tickets are skipped. The recency window is ticket updatedAt, not created time.
  • maxAgeMinutes must be a positive integer (digits only, greater than 0).
  • Agents need ticket: read permission.
  • Ozonetel and *.ozonetel.com are allowed as CSP frame-ancestors so Oration can load in their iframe. Cross-site iframe sessions use SameSite=None Secure partitioned cookies; sign in inside the iframe.