Ezra
11/12/2024, 7:17 PM14:08:09:834 [LOG] Twilio detected "machine_end_other" in 5000ms
how can I receive this log through apiVapi
11/12/2024, 7:20 PMVapi
11/12/2024, 7:20 PMAccount SID and Auth Token.
2. Make a GET request to the Calls endpoint of the Twilio API.
3. Filter the logs by the specific event "machine_end_other" if possible, or retrieve the logs and filter them client-side.
The actual API call would look something like this (in pseudocode):
pseudo
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls.json
Authorization: Basic {Base64Encoded(AccountSid:AuthToken)}
You can also specify query parameters such as startTime to filter the calls starting after a certain time, or status to get calls with a certain status.
Please replace {AccountSid} and {AuthToken} with your actual Twilio Account SID and Auth Token. If you need to fetch logs with specific parameters like createdAtGt, you would include those in the query string of your request.
If you need assistance with making an API call or setting up a webhook to receive logs in real-time, please provide more details or ask for support.Shubham Bajaj
11/13/2024, 11:30 AMhow can I receive this log through api?Shubham Bajaj
11/13/2024, 11:30 AMEzra
11/13/2024, 3:23 PMShubham Bajaj
11/14/2024, 1:30 PMShubham Bajaj
11/14/2024, 1:30 PMEzra
11/14/2024, 3:35 PM[LOG] Twilio detected "unknown" in 5000msShubham Bajaj
11/15/2024, 2:25 PMunknown doesn't means fail, it means an unknown category is identified.
With status-update event when call is ended you get the status ended and reason as voice mail detection, now for the detailed how you can raise the feature request https://vapi.canny.ioShubham Bajaj
11/15/2024, 2:25 PMEzra
11/15/2024, 3:07 PM