gpt4 book ai didi

Plivo - 如何在 web sdk 中获取 call_uuid

转载 作者:行者123 更新时间:2023-12-01 04:57:38 26 4
gpt4 key购买 nike

请解释我如何在那里获得调用 uuid。
当我接通电话时。
https://www.plivo.com/docs/getting-started/web-sdk/make-outgoing-calls/

// Make outgoing calls
function call() {
if ($('#make_call').text() == "Call") {
// The destination phone number to connect the call to
var dest = $("#to").val();
if (isNotEmpty(dest)) {
$('#status_txt').text('Calling..');
// Connect the call
Plivo.conn.call(dest);
$('#make_call').text('End');
}
else{
$('#status_txt').text('Invalid Destination');
}
}
else if($('#make_call').text() == "End") {
$('#status_txt').text('Ending..');
// Hang up the call
Plivo.conn.hangup();
$('#make_call').text('Call');
$('#status_txt').text('Ready');
}
}

最佳答案

WEB-SDK 不提供调用uuid

 set callback url in xml and get both call uuid (DialALegUUID,DialBLegUUID)

https://www.plivo.com/docs/xml/dial/#callbackurl-request-parameters

关于Plivo - 如何在 web sdk 中获取 call_uuid,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35864808/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com