# Supporting Multiple Phone Numbers for a Single Client in CHT

**URL:** <https://forum.communityhealthtoolkit.org/t/supporting-multiple-phone-numbers-for-a-single-client-in-cht/5349>\
**Category:** Development\
**Created:** [September 10, 2025, 8:33am UTC](https://forum.communityhealthtoolkit.org/t/supporting-multiple-phone-numbers-for-a-single-client-in-cht/5349 "2025-09-10T08:33:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cliff](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/cliff/32/1638_2.png) [@cliff](https://forum.communityhealthtoolkit.org/u/cliff)\
**Post date:** [September 10, 2025, 8:33am UTC](https://forum.communityhealthtoolkit.org/t/supporting-multiple-phone-numbers-for-a-single-client-in-cht/5349/1 "2025-09-10T08:33:53Z")

</div>

Hello community,

I’m exploring how to support **multiple phone numbers for a single client** in a CHT deployment.

In my current setup:

- It’s straightforward to capture two numbers in the form, e.g. `primary_phone` and `secondary_phone`.

- These get stored in the client’s contact document in CouchDB.

The challenge comes when handling **SMS messaging** :

- By default, CHT workflows seem to associate only one number (the `phone` field) with a client.

- This means if a client texts in from their secondary number, the message won’t link to their contact record.

**My questions for the community:**

1. Is there an existing recommended way to configure CHT so that a client can be recognized by **either** of their registered numbers?

2. Can TextIt support aliases or multiple numbers per contact?

3. If not, what patterns or schema changes have other implementers used to solve this?

The goal is to improve accessibility for clients who may switch between SIM cards or have more than one active phone.

Thanks in advance for your guidance!

Cliff  
cc @diana @mrjones

---

<div class="post-metadata">

**Author:** ![diana](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/diana/32/2049_2.png) [@diana](https://forum.communityhealthtoolkit.org/u/diana)\
**Post date:** [September 10, 2025, 12:02pm UTC](https://forum.communityhealthtoolkit.org/t/supporting-multiple-phone-numbers-for-a-single-client-in-cht/5349/2 "2025-09-10T12:02:42Z")

</div>

Hi @cliff

This has always been possible within the CHT everywhere you have the option to select the `recipient`in an SMS workflow. You would just populate the``recipient` field with the secondary phone property you want to use.

For example, I used this config:

```auto
"transitions": {
      "accept_patient_reports": true,
      "update_clinics": true,
      "generate_patient_id_on_people": true,
      "death_reporting": true,
    },   
    "patient_reports": [
      {
        "form": "P",
        "messages": [
          {
            "event_type": "report_accepted",
            "recipient": "contact.phone_alternate",
            "message": [
              {
                "locale": "en",
                "content": "Done"
              }
            ]
          }
        ]
      }
    ],
    "forms": {
      "P": {
        "meta": {
          "code": "P",
          "icon": "pregnancy-1",
          "label": {
            "en": "New Pregnancy (SMS)",
            "hi": "नयी गर्भावस्था (SMS)",
            "id": "Kehamilan Baru (SMS)"
          }
        },
        "fields": {
          "patient_id": {
            "labels": {
              "description": {
                "en": "Patient ID"
              },
              "short": {
                "en": "ID"
              },
              "tiny": {
                "en": "ID"
              }
            },
            "position": 0,
            "type": "string",
            "flags": {
              "input_digits_only": true
            },
            "length": [
              5,
              13
            ],
            "required": true
          }
        }
      }
    },

```

I added a `phone_alternate` field on the contact that submits the report and sent a P form from the admin app.

So you can access any property in the SMS context as the recipient property. More details about what is present in the SMS context can be found [in the docs](https://docs.communityhealthtoolkit.org/building/reference/app-settings/#sms-recipient-resolution).

---

<div class="post-metadata">

**Author:** ![cliff](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/cliff/32/1638_2.png) [@cliff](https://forum.communityhealthtoolkit.org/u/cliff)\
**Post date:** [September 10, 2025, 7:23pm UTC](https://forum.communityhealthtoolkit.org/t/supporting-multiple-phone-numbers-for-a-single-client-in-cht/5349/3 "2025-09-10T19:23:32Z")

</div>

thanks @diana for the feedback..  
1.can this to be implemented with CHT- Text-it workflow?  
2. For **inbound SMS** through text-it, will the CHT automatically match a message from the `phone_alternate` number to the correct contact,?

- Would this show in CHT for one person? In other words, if they text from both numbers, could this show in the Messages tab as just one Client?

---

<div class="post-metadata">

**Author:** ![diana](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/diana/32/2049_2.png) [@diana](https://forum.communityhealthtoolkit.org/u/diana)\
**Post date:** [September 11, 2025, 9:33am UTC](https://forum.communityhealthtoolkit.org/t/supporting-multiple-phone-numbers-for-a-single-client-in-cht/5349/4 "2025-09-11T09:33:32Z")

</div>

> can this to be implemented with CHT- Text-it workflow?

This applies to every time the CHT generates a message. It doesn’t matter which gateway is used to send it. I encourage you to try it out.

> For **inbound SMS** through text-it, will the CHT automatically match a message from the `phone_alternate` number to the correct contact,?

No, this won’t be the case, unfortunately. Contacts are only matched by the `phone` field.

---

<div class="post-metadata">

**Author:** ![cliff](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/cliff/32/1638_2.png) [@cliff](https://forum.communityhealthtoolkit.org/u/cliff)\
**Post date:** [September 12, 2025, 1:51pm UTC](https://forum.communityhealthtoolkit.org/t/supporting-multiple-phone-numbers-for-a-single-client-in-cht/5349/5 "2025-09-12T13:51:20Z")

</div>

thanks @diana, looks sticky to implement this currently 🙂
