Quick answer
Under TRAI's direction of 18 November 2025, every variable in a DLT content template must be pre-tagged with its type: numeric (digits only), alphanumeric (up to 40 characters), url, urlott (app or OTT links), cbn (call-back number) or email. Operators check the values you send against the tag — and links and phone numbers against your whitelist — and messages that fail are logged and then blocked. Templates that still use the generic {#var#} need to be updated.
What changed and why
A DLT template is the approved wording of a message, with placeholders for the parts that change — the OTP, the customer's name, the amount, the tracking link. Until recently every placeholder was a generic {#var#} that could hold anything. Fraudsters used that gap: a template approved for "Your order {#var#} has shipped" could carry a phishing link or a fake phone number inside the variable.
TRAI's direction of 18 November 2025 closes the gap. Each variable must declare its type when the template is registered, and the operator's systems check every message: a numeric variable must contain only digits, a link variable must contain a link you have whitelisted, a call-back variable must contain a number you have registered, and so on.
The six variable tags
| Type (TRAI) | What it can hold | Written on Vi and BSNL portals | Length on Vi and BSNL |
|---|---|---|---|
| numeric | Digits only — OTPs, amounts, order numbers made of digits | {#num#} | Up to 40 |
| alphanumeric | Letters and digits — names, order IDs like ORD4821X. TRAI caps it at 40 characters | {#alp#} | Up to 40 |
| url | A web link that matches one you have registered (static, dynamic or short URL) | {#urg#} | Up to 120 |
| urlott | A link to an app or OTT platform (APK or app-store link) that you have registered | {#uro#} | Up to 120 |
| cbn | A call-back number — mobile, landline or toll-free — that you have registered | {#cbn#} | 3–14 |
| A valid email address | {#eml#} | Up to 40 |
How to write the tags on your DLT portal
TRAI defines the types; each operator's DLT portal decides how you write them. Vi and BSNL use short codes such as {#num#} and {#alp#}. Other portals use the full type names, such as {#numeric#} and {#alphanumeric#}. Use the format your portal shows in its template screen — the portal's own help text and dropdowns are the final word.
The same template written both ways:
Vi / BSNL style:
{#num#} is your OTP to log in to Acme. Valid for 10 minutes. Do not share it. -Acme
Full-name style:
{#numeric#} is your OTP to log in to Acme. Valid for 10 minutes. Do not share it. -Acme
Your template is registered once, on the portal where your business is registered as an entity, and works across all operators.
Before and after: common templates
| Message | Old template | Tagged template |
|---|---|---|
| Log-in OTP | {#var#} is your OTP for Acme. | {#numeric#} is your OTP for Acme. |
| Order shipped | Hi {#var#}, order {#var#} shipped. Track: {#var#} | Hi {#alphanumeric#}, your order {#alphanumeric#} has shipped. Track it at {#url#} -Acme |
| Payment reminder | Rs {#var#} due on {#var#}. Call {#var#} | Rs {#numeric#} is due on your Acme account. For help call {#cbn#} -Acme |
| App download | Get the app: {#var#} | Download the Acme app to track orders: {#urlott#} -Acme |
Notice what else changed in the tagged versions. Fixed wording sits between the variables, there are no more than two or three variables, and each one has the narrowest type that fits. Where a value never changes — your support number, say — write it into the fixed text instead of making it a variable (it still has to be a registered number).
How many variables, and where they can go
- Two variables per template is the rule from TRAI's direction of February 2023. A third is allowed in exigency, and more only in special circumstances with justification and pre-tagging. Vi and BSNL accept up to three without extra justification.
- No variables side by side. Variables must not be contiguous — put real words between them, not just a space, comma or other symbol. (The Vi and BSNL guidelines allow back-to-back variables only for alphanumeric values.)
- Mostly fixed text. A template that is mostly variables is a common rejection reason: the fixed text has to say what the message is about.
- Test the longest values. What gets billed is the message after the variables are filled. A long name or link can push a message over 160 characters (70 in Indian-language scripts) — check it with the SMS character counter.
Whitelisting links, apps and call-back numbers
Tags only work together with your whitelist. Since 1 October 2024, operators block SMS that contain links, APK or OTT links that aren't whitelisted on DLT, and the November 2025 direction added the same check for call-back numbers through the cbn tag. Before you send:
- Register your domains and linksAdd the web addresses you send, including any short-link domain you own. Public link shorteners are usually not accepted.
- Register app and OTT linksAdd the APK or app-store links you share.
- Register call-back numbersAdd the mobile, landline and toll-free numbers you ask customers to call.
- Match every value to the whitelistA link or number in a message that isn't registered will fail the check, even if the template itself is approved.
Timeline
| Date | What happened |
|---|---|
| 16 Feb 2023 | TRAI limits templates to two variables (a third in exigency) and bars contiguous variables |
| 1 Oct 2024 | Messages with non-whitelisted links, APK or OTT links are blocked |
| 18 Nov 2025 | TRAI direction: every variable must be pre-tagged by type; values are checked against the tag and the whitelist |
| From 1 Jul 2026 | Checks run in "logger mode": messages that fail are still delivered, but the failure is recorded |
| 17 Oct 2026 | Date by which senders were asked to fix their templates before checks move to blocking |
How to update your existing templates
- Export your template listDownload the templates from your DLT portal and find every one that still uses
{#var#}. - Choose a type for each variableDigits only → numeric; names and IDs → alphanumeric; web links → url; app links → urlott; phone numbers → cbn; email addresses → email.
- Tidy the wordingRemove unnecessary variables, keep fixed text between the ones that remain, and end with your brand name.
- Check, then fileRun each template through our DLT template checker, then file the tagged versions on your portal.
- Update your sending codeMake sure the values your system sends fit the new types — for example, no letters in a numeric variable.
We can do this with you. Send us your current templates and we'll suggest tagged versions before you file them. If we register your DLT entity for you, the fee is ₹5,900 (including 18% GST), valid for one year and renewed every year; linking an entity you already have is free. DLT registration guide.