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/quickstarts/telephony/includes/emergency-calling-android.md
+5-5Lines changed: 5 additions & 5 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
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`.
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/telephony/includes/emergency-calling-ios.md
+5-5Lines changed: 5 additions & 5 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
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:
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/telephony/includes/emergency-calling-javascript.md
+5-5Lines changed: 5 additions & 5 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
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.
0 commit comments