Skip to content

Commit 56b6117

Browse files
authored
Update manage-calls-web.md
1 parent 9b4bc5b commit 56b6117

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/communication-services/how-tos/calling-sdk/includes/manage-calls/manage-calls-web.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ When you call a PSTN number, specify your alternate caller ID. An alternate call
3434
For a 1:1 call to a PSTN number, use the following code:
3535
```js
3636
const pstnCallee = { phoneNumber: '<ACS_USER_ID>' }
37-
const alternateCallerId = {alternateCallerId: '<ALTERNATE_CALLER_ID>'};
37+
const alternateCallerId = {phoneNumber: '<ALTERNATE_CALLER_ID>'};
3838
const oneToOneCall = callAgent.startCall([pstnCallee], {alternateCallerId});
3939
```
4040

@@ -43,7 +43,7 @@ For a 1:n call to a user and a PSTN number, use the following code:
4343
```js
4444
const userCallee = { communicationUserId: '<ACS_USER_ID>' }
4545
const pstnCallee = { phoneNumber: '<PHONE_NUMBER>'};
46-
const alternateCallerId = {alternateCallerId: '<ALTERNATE_CALLER_ID>'};
46+
const alternateCallerId = {phoneNumber: '<ALTERNATE_CALLER_ID>'};
4747
const groupCall = callAgent.startCall([userCallee, pstnCallee], {alternateCallerId});
4848
```
4949

@@ -290,4 +290,4 @@ Inspect active video streams by checking the `localVideoStreams` collection. It
290290
291291
```js
292292
const localVideoStreams = call.localVideoStreams;
293-
```
293+
```

0 commit comments

Comments
 (0)