How can I change my phone number in sim800l module using keypad ??

Hello everyone
I recently bought a sim800l module, I've launched this module and now I can send SMS with this module but I need to change my phone number trough keypad ...
Can anyone guide me to do this?? Or does anyone have a simple example to do this??

I'm using Arduino Uno

I need to change my phone number trough keypad ...

Why? Your phone number is constant.

For Sending sms to different phone numbers

So, it isn't YOUR phone number you want to change.

Getting the phone number to send the SMS to, using a keypad, is relatively simple.

Each time that you detect that a key is pressed, store the key value in an array, if the value is part of the phone number. If the value is the "oops, that wasn't the right digit" value, take appropriate action. If the value is the "Damn, I need to start over" value, take the appropriate action. If the value is the "Yes, that's the right number; send future text messages to that number" value, take the appropriate action.

Do you have an example??

Do you have an example??

There are examples that come with the keypad library.

Storing a value in an array hardly requires an example, but, here goes:

   tempPhoneNumber[position++] = key;
   tempPhoneNumber[position] = '\0'; // Keep array NULL terminated

Doing whatever is appropriate requires that you define which key is trigger the behavior, and what the behavior should be.

Copying tempPhoneNumber to phoneNumber is pretty trivial:

for(byte b=0; b<strlen(tempPhoneNumber); b++)
{
   phoneNumber[b] = tempPhoneNumber[b];
   phoneNumber[b+1] = '\0';
}

Backing up one position is pretty trivial:

   position--;
   tempPhoneNumber[position] = '\0';

Starting over is pretty trivial:

   position = 0;
   tempPhoneNumber[position] = '\0';