sách gpt4 ai đã đi

用于记录的 Twilio 操作

In lại 作者:行者123 更新时间:2023-12-04 15:58:28 32 4
mua khóa gpt4 Nike

我正在尝试创建一个 Twilio 工作流来调用电话并记录用户所说的内容。为此,我正在使用 Ghi,但我不确定要在 action 参数中放置什么。

尽管我知道 Twilio 会发送有关调用该 URL 的信息,但我不一定需要它。有没有办法为信息提供某种天坑?



Hi! Say your name:


1 Câu trả lời

我认为除了创建一个 bin 或另一个端点并返回一个空响应之外没有其他选择,例如:



如果您省略 action 属性,您将得到一个可能不是您想要的循环。

The 'action' attribute takes a relative or absolute URL as a value. When recording is finished Twilio will make a GET or POST request to this URL including the parameters below. If no 'action' is provided, will default to requesting the current document's URL.

After making this request, Twilio will continue the current call using the TwiML received in your response. Keep in mind that by default Twilio will re-request the current document's URL, which can lead to unwanted looping behavior if you're not careful. Any TwiML verbs occurring after a are unreachable.

( https://www.twilio.com/docs/voice/twiml/record?code-sample=code-using-attributes-in-a-record-verb&code-language=output-twiml )

关于用于记录的 Twilio 操作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51067771/

32 4 0
行者123
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com