Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phone number validation does not support Bangladesh country code (+88) #853

Open
jorikfon opened this issue Jan 9, 2025 · 0 comments
Open
Labels
bug Something isn't working phone-validation

Comments

@jorikfon
Copy link
Collaborator

jorikfon commented Jan 9, 2025

Bug Description

When trying to add a Bangladesh phone number with country code +88 (e.g., +8801767820010) to an extension user, the system does not accept the number.

Expected Behavior

  • The system should accept valid Bangladesh phone numbers starting with +88
  • Phone number +8801767820010 should be accepted as a valid number

Current Behavior

  • The system rejects Bangladesh phone numbers with country code +88
  • Unable to save extension user with Bangladesh phone numbers

Steps to Reproduce

  1. Go to Extension User configuration
  2. Try to add a phone number: +8801767820010
  3. System rejects the phone number

Technical Details

  • Country Code: +88 (Bangladesh)
  • Number Format: +88017XXXXXXXX
  • Example Number: +8801767820010

Additional Information

Bangladesh mobile numbers follow the format:

  • Country code: +88
  • Operator code: 017 (in this case)
  • Subscriber number: XXXXXXXX (8 digits)

Environment

  • MIKOPBX Core Version: [Please specify your version]

Suggested Fix

Update the phone number validation rules to include Bangladesh country code (+88) and number format pattern.

Impact

This issue affects users trying to configure extensions with Bangladesh phone numbers, limiting the PBX's usability in Bangladesh region.

@jorikfon jorikfon added bug Something isn't working phone-validation labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working phone-validation
Projects
None yet
Development

No branches or pull requests

1 participant