@ -7,7 +7,7 @@ import dayjs from "dayjs";
const callCenterStore = create((set, get) => ({
client: new VonageClient({
// region: "AP",
region: "AP",
// apiUrl: "https://api-ap-3.vonage.com", websocketUrl: "wss://ws-ap-3.vonage.com"
}),
call_id: 0,
@ -23,3 +23,20 @@ USR-9f60dff4-78c3-40c8-9aad-f762df371728 NAM-c54db270-643a-43a6-883e-b8c28d292d
Done Listing users
```
region AP 下的用户:
```json
"users": [
{
"id": "USR-2e2e267c-e718-4114-b488-bc6677541fd4",
"name": "Highlights",
"display_name": "Highlights",
"_links": {
"self": {
"href": "https://api-ap-3.vonage.com/v1/users/USR-2e2e267c-e718-4114-b488-bc6677541fd4"
}
]
@ -25,7 +25,7 @@ const app_id = '503c548f-cb61-4a3a-8599-cd815680b390';
const api_key = '197c68c9';
const api_secret = 'Aa11be17f298dfd4118bdf23';
const vonageNumber = "12019751815"; //用于通话的号码,今后根据前端提交来做号码切换
const vonageUser = "HighlightsTravel"; // user name
const vonageUser = "Highlights"; // user name
const response = (data) => {
return {