You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/concepts/telephony/emergency-calling-concept.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ ms.subservice: pstn
19
19
20
20
Azure Communication Calling SDK can be used to add Enhanced Emergency dialing and Public Safety Answering Point (PSAP) call-back support to your applications in the United States (US), Puerto Rico (PR), the United Kingdom (GB), and Canada (CA). The capability to dial 911 (in US, PR, and CA) and 999 or 112 (in GB) and receive a call-back may be a requirement for your application. Verify the Emergency Calling requirements with your legal counsel.
21
21
22
-
Calls to an emergency number are routed over the Microsoft network. Microsoft assigns a temporary phone number as the Call Line Identity (CLI) when an emergency call from the US, PR, GB, or CA are placed. Microsoft temporarily maintains a mapping of the phone number to the caller's identity. If there is a call-back from the PSAP, we route the call directly to the originating caller. The caller can accept incoming PSAP call even if inbound calling is disabled.
22
+
Calls to an emergency number are routed over the Microsoft network. Microsoft assigns a temporary phone number as the Call Line Identity (CLI) when an emergency call from the US, PR, GB, or CA are placed. Microsoft temporarily maintains a mapping of the phone number to the caller's identity. If there's a call-back from the PSAP, we route the call directly to the originating caller. The caller can accept incoming PSAP call even if inbound calling is disabled.
23
23
24
24
The service is available for Microsoft phone numbers. It requires that the Azure resource from where the emergency call originates has a Microsoft-issued phone number enabled with outbound dialing (also referred to as ‘make calls').
25
25
@@ -31,12 +31,11 @@ Azure Communication Services direct routing is currently in public preview and n
31
31
1. Microsoft validates the Azure resource has a Microsoft phone number enabled for outbound dialing
32
32
1. Microsoft Azure Communication Services emergency service replaces the user’s phone number `alternateCallerId` with a temporary unique phone number. This number allocation remains in place for at least 60 minutes from the time that emergency number is first dialed
33
33
1. Microsoft maintains a temporary record (for approximately 60 minutes) of the user’s identity to the unique phone number
34
-
1. The emergency call will be first routed to a call center where an agent will request the caller’s address
35
-
1. The call center will then route the call to the appropriate PSAP in a proper region
34
+
1. In the US, PR, and CA the emergency call will be first routed to a call center where an agent will request the caller’s address. The call center will then route the call to the appropriate PSAP in a proper region
36
35
1. If the emergency call is unexpectedly dropped, the PSAP then makes a call-back to the user
37
36
1. On receiving the call-back within 60 minutes, Microsoft will route the inbound call directly to the user identity, which initiated the emergency call
38
37
39
-
## Enabling Emergency calling
38
+
## Enabling Emergency Calling
40
39
41
40
Emergency dialing is automatically enabled for all users of the Azure Communication Client Calling SDK with an acquired Microsoft telephone number that is enabled for outbound dialing in the Azure resource. To use emergency calling with Microsoft phone numbers, follow the steps:
42
41
@@ -56,7 +55,7 @@ Emergency dialing is automatically enabled for all users of the Azure Communicat
56
55
57
56
1. If the caller is outside of the supported countries, the call to 911 won't be permitted
58
57
59
-
1. When testing your application in the US, dial 933 instead of 911. 933 is enabled for testing purposes; the recorded message will confirm the phone number the emergency call originates from. You should hear a temporary number assigned by Microsoft, which isn't the `alternateCallerId` provided by the application
58
+
1. When testing your application in the US, dial 933 instead of 911. 933 is enabled for testing purposes; the recorded message confirms the phone number the emergency call originates from. You should hear a temporary number assigned by Microsoft, which isn't the `alternateCallerId` provided by the application
60
59
61
60
1. Ensure your application supports [receiving an incoming call](../../how-tos/calling-sdk/manage-calls.md#receive-an-incoming-call) so call-backs from the PSAP are appropriately routed to the originator of the emergency call. To test inbound calling is working correctly, place inbound VoIP calls to the user of the Calling SDK
62
61
@@ -65,11 +64,11 @@ The Emergency service is temporarily free to use for Azure Communication Service
65
64
## Emergency calling with Azure Communication Services direct routing
66
65
67
66
Emergency call is a regular call from a direct routing perspective. If you want to implement emergency calling with Azure Communication Services direct routing, you need to make sure that there's a routing rule for your emergency number (911, 112, etc.). You also need to make sure that your carrier processes emergency calls properly.
68
-
There's also an option to use purchased number as a caller ID for direct routing calls. In such case, if there's no voice routing rule for emergency number, the call will fall back to Microsoft network, and we'll treat it as a regular emergency call. Learn more about [voice routing fall back](./direct-routing-provisioning.md#outbound-voice-routing-considerations).
67
+
There's also an option to use purchased number as a caller ID for direct routing calls. In such case, if there's no voice routing rule for emergency number, the call falls back to Microsoft network, and we treat it as a regular emergency call. Learn more about [voice routing fall back](./direct-routing-provisioning.md#outbound-voice-routing-considerations).
69
68
70
69
## Next steps
71
70
72
71
### Quickstarts
73
72
74
73
-[Outbound call to a phone number](../../quickstarts/telephony/pstn-call.md)
75
-
-[Add Emergency Calling to your app](../../quickstarts/telephony/pstn-call.md)
74
+
-[Add Emergency Calling to your app](../../quickstarts/telephony/emergency-calling.md)
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/telephony/includes/emergency-calling-android.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,17 @@ ms.author: zehangzheng
14
14
## Important considerations
15
15
- The capability to dial an emergency number and receive a call-back may be a requirement for your application. Verify the emergency calling requirements with your legal counsel.
16
16
- Microsoft uses country codes according to ISO 3166-1 alpha-2 standard
17
-
- If the country ISO code is not provided to the SDK, the IP address will be used to determine the country of the caller.
18
-
- In case IP address cannot provide reliable geolocation, for example the user is on a Virtual Private Network, it is required to set the ISO Code of the calling country using the API in the Azure Communication Services Calling SDK.
19
-
- If users are dialing from a US territory (for example Guam, US Virgin Islands, Northern Marianas, or American Samoa), it is required to set the ISO code to the US
17
+
- If the country ISO code isn't provided to the SDK, the IP address will be used to determine the country of the caller.
18
+
- In case IP address can't provide reliable geolocation, for example, the user is on a Virtual Private Network, it's required to set the ISO Code of the calling country using the API in the Azure Communication Services Calling SDK.
19
+
- If users are dialing from a US territory (for example Guam, US Virgin Islands, Northern Marianas, or American Samoa), it's required to set the ISO code to the US
20
20
- Supported ISO codes are US, PR, CA, and GB only
21
21
- Azure Communication Services direct routing is currently in public preview and not intended for production workloads. So emergency dialing is out of scope for Azure Communication Services direct routing.
22
-
- The emergency calling service is temporarily free to use for Azure Communication Services customers within reasonable use, however billing for the service will be enabled in 2022.
22
+
- The emergency calling service is temporarily free to use for Azure Communication Services customers within reasonable use, however billing for the service will be enabled in the future.
23
23
- Calls to an emergency number are capped at 10 concurrent calls per Azure Resource.
24
24
25
25
26
26
## Setting up
27
-
Replace the code in **app/src/main/res/layout/activity_main.xml** with following snippet. It will add a new button for testing emergency calls.
27
+
Replace the code in **app/src/main/res/layout/activity_main.xml** with following snippet. It adds a new button for testing emergency calls.
28
28
29
29
```xml
30
30
<?xml version="1.0" encoding="utf-8"?>
@@ -72,7 +72,7 @@ Replace the code in **app/src/main/res/layout/activity_main.xml** with following
Specify the ISO code of the country where the caller is located. If the ISO code is not provided, the IP address will be used to determine the callers location. Microsoft uses the ISO 3166-1 alpha-2 standard for country ISO codes, supported ISO codes are listed on the concept page for emergency calling.
75
+
Specify the ISO code of the country where the caller is located. If the ISO code isn't provided, the IP address will be used to determine the callers location. Microsoft uses the ISO 3166-1 alpha-2 standard for country ISO codes, supported ISO codes are listed on the concept page for emergency calling.
76
76
77
77
In your **MainActivity.java**, add the following code to your `onCreate` method to retrieve the emergency button you've created in `activity_main.xml`.
78
78
@@ -103,7 +103,7 @@ private void createAgent() {
103
103
104
104
## Start a call to 933 test call service
105
105
106
-
Add the following code to your **MainActivity.java** to add functionality to your emergency call button. For US only, a temporary Caller Id will be assigned for your emergency call despite of whether alternateCallerId param is provided or not.
106
+
Add the following code to your **MainActivity.java** to add functionality to your emergency call button. For US only, a temporary Caller ID will be assigned for your emergency call despite of whether alternateCallerId param is provided or not.
:::image type="content" source="../media/emergency-calling/emergency-calling-android-app.png" alt-text="Screenshot of the completed Android application.":::
126
126
127
-
The app can now be launched using the "Run App" button on the toolbar (Shift+F10). You can place a call to 933 by clicking the **933 Test Call** button.
127
+
The app can now be launched using the "Run App" button on the toolbar (Shift+F10). You can place a call to 933 by clicking the **933 Test Call** button.
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/telephony/includes/emergency-calling-ios.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,17 @@ ms.author: zehangzheng
14
14
## Important considerations
15
15
- The capability to dial an emergency number and receive a call-back may be a requirement for your application. Verify the emergency calling requirements with your legal counsel.
16
16
- Microsoft uses country codes according to ISO 3166-1 alpha-2 standard
17
-
- If the country ISO code is not provided to the SDK, the IP address will be used to determine the country of the caller.
18
-
- In case IP address cannot provide reliable geolocation, for example the user is on a Virtual Private Network, it is required to set the ISO Code of the calling country using the API in the Azure Communication Services Calling SDK.
19
-
- If users are dialing from a US territory (for example Guam, US Virgin Islands, Northern Marianas, or American Samoa), it is required to set the ISO code to the US
17
+
- If the country ISO code isn't provided to the SDK, the IP address will be used to determine the country of the caller.
18
+
- In case IP address can't provide reliable geolocation, for example, the user is on a Virtual Private Network, it's required to set the ISO Code of the calling country using the API in the Azure Communication Services Calling SDK.
19
+
- If users are dialing from a US territory (for example Guam, US Virgin Islands, Northern Marianas, or American Samoa), it's required to set the ISO code to the US
20
20
- Supported ISO codes are US, PR, CA, and GB only
21
21
- Azure Communication Services direct routing is currently in public preview and not intended for production workloads. So emergency dialing is out of scope for Azure Communication Services direct routing.
22
-
- The emergency calling service is temporarily free to use for Azure Communication Services customers within reasonable use, however billing for the service will be enabled in 2022.
22
+
- The emergency calling service is temporarily free to use for Azure Communication Services customers within reasonable use, however billing for the service will be enabled in the future.
23
23
- Calls to an emergency number are capped at 10 concurrent calls per Azure Resource.
24
24
25
25
26
26
## Setting up
27
-
Replace the code for `NavigationView` in your **ContentView.swift** with following snippet. It will add a new button for testing emergency calls.
27
+
Replace the code for `NavigationView` in your **ContentView.swift** with following snippet. It adds a new button for testing emergency calls.
28
28
29
29
```swift
30
30
NavigationView {
@@ -48,7 +48,7 @@ NavigationView {
48
48
}
49
49
```
50
50
## Emergency test call to phone
51
-
Specify the ISO code of the country where the caller is located. If the ISO code is not provided, the IP address will be used to determine the callers location. Microsoft uses the ISO 3166-1 alpha-2 standard for country ISO codes, supported ISO codes are listed on the concept page for emergency calling.
51
+
Specify the ISO code of the country where the caller is located. If the ISO code isn't provided, the IP address will be used to determine the callers location. Microsoft uses the ISO 3166-1 alpha-2 standard for country ISO codes, supported ISO codes are listed on the concept page for emergency calling.
52
52
53
53
In your **ContentView.swift**, replace your code with the following snippet in your `NavigationView`'s `onAppear` method to specify the emergency country:
Add the following code to your **ContentView.swift** to add functionality to your emergency call button. For US only, a temporary Caller Id will be assigned for your emergency call despite of whether alternateCallerId param is provided or not.
88
+
Add the following code to your **ContentView.swift** to add functionality to your emergency call button. For US only, a temporary Caller ID will be assigned for your emergency call despite of whether alternateCallerId param is provided or not.
89
89
90
90
```swift
91
91
funcemergencyCall() {
@@ -111,4 +111,4 @@ func emergencyCall() {
111
111
112
112
:::image type="content" source="../media/emergency-calling/emergency-calling-ios-app.png" alt-text="Screenshot of the completed iOS application.":::
113
113
114
-
Build and run your app on iOS simulator by selecting **Product** > **Run** or by using the (⌘-R) keyboard shortcut. You can place a call to 933 by clicking the **933 Test Call** button.
114
+
Build and run your app on iOS simulator by selecting **Product** > **Run** or by using the (⌘-R) keyboard shortcut. You can place a call to 933 by clicking the **933 Test Call** button.
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/telephony/includes/emergency-calling-javascript.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,17 @@ ms.author: zehangzheng
14
14
## Important considerations
15
15
- The capability to dial an emergency number and receive a call-back may be a requirement for your application. Verify the emergency calling requirements with your legal counsel.
16
16
- Microsoft uses country codes according to ISO 3166-1 alpha-2 standard
17
-
- If the country ISO code is not provided to the SDK, the IP address will be used to determine the country of the caller.
18
-
- In case IP address cannot provide reliable geolocation, for example the user is on a Virtual Private Network, it is required to set the ISO Code of the calling country using the API in the Azure Communication Services Calling SDK.
19
-
- If users are dialing from a US territory (for example Guam, US Virgin Islands, Northern Marianas, or American Samoa), it is required to set the ISO code to the US
17
+
- If the country ISO code isn't provided to the SDK, the IP address will be used to determine the country of the caller.
18
+
- In case IP address can't provide reliable geolocation, for example, the user is on a Virtual Private Network, it's required to set the ISO Code of the calling country using the API in the Azure Communication Services Calling SDK.
19
+
- If users are dialing from a US territory (for example Guam, US Virgin Islands, Northern Marianas, or American Samoa), it's required to set the ISO code to the US
20
20
- Supported ISO codes are US, PR, CA, and GB only
21
21
- Azure Communication Services direct routing is currently in public preview and not intended for production workloads. So emergency dialing is out of scope for Azure Communication Services direct routing.
22
-
- The emergency calling service is temporarily free to use for Azure Communication Services customers within reasonable use, however billing for the service will be enabled in 2022.
22
+
- The emergency calling service is temporarily free to use for Azure Communication Services customers within reasonable use, however billing for the service will be enabled in the future.
23
23
- Calls to an emergency number are capped at 10 concurrent calls per Azure Resource.
24
24
25
25
26
26
## Setting up
27
-
Replace the code in **index.html** with following snippet. It will add a new button for testing emergency calls.
27
+
Replace the code in **index.html** with following snippet. It adds a new button for testing emergency calls.
28
28
29
29
```html
30
30
<!DOCTYPE html>
@@ -58,7 +58,7 @@ Replace the code in **index.html** with following snippet. It will add a new but
58
58
</html>
59
59
```
60
60
## Emergency test call to phone
61
-
Specify the ISO code of the country where the caller is located. If the ISO code is not provided, the IP address will be used to determine the callers location. Microsoft uses the ISO 3166-1 alpha-2 standard for country ISO codes, supported ISO codes are listed on the concept page for emergency calling.
61
+
Specify the ISO code of the country where the caller is located. If the ISO code isn't provided, the IP address will be used to determine the callers location. Microsoft uses the ISO 3166-1 alpha-2 standard for country ISO codes, supported ISO codes are listed on the concept page for emergency calling.
62
62
63
63
In your **client.js**, add the following code to retrieve the emergency button you've created in index.html.
64
64
@@ -84,7 +84,7 @@ async function init() {
84
84
85
85
## Start a call to 933 test call service
86
86
87
-
Add the following code to your **client.js** to add functionality to your emergency call button. For US only, a temporary Caller Id will be assigned for your emergency call despite of whether alternateCallerId param is provided or not.
87
+
Add the following code to your **client.js** to add functionality to your emergency call button. For US only, a temporary Caller ID will be assigned for your emergency call despite of whether alternateCallerId param is provided or not.
0 commit comments