Ping, ping-post or availability: choosing how to connect a call buyer
Call buyers run different systems. The way you connect each one decides how fast you can sell a call and how often a bid turns into a transfer.
The TRAKI team · · 6 min read
When a call arrives at a pay-per-call network, there are a few seconds to decide who gets it. In that window the platform has to find out which buyers want the call and at what price. How it asks depends on how each buyer is connected.
Ping
One request goes to the buyer with what is known about the caller: state, zip, the campaign, sometimes the caller's number. The buyer answers with a bid and the number to transfer to.
Ping is the simplest to build and the fastest to run. The trade-off is that the buyer commits to a destination before it knows it has won, so it has to hold an agent for a call that may go elsewhere.
Ping-post
The first request asks only for a bid. If the buyer wins, a second request claims the bid with its id, and the buyer returns the transfer number then.
Buyers who route calls across many agents or call centers prefer ping-post: they only pick a destination for calls they actually win. It costs one more round trip, so the buyer's timeout matters more.
Availability
Some buyers do not bid at all. They pay a fixed price per call and only need to say whether an agent is free right now. An availability check is a ping whose answer is yes or no; the price comes from the agreed fixed bid.
Platform to platform
Larger buyers run their own bidding platform. Connecting to it means mapping its reservation fields to yours, so its bid, its destination and its reservation id land where your engine expects them.
What makes the answers comparable
Whatever the connection, the routing engine needs the same three things from every buyer: is it eligible, what does it bid, and where does the call go. Eligibility is decided before anyone is pinged: business hours, caps, and whether the buyer is paused. A closed or capped buyer is never asked, and the reason is written to the log.
Two rules save a lot of disputes:
- Count caps on confirmed calls, not on pings. A buyer who bids and loses should not use up its cap.
- Return a repeat caller to the same buyer. When a caller rings again while a reservation is live, the call should go to the buyer who holds it, not be sold twice.
Test before the first real call
Every buyer endpoint fails eventually: it times out, returns a body your mapping does not expect, or rate-limits you at the busiest hour. A test console that can replay a ping as a slow answer, bad JSON, a missing field or an HTTP 429 shows how your setup behaves before a live caller finds out.
The bidding page shows how TRAKI handles each of these.