Skip to content

Commit b8cdb84

Browse files
committed
Updated include files
Changed some version requirements per engineering
1 parent e7840eb commit b8cdb84

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

articles/communication-services/quickstarts/telephony/includes/number-lookup-java.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Get started with the Phone Numbers client library for Java to look up operator information for phone numbers, which can be used to determine whether and how to communicate with that phone number. Follow these steps to install the package and look up operator information about a phone number.
1+
Get started with the Phone Numbers client library for Java to look up operator information for phone numbers. Use the operator information to determine whether and how to communicate with that phone number. Follow these steps to install the package and look up operator information about a phone number.
22

33
> [!NOTE]
4-
> Find the code for this quickstart on [GitHub](https://github.com/Azure-Samples/communication-services-java-quickstarts/tree/main/LookupNumber).
4+
> To view the source code for this example, see [Manage Phone Numbers - Java | GitHub](https://github.com/Azure-Samples/communication-services-java-quickstarts/tree/main/LookupNumber).
55
66
## Prerequisites
77

@@ -44,7 +44,7 @@ The public preview version of the SDK is published to a dev package feed. To con
4444
</repository>
4545
```
4646

47-
You may need to add or edit the `settings.xml` file in `${user.home}/.m2`
47+
You might need to add or edit the `settings.xml` file in `${user.home}/.m2`
4848

4949
```xml
5050
<server>
@@ -72,7 +72,7 @@ Add the following dependency elements to the group of dependencies in the **pom.
7272
<dependency>
7373
<groupId>com.azure</groupId>
7474
<artifactId>azure-communication-phonenumbers</artifactId>
75-
<version>1.2.0-beta.3</version>
75+
<version>1.2.0</version>
7676
</dependency>
7777

7878
<dependency>
@@ -188,7 +188,7 @@ OperatorInformation operatorInfo = result.getValue().getValues().get(0);
188188
```
189189

190190
> [!WARNING]
191-
> Using this functionality will incur a charge to your account.
191+
> Using this function incurs a charge to your account.
192192
193193
### Use operator information
194194

@@ -215,7 +215,7 @@ System.out.println(operatorInfo.getPhoneNumber() + " is a " + numberType + " num
215215
+ operatorInfo.getIsoCountryCode() + " by " + operatorName);
216216
```
217217

218-
You may also use the operator information to determine whether to send an SMS. For more information on sending an SMS, see the [SMS Quickstart](../../sms/send.md).
218+
You can also use the operator information to determine whether to send an SMS. For more information, see [Send an SMS message](../../sms/send.md).
219219

220220
## Run the code
221221

@@ -240,4 +240,4 @@ mvn exec:java -D"exec.mainClass"="com.communication.lookup.quickstart.App" -D"ex
240240

241241
## Sample code
242242

243-
You can download the sample app from [GitHub](https://github.com/Azure-Samples/communication-services-java-quickstarts/tree/main/LookupNumber).
243+
You can download the sample app from [Manage Phone Numbers - Java | GitHub](https://github.com/Azure-Samples/communication-services-java-quickstarts/tree/main/LookupNumber).

articles/communication-services/quickstarts/telephony/includes/number-lookup-js.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Get started with the Phone Numbers client library for JavaScript to look up operator information for phone numbers, which can be used to determine whether and how to communicate with that phone number. Follow these steps to install the package and look up operator information about a phone number.
1+
Get started with the Phone Numbers client library for JavaScript to look up operator information for phone numbers. Use the operator information to determine whether and how to communicate with that phone number. Follow these steps to install the package and look up operator information about a phone number.
22

33
> [!NOTE]
4-
> Find the code for this quickstart on [GitHub](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/lookup-phone-number).
4+
> To view the source code for this example, see [Manage Phone Numbers - JavaScript | GitHub](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/lookup-phone-number).
55
66
## Prerequisites
77

@@ -46,7 +46,7 @@ main();
4646
Use the `npm install` command to install the Azure Communication Services Phone Numbers client library for JavaScript.
4747

4848
```console
49-
npm install @azure/[email protected]-beta.4 --save
49+
npm install @azure/[email protected] --save
5050
```
5151

5252
The `--save` option adds the library as a dependency in your **package.json** file.
@@ -91,7 +91,7 @@ let searchResults = await phoneNumbersClient.searchOperatorInformation([ "<targe
9191
```
9292

9393
> [!WARNING]
94-
> Using this functionality will incur a charge to your account.
94+
> Using this function incurs a charge to your account.
9595
9696
### Use operator information
9797

@@ -112,7 +112,7 @@ console.log(operatorInfo.phoneNumber + " is a " + (operatorInfo.numberType ? ope
112112
+ operatorInfo.isoCountryCode + " by " + (operatorInfo.operatorDetails.name ? operatorInfo.operatorDetails.name : "an unknown operator"));
113113
```
114114

115-
You may also use the operator information to determine whether to send an SMS. For more information on sending an SMS, see the [SMS Quickstart](../../sms/send.md).
115+
You can also use the operator information to determine whether to send an SMS. For more information, see [Send an SMS message](../../sms/send.md).
116116

117117
## Run the code
118118

@@ -124,4 +124,4 @@ node number-lookup-quickstart.js
124124

125125
## Sample code
126126

127-
You can download the sample app from [GitHub](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/lookup-phone-number)).
127+
You can download the sample app from [Manage Phone Numbers - JavaScript | GitHub](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/lookup-phone-number)).

articles/communication-services/quickstarts/telephony/includes/number-lookup-net.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Get started with the Phone Numbers client library for C# to look up operator information for phone numbers, which can be used to determine whether and how to communicate with that phone number. Follow these steps to install the package and look up operator information about a phone number.
1+
Get started with the Phone Numbers client library for C# to look up operator information for phone numbers. Use the operator information to determine whether and how to communicate with that phone number. Follow these steps to install the package and look up operator information about a phone number.
22

33
> [!NOTE]
4-
> Find the code for this quickstart on [GitHub](https://github.com/Azure-Samples/communication-services-dotnet-quickstarts/tree/main/LookupNumber).
4+
> To view the source code for this example, see [Manage Phone Numbers - C# | GitHub](https://github.com/Azure-Samples/communication-services-dotnet-quickstarts/tree/main/LookupNumber).
55
66
## Prerequisites
77

@@ -46,7 +46,7 @@ More detailed information and other options for connecting to the dev feed can b
4646
While still in the application directory, install the Azure Communication Services PhoneNumbers client library for .NET package by using the following command.
4747

4848
```console
49-
dotnet add package Azure.Communication.PhoneNumbers --version 1.3.0-beta.5
49+
dotnet add package Azure.Communication.PhoneNumbers --version 1.3.0
5050
```
5151

5252
Add a `using` directive to the top of **Program.cs** to include the `Azure.Communication` namespace.
@@ -114,7 +114,7 @@ OperatorInformationResult searchResult = await client.SearchOperatorInformationA
114114
```
115115

116116
> [!WARNING]
117-
> Using this functionality will incur a charge to your account.
117+
> Using this function incurs a charge to your account.
118118
119119
### Use operator information
120120

@@ -134,7 +134,7 @@ OperatorInformation operatorInformation = searchResult.Values[0];
134134
Console.WriteLine($"{operatorInformation.PhoneNumber} is a {operatorInformation.NumberType ?? "unknown"} number, operated in {operatorInformation.IsoCountryCode} by {operatorInformation.OperatorDetails.Name ?? "an unknown operator"}");
135135
```
136136

137-
You may also use the operator information to determine whether to send an SMS. For more information on sending an SMS, see the [SMS Quickstart](../../sms/send.md).
137+
You can also use the operator information to determine whether to send an SMS. For more information about sending an SMS, see [Send an SMS message](../../sms/send.md).
138138

139139
## Run the code
140140

@@ -146,4 +146,4 @@ dotnet run --interactive
146146

147147
## Sample code
148148

149-
You can download the sample app from [GitHub](https://github.com/Azure-Samples/communication-services-dotnet-quickstarts/tree/main/LookupNumber).
149+
You can download the sample app from [Manage Phone Numbers - C# | GitHub](https://github.com/Azure-Samples/communication-services-dotnet-quickstarts/tree/main/LookupNumber).

articles/communication-services/quickstarts/telephony/includes/number-lookup-python.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Get started with the Phone Numbers client library for Python to look up operator information for phone numbers, which can be used to determine whether and how to communicate with that phone number. Follow these steps to install the package and look up operator information about a phone number.
1+
Get started with the Phone Numbers client library for Python to look up operator information for phone numbers. Use the operator information to determine whether and how to communicate with that phone number. Follow these steps to install the package and look up operator information about a phone number.
22

33
> [!NOTE]
4-
> Find the code for this quickstart on [GitHub](https://github.com/Azure-Samples/communication-services-python-quickstarts/tree/main/lookup-phone-numbers-quickstart).
4+
> To view the source code for this example, see [Manage Phone Numbers - Python | GitHub](https://github.com/Azure-Samples/communication-services-python-quickstarts/tree/main/lookup-phone-numbers-quickstart).
55
66
## Prerequisites
77

@@ -44,7 +44,7 @@ except Exception as ex:
4444
While still in the application directory, install the Azure Communication Services PhoneNumbers client library for Python package by using the `pip install` command.
4545

4646
```console
47-
pip install azure-communication-phonenumbers==1.2.0b2
47+
pip install azure-communication-phonenumbers==1.2.0
4848
```
4949

5050
## Code examples
@@ -107,11 +107,11 @@ To search for a phone number's operator information, call `search_operator_infor
107107

108108
```python
109109
options = { "include_additional_operator_details": True }
110-
operator_results = phone_numbers_client.search_operator_information("<target-phone-number>", options)
110+
operator_results = phone_numbers_client.search_operator_information("<target-phone-number>", options=options)
111111
```
112112

113113
> [!WARNING]
114-
> Using this functionality will incur a charge to your account.
114+
> Using this function incurs a charge to your account.
115115
116116
### Use operator information
117117

@@ -138,7 +138,7 @@ else:
138138
print(str.format("{0} is a {1} number, operated in {2} by {3}", operator_information.phone_number, number_type, operator_information.iso_country_code, operator_name))
139139
```
140140

141-
You may also use the operator information to determine whether to send an SMS. For more information on sending an SMS, see the [SMS Quickstart](../../sms/send.md).
141+
You can also use the operator information to determine whether to send an SMS. For more information about sending an SMS, see [Send an SMS message](../../sms/send.md).
142142

143143
## Run the code
144144

@@ -150,4 +150,4 @@ python number_lookup_sample.py
150150

151151
## Sample code
152152

153-
You can download the sample app from [GitHub](https://github.com/Azure-Samples/communication-services-python-quickstarts/tree/main/lookup-phone-numbers-quickstart).
153+
You can download the sample app from [Manage Phone Numbers - Python | GitHub](https://github.com/Azure-Samples/communication-services-python-quickstarts/tree/main/lookup-phone-numbers-quickstart).

0 commit comments

Comments
 (0)