Morocco: SIP providers and connecting a number to your PBX
We do not issue phone numbers: the venue buys a Moroccan number from a carrier or its partner and connects it to its own PBX as a trunk. Everything that is the same in every country — trunk modes, form fields, network requirements and connectivity checks — is covered in the overview “Connecting a provider's number to your PBX”. This page covers only the Moroccan part: where to get a number, what to enter in the admin panel and what people trip over in this country.
The data was collected on 9 September 2026 from the websites of carriers and resellers, materials of the regulator ANRT and the numbering plan published in the ITU bulletin; links are in the “Sources” section.
In brief#
- You can buy a trunk for your own PBX in Morocco, but the licence is required from the seller, not from the venue. Under ANRT decision ANRT/DG/N°04-04 of 06/04/2004, the commercial provision of IP telephony to the public and the carriage of third-party traffic are reserved for licensed operators, while the use of IP telephony in private, shared and internal corporate networks is expressly allowed. A venue that buys a number from a licensed operator and terminates it on its own PBX fits inside that framework.
- None of the three national carriers publishes SIP trunk parameters. The host, port, transport, authorisation mode and codecs arrive in the provisioning sheet. Of the big three, a trunk is described as a product only by Orange Maroc (“Business Talk” — moving the customer's existing telephony to IP); Maroc Telecom sells Marnis lines and Centrex, inwi sells a line and cloud packs.
- The only parameters published in the country do not suit us. SIPTRUNK.MA shows a delivery of “Transport TLS 5061 · SRTP · Codecs OPUS · G.711a”, Voipsense shows “Ports UDP 5060 / 5061 (TLS)”. Our PBX supports neither TLS nor SRTP on trunks and does not speak Opus. So the first question to any seller is “do you deliver the trunk over UDP/TCP 5060 with G.711 a-law/u-law?”, not “how many channels”.
- The number has nine digits, while a line matches seven. A Moroccan number carries nine digits after the leading zero, and only the last seven are matched — the first two are dropped. The landline
05 22 12 34 56and the mobile06 12 12 34 56produce the same tail2123456and collapse into one line. - A +212 number is hard to buy from abroad. DIDWW marks local SIP trunking for Morocco as “Not available” and Twilio has no Moroccan numbers. Local
+212numbers are offered by AstraQom and a few virtual-number resellers — with KYC and a lead time of days. - A GSM gateway with your own SIM cards is not a shortcut but a risk. In Morocco, mobile and digital gateways may be used for national traffic only and require prior clearance from ANRT.
Numbers in Morocco#
The country code is +212, the plan is closed and 10 digits long: a leading 0 plus nine digits of the national number. The leading 0 is mandatory for every number except short codes; the international prefix is 00. From abroad the number is dialled without the leading zero: +212 522 XX XX XX.
| Number type | National format | In E.164 | Who holds the ranges |
|---|---|---|---|
| Landline | 05 XX XX XX XX |
+212 5 XX XX XX XX |
Maroc Telecom (5222–5399), Orange (520, 521, 525, 530–532), inwi (5290, 5380) |
| Mobile | 06 XX XX XX XX, 07 XX XX XX XX |
+212 6 XX XX XX XX |
all three carriers |
| IP telephony (Centrex) | 08 08X XX XX XX |
+212 8 08X XX XX XX |
8080, 8083–8085 — Maroc Telecom, 8081 — inwi, 8082 — Orange |
| Toll-free for the caller | “Numéro vert” from Maroc Telecom | — | the prefix is not listed in the published numbering plan |
- Cities are recognised by the digits after
05: Casablanca —05 22, Rabat —05 37, Marrakesh —05 24, Tangier —05 39, Fez —05 35. - The
0 808Xrange is a sign of legal IP telephony. In the numbering plan it is a separate line, “Téléphonie IP”, and for Maroc Telecom it is annotated “(Centrex IP)”. A number of that shape means the service is sold by the holder of the range. - No Moroccan seller has published what an inbound call carries as the number. Be ready for three variants: E.164 without the plus (
212522XXXXXX), national with the leading zero (0522XXXXXX) or the bare nine digits (522XXXXXX). On the first connection look at the SIP trace to see what the provider actually sends, and only then create lines. - Only resellers name their codecs: CLICSIPx — “G.722 and G.711”, Voip Dyali — “G711, G729, GSM, ILBC, G723”, SIPTRUNK.MA — “OPUS · G.711a”. The carriers publish nothing — ask during provisioning; G.711 a-law/u-law and G.722 work for us.
- Emergency numbers (from open sources as of 09/09/2026): 19 — police in cities, 177 — Royal Gendarmerie on highways and in rural areas, 15 — fire and civil defence, 150 — ambulance, 112 — from a mobile phone. Our PBX does not carry emergency calls — an ordinary phone or a mobile must stay on the premises during a shift.
Who sells a number with a SIP trunk#
| Provider | Numbers | Trunk for your own PBX | Mode | How to order |
|---|---|---|---|---|
| Orange Maroc (Médi Telecom) | landlines 05 2x/3x, mobiles, 0 8082 |
yes — “Business Talk”, moving existing telephony to IP | told during provisioning | corporate portal entreprise.orange.ma, Relation Entreprise 0520178178 |
| SIPTRUNK.MA (WeConnect) | Moroccan fixed and mobile DIDs | yes — bundles with a DID and a “SIP address”, number in 48 hours | REGISTER (per their own description) | +212 520 974 141, siptrunk@weconnect.ma |
| Voipsense Maroc | local numbers in “50+ countries”, Moroccan ones to be confirmed | yes — “Trunk SIP” to the customer's IPBX | told during provisioning | Casablanca, 0658 10 24 12 |
| CLICSIPx (CLIKSip) | Moroccan numbers via IAM / inwi / Orange | yes — a trunk compatible with Asterisk, FreePBX, 3CX | told at activation | +33 1 62 26 00 00, WhatsApp +212 6 61 32 49 98 |
| Maroc Telecom (IAM) | landlines 05…, mobiles, 0 8080 and 8083–8085, toll-free |
no trunk on the shelf: Marnis lines and cloud Centrex | — | 3030 / 0800 00 3030, espacebusiness.iam.ma |
| inwi (Wana Corporate) | landlines 05 29x/38x, mobiles, 0 8081 |
no: a fixed line and cloud UC packs | — | the “Rappelez-moi” form in the Business section |
| Voip Dyali | DIDs and virtual numbers, inbound Moroccan coverage not described | yes — “Trunk SIP” billed by the second | the portal issues SIP accounts | the voipdyali.com website |
| Mobile ALL, AIO PROCESS, Yealead, voipmaroc.com | no numbers of their own | no — they install IPBXs and connect carrier lines | — | as hands on site |
| AstraQom | local +212 numbers in Casablanca, Rabat, Marrakesh, Tangier, Fez |
yes — trunks from $9 per channel per month | per their own rules | online, see “International providers” |
| DIDWW · Twilio · Telnyx · UWT · PBX.IM | local DIDs unconfirmed or forwarding only | — | — | see “International providers” |
Below are cards for the four sellers whose trunk to a third-party PBX is a product of its own, plus a review of the rest. Every one of them issues parameters under contract; the full list of questions for the sales manager is in “What to ask your provider”.
Orange Maroc — Business Talk#
The country's second carrier (formerly Médi Telecom, part of the Orange group) with a full ERPT licence. Its corporate catalogue at entreprise.orange.ma has two voice products, and telling them apart matters. Business Talk is described as a “solution innovante pour transformer vos systèmes téléphoniques traditionnels en une infrastructure IP moderne”: integration with the customer's existing systems, adding and changing lines without a reinstall, an SLA and “chiffrement avancé”. Office Pack is the same telephony but with an IPBX and handsets supplied by Orange (packages for 4–20 and 21–100 users, four-hour restoration guarantee): that is the operator's own PBX, so it does not fit our setup.
Orange Maroc publishes no technical parameters, neither on the product page nor in its B2B tariff catalogue.
What to enter in the admin panel (Telephony → “Trunks and connections” → “Add provider”):
| Field | Value |
|---|---|
| SIP host | the address of the Orange border node from the provisioning sheet — the trunk has no public address |
| Port | from the sheet; for SIP trunks it is usually 5060 |
| Transport | UDP or TCP, whichever the engineer names; the product is marketed with “advanced encryption”, and our PBX does not support TLS on trunks |
| Registration | per the sheet: ✅ “Register with the provider (REGISTER)” or ⬜ “IP auth (no registration)” — both modes work for us; for a “customer PBX ↔ operator node” design an IP allowlist is more common |
| Username | from the Orange handover (for trunks it is usually the pilot number) |
| Password | from the Orange handover; not used with IP authorisation |
What to arrange with the provider: order Business Talk specifically, without Office Pack → ask for the trunk to be delivered over the public internet, not only over the Orange access circuit → give the engineer the static IP of your PBX from the “Server” tab → confirm the codecs and the number format on inbound calls → have the numbers routed to the trunk.
Pitfalls ⚠️
- “Advanced encryption” is a reason to ask about TLS. If it turns out the trunk is delivered over TLS with SRTP only, there will be no connection: our trunks run over UDP or TCP.
- The Moroccan arm publishes no guides of its own. “Business Talk” is a global Orange Business brand, and in France it comes with detailed documentation — but French parameters cannot be carried over to Morocco.
- The product page lives at
/Fixe-et-Internet/Telephonie-fixe/Business-Talk, not where the neighbouring sections sit, so older links return 404.
Source: Orange Maroc — Business Talk — 09/09/2026.
SIPTRUNK.MA — a DID and a SIP address#
A Moroccan reseller and integrator from Casablanca (the legal entity is WeConnect): trunks, DIDs, CloudUCM, CRM, serving Casablanca, Rabat, Marrakesh, Tangier, Agadir, Fez, Meknes and Oujda. This is the fastest route to a Moroccan number: “a DID plus a SIP address” is sold as a separate product, the number goes live within 48 hours and the SIP address is issued the same day. Bundles: WAVE — 1 channel, 3,000 DH excl. tax per year; IP PHONE — 2 channels with a Grandstream handset, 4,500 DH excl. tax per year; CLOUD UCM — a dedicated CloudUCM with a DID and 2 channels, 7,500 DH excl. tax per year; TEAM — on request.
⚠️ The published delivery does not suit our PBX exactly as it is advertised: “URI sip:agent-01@notreserveur.ma · Transport TLS 5061 · SRTP · Codecs OPUS · G.711a”. We have no TLS trunks at all and do not support Opus. G.711 a-law, however, they do have — so the whole question comes down to transport, and it has to be asked before you pay.
What to enter in the admin panel:
| Field | Value |
|---|---|
| SIP host | a domain of the form <their server>.ma, issued together with the account (the site shows notreserveur.ma as a placeholder) |
| Port | 5061 per their description (TLS); we need 5060 — request it explicitly |
| Transport | only TLS is published; our PBX accepts UDP or TCP |
| Registration | ✅ “Register with the provider (REGISTER)” — the account registers on their server |
| Username | from the customer portal or the handover |
| Password | from the customer portal or the handover |
What to arrange with the provider: insist on a trunk over UDP or TCP 5060 with G.711 a-law instead of TLS/SRTP/Opus → order a bundle with the number of channels you need → have the DID routed to your account → clarify what arrives in the number part of an inbound call.
Pitfalls ⚠️
- The product is designed around their own platform — CloudUCM and the Wave app. “Just a trunk to someone else's PBX” is sold, but it is negotiated individually rather than picked with a button on the site.
- Check who carries the traffic under the contract. The seller is WeConnect; the licensed operator that actually carries the traffic must be named in the contract.
Source: siptrunk.ma — 09/09/2026.
Voipsense Maroc — Trunk SIP#
A VoIP integrator from Casablanca, in business since 2016: trunks, a cloud SBC, IPBXs (Grandstream, Yeastar, Asterisk and FreePBX), call centres and hardware. The service is described as “Trunk SIP … Connectez votre IPBX au réseau téléphonique mondial”: a 99.9 % SLA, one channel per concurrent call, channels added on the fly, local numbers in “50+ countries”, plus a separate offer to “digitise” existing fixed, GSM and ISDN S0/T0 lines.
Of the technical parameters only protocols and ports are published: “Ports UDP 5060 / 5061 (TLS sécurisé)” and an alternative protocol, “IAX2 … Port unique UDP 4569”. Our PBX does not speak IAX2 — only SIP.
What to enter in the admin panel:
| Field | Value |
|---|---|
| SIP host | issued at provisioning |
| Port | 5060 — per their own protocol description |
| Transport | UDP (they also offer TLS 5061; we do not) |
| Registration | confirm with the engineer; REGISTER is likely for an integrator's trunk — both modes work for us |
| Username | from the Voipsense handover |
| Password | from the Voipsense handover |
What to arrange with the provider: say up front that the PBX is Asterisk in the cloud with a static IP, not a box on the premises (their default scenario is to come over and install an IPBX) → confirm that Moroccan DIDs are actually available → lock in G.711 a-law/u-law → decline IAX2 → hand over the static IP for the allowlist.
Pitfalls ⚠️
- Their business model is “sell hardware and configure it on site”. A trunk without equipment is less interesting to them, so agree the “hand over the trunk and leave” role in advance.
- Moroccan inbound numbers are not listed explicitly on the service page — “50+ countries” is said in general terms. Ask them to confirm the specific area code in writing before you pay.
Source: Voipsense Maroc — Trunk SIP — 09/09/2026.
CLICSIPx — a trunk carried by local operators#
A French-Moroccan company: a call-centre CRM plus telephony, IP handset fleet installation and support for offshore call centres in Morocco. The trunk is declared compatible with “Asterisk, FreePBX, 3CX, Cisco, Avaya and every IPBX on the market”, and national traffic is carried by certified local operators — IAM, inwi and Orange; Moroccan rates are quoted per volume, with separate unlimited plans for France and Europe.
This is the only seller in the country that names a codec set that suits us outright: “qualité audio haute définition avec codec G.722 et G.711”. The host, port and authorisation mode are not published.
What to enter in the admin panel:
| Field | Value |
|---|---|
| SIP host | issued together with the account |
| Port | from the handover; for SIP trunks it is usually 5060 |
| Transport | UDP or TCP — confirm at activation |
| Registration | confirm: REGISTER or an IP allowlist; with an allowlist the registration checkbox must be cleared |
| Username | from the CLICSIPx portal |
| Password | from the CLICSIPx portal |
What to arrange with the provider: ask for a trunk to an external PBX rather than a connection to their CRM platform → clarify whose number is issued (theirs or the carrier's) and in what format the DID arrives → confirm G.711 and G.722 → hand over the static IP of your PBX.
Pitfalls ⚠️
- The same service page carries the country's regulatory caveat: “L'utilisation des Gateway mobiles ou numériques est strictement réservée à un usage national avec validation préalable de l'ANRT”. If you are offered “traffic through a GSM gateway with your own SIM cards”, remember: that is lawful only inside Morocco and only with prior clearance from the regulator.
Source: CLICSIPx — VoIP Entreprise Maroc — 09/09/2026.
Maroc Telecom and inwi — no trunk on the shelf#
Maroc Telecom (Itissalat Al-Maghrib) is the incumbent and the largest holder of numbering: almost every landline range and four of the six “IP telephony” ranges in the ANRT plan. Yet there is no separate “SIP trunk” product in its corporate catalogue: the “Téléphonie → FIXE” section lists ForfaiFix, InfiniFix, Marnis, options, audio conferencing and special numbers. Marnis is a set of classic digital lines to a company's own switch, while IP telephony is sold as Centrex, that is, the operator's own cloud PBX; going by the descriptions, neither fits our PBX.
| Marnis | Concurrent channels | DID numbers | Price |
|---|---|---|---|
| Primaire | 30 | 150 | 2,400 DH excl. tax/month |
| Primaire | 15 | 70 | 1,875 DH excl. tax/month |
| Base | 2 | 5 | 250 DH excl. tax/month |
Special numbers in the same catalogue: “Numéro vert” — 80 DH excl. tax/month, a shared-cost number — 150 DH excl. tax/month, a third charging option — 320 DH excl. tax/month.
What to ask the corporate desk (3030, 0800 00 3030, the espacebusiness.iam.ma portal): will they deliver Marnis or Centrex as a SIP trunk to our public static IP over the internet, rather than only to their own equipment on the premises; and if so, over which transport, in which authorisation mode and with which codecs. The full list is in “What to ask your provider”. ⚠️ Marnis is sold as lines, so by default an engineer will come to install equipment at the venue: the “PBX in the cloud” model is not part of the sales script, so raise it from the very first conversation.
inwi (Wana Corporate) offers no trunk for a third-party PBX at all. Its corporate fixed offer is “Business Connect Fixe” (from 249 DH incl. tax/month: one line with number portability, unlimited national landline calls, 2 h 30 min to mobiles, 249 DH connection fee, a fixed-IP option for another 20 DH incl. tax/month, commitments of 0/12/24 months), while IP telephony comes as the cloud packs “Solution de communications unifiées”, where connecting an external switch is not described. If you want to check for yourself, ask inwi Business in their own words: “SIP trunk vers notre IPBX hébergé”, and whether it is sold outside the UC pack.
Sources: Maroc Telecom — Marnis, inwi — Business Connect Fixe — 09/09/2026.
Voip Dyali and integrators#
Voip Dyali, Mobile ALL, AIO PROCESS, Yealead, voipmaroc.com / sip.ma
- Voip Dyali is a Moroccan supplier of minutes and trunks for call centres: “SIP Trunk … Profitez d'un Trunk avec une consommation facturée à la seconde”, DIDs and virtual numbers, a portal with balance and call history, 5 free SIP accounts and up to 1,000 concurrent calls. The codecs are listed — “G711, G729, GSM, ILBC, G723”, so the G.711 we need is there; the host, port and mode are not published. ⚠️ Their customer profile is outbound traffic to France, and there is no information about inbound Moroccan numbers on the site: ask before paying. The 250 / 750 / 999 DH per month packages are CRM auto-dialler plans, not the price of a trunk.
- Mobile ALL (Casablanca,
(+212) 522 304 404), AIO PROCESS and Yealead (3CX partners) and the hardware shops voipmaroc.com and sip.ma are integrators. They have neither numbers nor a licence of their own: numbers come from Maroc Telecom, Orange or inwi, or from a gateway with the customer's SIM cards. They are useful as hands on site — installing a gateway and handsets, setting up the network — but not as a source of a trunk. - ⚠️ An integrator sells its own PBX by default (3CX or Grandstream UCM), and our dedicated PBX is a competitor to them. Agree the “connect the carrier trunk to our PBX and leave” role in advance, before signing.
International providers with Moroccan numbers#
Morocco is not a country where a number is bought online within the hour. What is confirmed by provider documents as of 09/09/2026:
- DIDWW — on its “SIP Trunk in Morocco” page the local tier is marked “Not available”; only international A-Z termination is offered. It has no Moroccan numbers.
- Twilio — does not sell Moroccan numbers: it has no country requirements page for Morocco at all.
- Telnyx — Morocco appears in the general coverage list, but the list does not show what exactly is covered: inbound numbers or outbound termination only. Ask them to confirm number availability in writing before paying.
- AstraQom — the only one to claim the full set for Morocco: local
+212numbers in Casablanca (5 22), Rabat (5 37), Marrakesh (5 24), Tangier (5 39) and Fez (5 35), toll-free numbers, SIP trunks from $9 per channel per month, number porting in 2–4 weeks, number activation in 1–3 business days, billing in USD and EUR. No technical parameters are published — request them at activation. - United World Telecom (from $98.95/month), TollFreeForwarding, PBX.IM and MyCountryMobile sell Moroccan virtual numbers with forwarding, including forwarding to SIP. KYC for Morocco requires proof of identity and address, and activation takes up to 5 business days.
- Zadarma has no Morocco number page — it does not sell
+212.
Trunk parameters at international providers are standard and described in the admin panel catalogue cards: most use REGISTER with a username and password from the portal, some use IP authorisation.
Number porting#
- Porting works in Morocco. According to ANRT, mobile
06xxnumbers (both post-paid and pre-paid), geographic fixed05xxnumbers and non-geographic08xx/09xxnumbers can all be ported. - A landline number can be ported only inside its own geographic area — that is, within the same code. If the venue moves to another city, the number cannot be kept.
- Deadlines and fees. The base framework is decision ANRT/DG/N°04/15 with later revisions; according to press reports the donor operator reviews the request in 2 business days, the recipient operator completes the port in 1 business day, and requests to port, cancel or return are free for the customer. An RIO identifier and an electronic mandate have been introduced.
- A number bought from a reseller is harder to port. Before connecting, ask whose name the number is registered in: if it belongs to the intermediary rather than to your venue, porting will have to go through them.
- Register the number to the company from the start. A number bought in the owner's personal name is lost when the venue changes hands.
- ⚠️ Changing the public address of the PBX breaks a trunk that uses IP authorisation. If the dedicated machine is rebuilt, tell the operator the new address in advance.
Rules and paperwork#
The ANRT regulator, the status of VoIP, licences, gateways, CallerID, call recording
- The regulator is ANRT (Agence Nationale de Réglementation des Télécommunications, Rabat), and the law is Loi n° 24-96 on post and telecommunications. Numbering enquiries:
numerotation@anrt.ma,+212 5 37 71 85 64. - The status of IP telephony is set by decision ANRT/DG/N°04-04 of 06/04/2004. The commercial provision of IP telephony to the public and the carriage of third-party traffic are reserved for licensed operators; call centres may use IP telephony for “online information” services, with the traffic carried by a licensed operator; and private, shared and internal corporate networks are expressly allowed to use IP telephony. Everything else is prohibited and punishable under Article 83 of Law 24-96.
- Three companies hold full ERPT licences: Itissalat Al-Maghrib (Maroc Telecom), Médi Telecom (Orange Maroc) and Wana Corporate (inwi). The other authorisation holders listed by ANRT cover satellite and professional radio services; they do not sell SIP trunks to businesses. When buying a trunk from a small intermediary, find out whose traffic you are actually buying.
- GSM and E1 gateways are separately controlled. They may be used for national traffic only and require prior clearance from ANRT. The “own SIM cards → gateway → international traffic” scheme is exactly what Article 83 prohibits.
- Contracts are signed with a local legal entity. No Moroccan carrier sells corporate voice online: a contract, an invoice in dirhams and installation at an address. We found no explicit ban on non-residents, but in practice a foreign company needs either a local entity or an international aggregator.
- The blocking episode. In January 2016 the carriers, with ANRT's agreement, blocked calls in messaging apps; the restriction was lifted on 3 November 2016. Corporate trunks from licensed operators were never affected, but it is still worth testing with a real call whether desk phones at the venue register to a cloud PBX over 5060/UDP on your specific internet provider — before you buy the handsets.
- CallerID spoofing. We found no dedicated ANRT act; assume that only numbers covered by your own contract may be used in the “Show as” field.
- Call recording. Loi n° 09-08 on personal data protection applies, supervised by the CNDP. Consent must be free, specific and informed, and some processing requires CNDP authorisation. A voice notice about recording at the start of the call is mandatory; the language follows the country of the location (Arabic or French).
If it does not work#
- The provider only delivers the trunk over TLS 5061 with SRTP. This is the most common local cause, and no setting fixes it: our trunks have UDP and TCP only. Demand the ordinary port
5060with G.711 a-law before you pay, exactly as worded in the cards above. - You were offered IAX2. Voipsense describes it as an alternative to SIP (UDP 4569), but our PBX speaks SIP only. IAX2 must be declined at the ordering stage.
- You were sold Centrex or a UC pack instead of a trunk. Marnis lines, Orange Office Pack and inwi's “Solution de communications unifiées” are the operator's switch, not a trunk out. The tell-tale sign in conversation: they offer you their handsets and their
08 08Xnumber. - The trunk is delivered only to equipment on the premises. Moroccan engineers install an IPBX or a gateway at the venue by default. Spell it out: “the PBX is in the cloud, it has a static IP, deliver the trunk over the public internet”, and hand over the address from the “Server” tab.
- Two numbers have collapsed into one line. A line is matched on the last seven digits while the national number has nine, so the first two never take part. Choose numbers with different tails or separate them with routing.
- Registration is green but no calls arrive. Check that the DID is routed to your account at the provider and that the “Accepts calls” checkbox on the line is still ticked, then look at the SIP trace to see the format the number arrives in.
The general table of symptoms and causes is in the overview, section “If calls do not go through”.
Frequently asked questions#
Can a Moroccan number be connected to your own PBX at all?#
Yes. The ANRT licence is required from whoever sells the service, not from the venue that uses it: decision 04-04 expressly allows companies to use IP telephony in their internal and private networks. The venue buys the number and the trunk from a licensed operator or its partner and terminates them on its own PBX.
Why can't I just take the cheapest SIPTRUNK.MA bundle?#
Because the published delivery is TLS 5061, SRTP and Opus, while our trunks run over UDP or TCP and speak G.711 and G.722. This seller does have G.711 a-law, so it comes down to a single email: “will you provide UDP or TCP 5060 with G.711 a-law?”. If the answer is no, choose another seller.
Can I buy a +212 number online from abroad?#
Almost never. DIDWW provides no local trunking for Morocco, Twilio has no Moroccan numbers, and Telnyx's coverage list does not say what is actually covered. In practice, local +212 numbers are claimed only by AstraQom and a handful of virtual-number resellers — with identity and address checks and a lead time of several business days.
Can I install a GSM gateway with my own SIM cards?#
Technically yes, legally with a caveat: mobile and digital gateways may be used for national traffic only and require prior clearance from ANRT. International calls must not be routed through such a gateway.
Do I have to warn the guest that the call is recorded?#
Yes. Law 09-08 on personal data protection applies under CNDP supervision: consent to processing must be informed, so a voice notice at the start of the call is mandatory. The PBX picks the language of that notice from the country of the location — for Morocco that means Arabic or French.
How long does connection take?#
With a reseller — days (SIPTRUNK.MA promises a number within 48 hours). With one of the big three — weeks: a contract with a legal entity, agreement on the technical design, installation. With an international aggregator — 1 to 5 business days plus KYC paperwork.
Sources#
- ANRT — “Telephony: who can use VoIP to provide me with a VoIP service?” (decision ANRT/DG/N°04-04 of 06/04/2004, portability of
05xx/06xx/08xx/09xx) — https://www.anrt.ma/en/infos-pratiques/ce-que-vous-devez-savoir/telephonie (09/09/2026) - ANRT / ITU — the national numbering plan of Morocco, notification of 17/04/2019 (the “Téléphonie IP” ranges 8080–8085) — https://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000900004PDFF.pdf (09/09/2026)
- Orange Maroc — Business Talk — https://entreprise.orange.ma/Fixe-et-Internet/Telephonie-fixe/Business-Talk (09/09/2026)
- Orange Maroc — Office Pack — https://entreprise.orange.ma/Solutions-Business/Fixe/Telephonie-Fixe/Office-Pack (09/09/2026)
- Maroc Telecom — Marnis (capacities and prices) — https://www.iam.ma/entreprises/marnis (09/09/2026)
- Maroc Telecom — special numbers — https://www.iam.ma/entreprises/num%C3%A9ro-sp%C3%A9ciaux (09/09/2026)
- inwi — Business Connect Fixe — https://inwi.ma/fr/entreprise/business-connect-fixe (09/09/2026)
- inwi — Solution de communications unifiées — https://inwi.ma/entreprise/solution-de-communication-unifiee (09/09/2026)
- SIPTRUNK.MA (WeConnect) — delivery contents and bundles — https://siptrunk.ma/ (09/09/2026)
- Voipsense Maroc — Trunk SIP (protocols and ports) — https://voipsensemaroc.com/23-trunk-sip/ (09/09/2026)
- CLICSIPx — VoIP Entreprise Maroc (codecs, the gateway caveat) — https://app.cliksip.com/voip-maroc-entreprise/ (09/09/2026)
- Voip Dyali — services and codecs — https://voipdyali.com/ (09/09/2026)
- Mobile ALL — Téléphonie IP — https://mobileall.ma/service-informatique-au-maroc/telephonie-ip/ (09/09/2026)
- DIDWW — SIP Trunk in Morocco (“Local SIP Trunking — Not available”) — https://www.didww.com/voice/global-sip-trunking/Morocco (09/09/2026)
- AstraQom — SIP trunking and Moroccan
+212numbers — https://astraqom.com/en/morocco (09/09/2026) - United World Telecom — Morocco virtual phone numbers — https://www.unitedworldtelecom.com/services/virtual-phone-numbers/morocco-virtual-phone-numbers/ (09/09/2026)
- CNDP — Law 09-08 on personal data protection — https://www.cndp.ma/loi-09-08/ (09/09/2026)
Related pages#
- Connecting a provider's number to your PBX — the common steps, trunk modes, network and connectivity checks.
- Setting up SIP phones — how to connect desk phones, DECT and gateways to extensions.