Dial Pattern for South African Numbers - Setting up 1st FreePBX in South Africa

HI, can someone help setup dial pattern for South African numbers? This is my first FreePBX and my client is in South Africa

Google is your friend:

South Africa uses a closed 10-digit, subscriber-dialed numbering plan, with the country code +27. Local calls require dialing the full 10-digit number (including the 0-prefix). When calling from abroad, replace the leading ‘0’ with +27 (e.g., +27 11 xxx xxxx for landlines or +27 82 xxx xxxx for mobiles).

Wikipedia +4

Key Dialing Rules

  • Country Code: +27

  • International Exit Code (from SA): 00

  • National Prefix (Domestic): 0

  • International Format: Replace the leading ‘0’ with +27 (e.g.,)

  • Landlines: 0 + 2-digit area code + 7-digit local number (e.g., 011 for Johannesburg).

  • Mobile Numbers: 0 + 2-digit provider code (06, 07, 08) + 7-digit subscriber number.

    Wikipedia +4

Example Scenarios (Johannesburg 011 example)

  • Calling locally within SA: 011 XXX XXXX

  • Calling from USA/Canada: 011 + 27 + 11 + XXX XXXX

  • Calling from Europe/UK: 00 + 27 + 11 + XXX XXXX

  • Using a mobile from abroad: +27 11 XXX XXXX

    Telnyx +2

Common Area & Special Codes

  • Johannesburg: 011

  • Cape Town: 021

  • Durban: 031

  • Pretoria: 012

  • VoIP/National: 087

  • Mobile Prefixes: 06X, 07X, 08X

Hi Kenn10, Thank you for this but how to I put them in FreePBX with pretend and prefix and content “XXXXXX“

Sorry, but I’m not here to teach you how to program FreePBX. If you are supporting it, you’d better read up on how to program it. There is plenty of documentation available.

If your provider accepts numbers in the same formats as the user will be dialing, and you don’t need to impose any restrictions, you can just put
X.
in the match pattern field of your Outbound Route and leave everything else blank.

That will send anything that isn’t an extension or feature code to the provider, unchanged.

Thank you for your response. I understand that everyone has different levels of experience with FreePBX, and I respect that. I also believe that forums exist to share knowledge and help others when possible — something most of us have benefited from at some point. Thank you for pointing me to the right documentation