Skip to content

Commit 2a79ebb

Browse files
authored
Merge pull request #204371 from tomkau/main
Corrected alternateCallerId reference
2 parents 08fdefc + 56b6117 commit 2a79ebb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 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

0 commit comments

Comments
 (0)