Skip to content

Commit 3fb4779

Browse files
authored
Update secure-webhook-endpoint.md
add links to websocket code snippet files
1 parent d63ffe5 commit 3fb4779

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

articles/communication-services/how-tos/call-automation/secure-webhook-endpoint.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,26 @@ Each WebSocket connection request made by Call Automation now includes a signed
5353
- More details are available in the official documentation:
5454
Secure webhook endpoint – Azure Communication Services
5555

56-
### Additional Headers:
57-
The Correlation ID and Call Connection ID are now included in the WebSocket headers for improved traceability.
56+
::: zone pivot="programming-language-csharp"
57+
[!INCLUDE [Secure websocket with .NET](./includes/secure-websocket-csharp.md)]
58+
::: zone-end
59+
60+
::: zone pivot="programming-language-javascript"
61+
[!INCLUDE [Secure webhook endpoint with JavaScript](./includes/secure-websocket-javascript.md)]
62+
::: zone-end
63+
64+
::: zone pivot="programming-language-python"
65+
[!INCLUDE [Secure webhook endpoint with Python](./includes/secure-websocket-python.md)]
66+
::: zone-end
67+
5868

5969
## IP Range
70+
Another way you can secure your websocket connections is by allowing only Microsoft Connections from certain IP ranges.
71+
6072
| Category | IP ranges or FQDN | Ports |
6173
| :-- | :-- | :-- |
6274
| Call Automation Media | 52.112.0.0/14, 52.122.0.0/15, 2603:1063::/38| UDP: 3478, 3479, 3480, 3481|
63-
| Callback URLs | *.lync.com, *.teams.cloud.microsoft, *.teams.microsoft.com, teams.cloud.microsoft, teams.microsoft.com 52.112.0.0/14, 52.122.0.0/15, 2603:1027::/48, 2603:1037::/48, 2603:1047::/48, 2603:1057::/48, 2603:1063::/38, 2620:1ec:6::/48, 2620:1ec:40::/42 | TCP: 443, 80 UDP: 443 |
75+
| Call Automation callback URLs | *.lync.com, *.teams.cloud.microsoft, *.teams.microsoft.com, teams.cloud.microsoft, teams.microsoft.com 52.112.0.0/14, 52.122.0.0/15, 2603:1027::/48, 2603:1037::/48, 2603:1047::/48, 2603:1057::/48, 2603:1063::/38, 2620:1ec:6::/48, 2620:1ec:40::/42 | TCP: 443, 80 UDP: 443 |
6476

6577
## Next steps
6678

0 commit comments

Comments
 (0)