Creating SIPREC session
A SIPREC session can be started in the following ways: 1. Starting a SIPREC session via the REST API API reference: Request a SIPREC session for a call Using the REST API, an application can explicitly request the initiation of a SIPREC session for an active call. When this endpoint is invoked, Telnyx creates a SIPREC session object and begins streaming the call media to the configured SIP recording endpoint according to the supplied parameters. This approach allows SIPREC to be started dynamically at any point during the call lifecycle. 2. Starting a SIPREC session via the TeXML<Siprec> verb
Documentation: <Siprec>
The SIPREC session is initiated synchronously (nested to <Start> verb) as part of the sequential TeXML execution flow. Subsequent TeXML instructions are processed only after the SIPREC session has been stopped.