Request siprec session for a call
Changed onStarts siprec session with specified parameters for call idientified by call_sid.
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/texml/Accounts/{account_sid}/Calls/{call_sid}/Siprec.json
- Auth: HTTP bearer
Path parameters
The UUID of the Telnyx account that owns the resource, for example f5586561-8ff0-4291-a51b-c7dfe4139ff9. The account_sid path segment is kept for Twilio API compatibility, but the value is a Telnyx account UUID, not a Twilio AC... SID. It must match the account that owns the API key used to authenticate the request, otherwise the endpoint returns 404. The same value is sent as AccountSid in TeXML webhooks.
The CallSid that identifies the call to update.
Request body application/x-www-form-urlencoded
Example request
{
"ConnectorName": "my_connector",
"Name": "my_siprec_session",
"Track": "both_tracks",
"IncludeMetadataCustomHeaders": true,
"Secure": true,
"SessionTimeoutSecs": 900,
"SipTransport": "tcp",
"StatusCallback": "https://www.example.com/callback",
"StatusCallbackMethod": "GET"
}Response
Successful SIPREC session create response
Example response
{
"account_sid": "61bf923e-5e4d-4595-a110-56190ea18a1b",
"call_sid": "v3:9X2vxPDFY2RHSJ1EdMS0RHRksMTg7ldNxdjWbVr9zBjbGjGsSe-aiQ",
"sid": "61bf923e-5e4d-4595-a110-56190ea18123",
"date_created": "Fri, 11 Aug 2023 19:12:11 +0000",
"date_updated": "Fri, 11 Aug 2023 19:12:11 +0000",
"start_time": "Fri, 11 Aug 2023 19:12:11 +0000",
"status": "in-progress",
"track": "both_tracks",
"uri": "https://api.telnyx.com/v2/texml/Accounts/61bf923e-5e4d-4595-a110-56190ea18123/Calls/v3:9X2vxPDFY2RHSJ1EdMS0RHRksMTg7ldNxdjWbVr9zBjbGjGsSe-ai/Siprec/61bf923e-5e4d-4595-a110-56190ea18123"
}Changes
- breaking
removed the enum value
falseof the request property - breaking
removed the enum value
falseof the request property - breaking
removed the enum value
trueof the request property - breaking
removed the enum value
trueof the request property - info
the
request property default value changed from1800to1800 - info
added the new
falseenum value to the request property - info
added the new
falseenum value to the request property - info
added the new
trueenum value to the request property - info
added the new
trueenum value to the request property
- breaking
- breaking
removed the enum value
falseof the request property - breaking
removed the enum value
falseof the request property - breaking
removed the enum value
trueof the request property - breaking
removed the enum value
trueof the request property - info
the
request property default value changed from1800to1800 - info
added the new
falseenum value to the request property - info
added the new
falseenum value to the request property - info
added the new
trueenum value to the request property - info
added the new
trueenum value to the request property
- breaking