Skip to content
SIPTrunkHub

Africa

SIP Trunk Morocco — +212 Termination & DID Numbers

Morocco is the leading nearshore destination for French-language customer service, with large centres in Casablanca and Rabat serving France and Belgium. Numbers are nine digits after the 0: fixed lines start with 5 and mobiles with 6 or 7.

Overview

Routing calls to Morocco

Traffic to Morocco leaves our SBCs on more than one upstream carrier per prefix. If a leg toward Casablanca or Rabat starts returning 503s or long post-dial delay, the next attempt goes to another carrier automatically. Calls to Marrakesh, Fez and Tangier follow the same failover logic.

Inside the country, numbers are dialled with a 0 trunk prefix. Strip it before you send the call, and send 212 followed by the national number. On the rate sheet, Morocco is split into geographic, mobile and toll-free prefixes, following the plan set by ANRT, so your LCR can tell a cheap fixed-line call from a pricier mobile one.

Some Morocco number ranges can be activated with basic company details, while others need proof of address. Tell us the city and number type, and we will confirm what is needed before you order.

What you get

What you get in Morocco

One account and one balance, with the same SBCs for termination and inbound numbers.

  • CLI route tier

    Caller ID delivered end to end on +212 calls. Use it for sales, support and any traffic where answer rates matter.
  • Non-CLI route tier

    A lower-cost tier where caller ID delivery is not guaranteed. Suitable for internal or transactional traffic that does not depend on the CLI.
  • Number types

    Geographic, Mobile, Toll-free. DID availability varies by range and city.
  • Codecs

    G.711a/u and G.729 on every route, G.722 and Opus where the far end supports them. T.38 for fax.
  • Channels on demand

    Concurrent call limits are set per account and raised as your traffic grows. No fixed channel bundles.
  • Multi-carrier failover

    Every +212 prefix is mapped to more than one carrier. Failed attempts move to the next one automatically.

Number formats

How to dial Morocco from your PBX

Send E.164 digits. The sample number below shows the format only.

Morocco number formats
FormatExampleNotes
International (E.164)+212 522 12 34 56How the number is written and stored.
Sent from your PBX212522123456E.164 digits with no plus, prefixed by your tech prefix if your account uses one.
With 00 exit code00 212 522 12 34 56Accepted on the trunk. We normalise it to E.164.
National format0522 12 34 56Dialled inside Morocco. Strip the trunk prefix before sending.

Compliance

Morocco rules to know

What applies before your first call or your first DID goes live.

Compliance box

Regulator
ANRT
Caller ID
A valid CLI that you are entitled to use is required on CLI routes. Spoofed or unallocated numbers are blocked.
DID KYC
Sometimes required

Rules change — our team confirms current requirements before activation.

Use cases

Who uses Morocco routes

  • 01

    French-language contact centres in Casablanca serving France and Belgium

  • 02

    Outbound sales into Moroccan mobiles

  • 03

    Tourism operators in Marrakesh handling international bookings

Setup

Start calling Morocco in 3 steps

  1. 01

    Top up $200

    Open a prepaid account and add balance by USDT (TRC20), BTC or card.
  2. 02

    Add your trunk

    Whitelist your PBX IP or create digest credentials, then point your outbound route at our SBC.
  3. 03

    Dial +212

    Send 212 + national number in E.164 and check the CDR for your first test call.

Further reading: CLI vs Non-CLI Routes: What Actually Changes for Your Calls

FAQ

Morocco SIP trunk questions

How are Moroccan numbers structured?

Nine digits after the trunk 0. Fixed lines start with 5 and mobiles with 6 or 7.

Who regulates Moroccan telecoms?

The ANRT (Agence Nationale de Réglementation des Télécommunications).

Can I get Casablanca DIDs?

Yes, subject to stock and documents.

Why is Morocco popular for French-speaking support?

French is widely spoken, the time zone is close to France and there is an established BPO sector.

Get Morocco rates

Send us your expected volume and traffic type for +212. We reply with current CLI and non-CLI rates. Compliance notes for ANRT are included.