|
| 1 | +--- |
| 2 | +title: How to define your caller identity |
| 3 | +titleSuffix: An Azure Communication Services concept document |
| 4 | +description: Learn about Communication Services CNAM registration process. |
| 5 | +author: henikaraa |
| 6 | +manager: ankura |
| 7 | +services: azure-communication-services |
| 8 | +ms.author: henikaraa |
| 9 | +ms.date: 02/13/2025 |
| 10 | +ms.topic: conceptual |
| 11 | +ms.service: azure-communication-services |
| 12 | +--- |
| 13 | + |
| 14 | +# How to define your caller identity |
| 15 | + |
| 16 | +One common challenge faced by businesses is the difficulty of getting |
| 17 | +their calls answered or even noticed by customers. In many cases, calls |
| 18 | +from unknown or unfamiliar numbers are ignored or blocked by recipients, |
| 19 | +leading to missed opportunities for sales, customer service, and other |
| 20 | +important interactions. This can be especially challenging for |
| 21 | +businesses that rely heavily on phone-based communication, such as call |
| 22 | +centers or sales teams. In order to address these challenges, Azure |
| 23 | +Communications Services is offering customers the ability to define |
| 24 | +their caller's name when they place a PSTN call. Depending on their |
| 25 | +needs, customers can choose between two options: Caller Name Delivery |
| 26 | +(CNAM) registration or dynamic display name. In order to avoid |
| 27 | +customer's calling numbers being flagged as "Spam", it's recommended |
| 28 | +that customer register his PSTN outbound numbers within central |
| 29 | +registries and to follow some best practices. |
| 30 | + |
| 31 | +## What is CNAM |
| 32 | + |
| 33 | +### Overview |
| 34 | + |
| 35 | +In the US, Caller Name Delivery (CNAM) provides the caller's name or |
| 36 | +company name in Caller ID, though it may show as \"restricted\" or \"not |
| 37 | +available\" due to blocking or technical issues. The terminating carrier |
| 38 | +retrieves this information through a database lookup DB (up to 8 |
| 39 | +providers in the US) using the caller\'s phone number. In Canada, the |
| 40 | +caller's name can be added by either the client\'s equipment (e.g., PBX) |
| 41 | +or the originating carrier, as long as it complies with anti-spoofing |
| 42 | +and fraud regulations. |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | +### How to register |
| 48 | + |
| 49 | +In order to request a CNAM registration for an ACS number, customers will simply need to send an email to <[email protected]>, using \"ACS Number Request -- CNAM Registration \" as part of customer's subject line and providing the below details: |
| 50 | + |
| 51 | +- Customer and Azure details |
| 52 | + |
| 53 | +- List of number and the corresponding caller name to register for |
| 54 | + each number (customer must own these numbers under the Azure |
| 55 | + Resources provided and he can register [only US local |
| 56 | + numbers]{.underline}) |
| 57 | + |
| 58 | +Please note that CNAM are limited to 15 characters (including spaces) |
| 59 | +and the following special characters are supported: |
| 60 | + |
| 61 | +- **.** Period |
| 62 | + |
| 63 | +- , Comma |
| 64 | + |
| 65 | +- & Ampersand |
| 66 | + |
| 67 | +- -- Dash |
| 68 | + |
| 69 | +- \_ Underscore |
| 70 | + |
| 71 | +- ' Single quotation (i.e. Tom's Burgers) |
| 72 | + |
| 73 | +Once the request is approved by the carrier, it takes **48 hours to be |
| 74 | +published.** |
| 75 | + |
| 76 | +### Things to consider |
| 77 | + |
| 78 | +1. The reliability of CNAM delivery with the call varies depending on |
| 79 | + the country/region and carriers that handle the call\--either as an |
| 80 | + intermediary or a terminating carrier. |
| 81 | + |
| 82 | +2. Inconsistencies in CNAM can be caused when the intermediate or |
| 83 | + terminating carriers delay refreshing the CNAM information in |
| 84 | + authoritative databases\--as in the United States. In |
| 85 | + countries/regions where there are no authoritative databases for |
| 86 | + CNAM, individual carrier practices can also cause problems with CNAM |
| 87 | + information arriving intact with the call. |
| 88 | + |
| 89 | +3. ACS currently doesn\'t support CNAM registration for |
| 90 | + countries/regions other than the United States. |
| 91 | + |
| 92 | +4. This registration is available only for US local numbers (not |
| 93 | + supported on toll free). |
| 94 | + |
| 95 | +5. This service only applies for OUTBOUND calls and for the numbers |
| 96 | + that customer owns. |
| 97 | + |
| 98 | +6. CNAM DBs are not always up to date and not all the same and there is |
| 99 | + a potential for misspellings. |
| 100 | + |
| 101 | +7. There are multiple CNAM databases across the country and terminating |
| 102 | + carriers may subscribe to one or multiple databases. |
| 103 | + |
| 104 | +## Display Name |
| 105 | + |
| 106 | +### Overview |
| 107 | + |
| 108 | +Display Name allows customers to pass a caller name in the code |
| 109 | +when making a call, which gives them more flexibility and control over |
| 110 | +the branding of each call. This option is available with both ACS SDKs: |
| 111 | +Call Automation and Calling SDK. This is also supported by both Direct |
| 112 | +Offer and Direct Routing. |
| 113 | + |
| 114 | +### How to set the display name |
| 115 | + |
| 116 | +In order to define the display name when placing an outbound call, |
| 117 | +customers can use the property |
| 118 | +*[CallInvite.SourceDisplayName](https://learn.microsoft.com/en-us/dotnet/api/azure.communication.callautomation.callinvite.sourcedisplayname?view=azure-dotnet).* |
| 119 | +Customers can set the display name appearing on target callee. |
| 120 | + |
| 121 | +Below is an example of placing a PSTN outbound call using ACS Call |
| 122 | +Automation: |
| 123 | + |
| 124 | +```javascript |
| 125 | +async function createOutboundCall() { |
| 126 | + const callInvite: CallInvite = { |
| 127 | + targetParticipant: callee, |
| 128 | + sourceCallIdNumber: { |
| 129 | + phoneNumber: process.env.ACS_RESOURCE_PHONE_NUMBER || "", |
| 130 | + }, |
| 131 | + }; |
| 132 | + callInvite.SourceDisplayName = "Contoso Bank"; |
| 133 | + const options: CreateCallOptions = { callIntelligenceOptions: { cognitiveServicesEndpoint: process.env.COGNITIVE_SERVICES_ENDPOINT } }; |
| 134 | + console.log("Placing outbound call..."); |
| 135 | + acsClient.createCall(callInvite, process.env.CALLBACK_URI + "/api/callbacks", options); |
| 136 | +} |
| 137 | +``` |
| 138 | + |
| 139 | +Where: |
| 140 | + |
| 141 | +- **CALLBACK_URI**: Once customer has his |
| 142 | + [DevTunnel](https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/get-started?tabs=windows) |
| 143 | + host initialized, update this field with that URI. |
| 144 | + |
| 145 | +- **ACS_RESOURCE_PHONE_NUMBER**: update this field with the Azure |
| 146 | + Communication Services phone number customer has acquired. This |
| 147 | + phone number should use |
| 148 | + the [E164](https://en.wikipedia.org/wiki/E.164) phone number format. |
| 149 | + |
| 150 | +- **COGNITIVE_SERVICES_ENDPOINT**: update field with customer's Azure |
| 151 | + AI services endpoint. |
| 152 | + |
| 153 | +### Things to consider |
| 154 | + |
| 155 | +The reliability of display name delivery with the call varies depending |
| 156 | +on the country/region and carriers that handle the call\--either as an |
| 157 | +intermediary or a terminating carrier. In the US, the delivery of |
| 158 | +display names is unreliable, and, in many cases, the downstream carriers |
| 159 | +will strip the caller ID. In Canada, it's more reliable and in some |
| 160 | +states considered standard practice, the recommendation for CA/US is to |
| 161 | +use both CNAM and the API to set the Caller ID, and in the RoW the |
| 162 | +experience will vary based on the country. |
0 commit comments