Budget: 600 EUR Deadline: 11 days
Hello! Yes, I understand the task. We can create an RTP-relay "bridge" that:
accepts the RTP stream from your telephony;
forwards the RTP back to Oktel without delays (real pass-through for the entire call);
simultaneously buffers the first ~5 seconds of audio and saves it in WAV or immediately converts it to MP3;
after recording, sends the file to your API along with the call identifier.
Technically, this is implemented as a lightweight UDP-proxy/relay with minimal processing to avoid introducing latency. During the call, there is transparent transit, and the recording of the first 5 seconds is done asynchronously from the same stream.
To get started, we need:
a connection diagram (where exactly the "bridge" is located: between whom and whom, IP/ports, directions);
which codecs are used (G.711/G.729/Opus, etc.) — this affects the way of decoding to WAV/MP3;
how you receive/transfer call_id (SIP Call-ID / internal id Oktel) and how it maps to the RTP session;
the endpoint of your API + request format.
After that, I will set up a test stand, create an MVP, and run it on real calls to confirm zero/minimal delay and correct recording.