This document is for an older version of Kazoo (version 4.3) that is no longer supported. You should upgrade and read the Kazoo documentation for the current stable release.

Example Ireland Dialplan

Dialplan object for devices/users/accounts calling in from Ireland

{
  "dial_plan":{
      "^01(\\d{7})$":{
         "description":"IE_Dublin",
         "prefix":"+3531"
      },
      "^083(\\d{7})$":{
         "description":"IE_Mobile_H3G",
         "prefix":"+35383"
      },
      "^085(\\d{7})$":{
         "description":"IE_Mobile_Meteor",
         "prefix":"+35385"
      },
      "^086(\\d{7})$":{
         "description":"IE_Mobile_O2",
         "prefix":"+35386"
      },
      "^087(\\d{7})$":{
         "description":"IE_Mobile_Vodafone",
         "prefix":"+35387"
      },
      "^089(\\d{7})$":{
         "description":"IE_Mobile_Lyca",
         "prefix":"+35389"
      },
      "^041(\\d{7})$":{
         "description":"IE_Drogheda",
         "prefix":"+35341"
      },
      "^046(\\d{6})$":{
         "description":"IE_Navan",
         "prefix":"+35346"
      },
      "^045(\\d{6})$":{
         "description":"IE_Kildare",
         "prefix":"+35345"
      },
      "^0404(\\d{5})$":{
         "description":"IE_Wicklow",
         "prefix":"+353404"
      },
      "^0402(\\d{5})$":{
         "description":"IE_Arklow",
         "prefix":"+353402"
      },
      "^053(\\d{7})$":{
         "description":"IE_Wexford",
         "prefix":"+35353"
      },
      "^059(\\d{7})$":{
         "description":"IE_Carlow",
         "prefix":"+35359"
      },
      "^051(\\d{7})$":{
         "description":"IE_Waterford",
         "prefix":"+35351"
      },
      "^056(\\d{7})$":{
         "description":"IE_Kilkenny",
         "prefix":"+35356"
      },
      "^057(\\d{7})$":{
         "description":"IE_Portlaoise",
         "prefix":"+35357"
      },
      "^044(\\d{7})$":{
         "description":"IE_Mullingar",
         "prefix":"+35344"
      },
      "^042(\\d{7})$":{
         "description":"IE_Dundalk",
         "prefix":"+35342"
      },
      "^047(\\d{7})$":{
         "description":"IE_Monaghan",
         "prefix":"+35347"
      },
      "^049(\\d{7})$":{
         "description":"IE_Cavan",
         "prefix":"+35349"
      },
      "^043(\\d{7})$":{
         "description":"IE_Longford",
         "prefix":"+35343"
      },
      "^074(\\d{7})$":{
         "description":"IE_Donegal",
         "prefix":"+35374"
      },
      "^071(\\d{7})$":{
         "description":"IE_Sligo",
         "prefix":"35371"
      },
      "^090(\\d{7})$":{
         "description":"IE_Athlone",
         "prefix":"+35390"
      },
      "^091(\\d{7})$":{
         "description":"IE_Galway",
         "prefix":"+35391"
      },
      "^093(\\d{7})$":{
         "description":"IE_Tuam",
         "prefix":"+35393"
      },
      "^094(\\d{7})$":{
         "description":"IE_Castlebar",
         "prefix":"+35394"
      },
      "^096(\\d{7})$":{
         "description":"IE_Ballina",
         "prefix":"+35396"
      },
      "^097(\\d{7})$":{
         "description":"IE_Belmullet",
         "prefix":"+35397"
      },
      "^098(\\d{7})$":{
         "description":"IE_Westport",
         "prefix":"+35398"
      },
      "^099(\\d{5})$":{
         "description":"IE_Aran_Islands",
         "prefix":"+35399"
      },
      "^095(\\d{7})$":{
         "description":"IE_Clifden",
         "prefix":"+35395"
      },
      "^065(\\d{7})$":{
         "description":"IE_Clare",
         "prefix":"+35365"
      },
      "^061(\\d{6})$":{
         "description":"IE_Limerick",
         "prefix":"+35361"
      },
      "^067(\\d{7})$":{
         "description":"IE_Nenagh",
         "prefix":"+35367"
      },
      "^062(\\d{7})$":{
         "description":"IE_Tipperary",
         "prefix":"+35362"
      },
      "^063(\\d{7})$":{
         "description":"IE_Rathluirc",
         "prefix":"+35363"
      },
      "^069(\\d{7})$":{
         "description":"IE_Newcastlewest",
         "prefix":"+35369"
      },
      "^068(\\d{7})$":{
         "description":"IE_Listowel",
         "prefix":"+35368"
      },
      "^066(\\d{7})$":{
         "description":"IE_Tralee",
         "prefix":"+35366"
      },
      "^064(\\d{7})$":{
         "description":"IE_Killarney",
         "prefix":"+35364"
      },
      "^027(\\d{7})$":{
         "description":"IE_Bantry",
         "prefix":"+35327"
      },
      "^028(\\d{7})$":{
         "description":"IE_Skibbereen",
         "prefix":"+35328"
      },
      "^029(\\d{7})$":{
         "description":"IE_Kanturk",
         "prefix":"+35329"
      },
      "^026(\\d{7})$":{
         "description":"IE_Macroom",
         "prefix":"+35326"
      },
      "^023(\\d{7})$":{
         "description":"IE_Bandon",
         "prefix":"+35323"
      },
      "^021(\\d{7})$":{
         "description":"IE_Cork",
         "prefix":"+35321"
      },
      "^022(\\d{5})$":{
         "description":"IE_Mallow",
         "prefix":"+35322"
      },
      "^025(\\d{7})$":{
         "description":"IE_Fermoy",
         "prefix":"+35325"
      },
      "^024(\\d{7})$":{
         "description":"IE_Youghal",
         "prefix":"+35324"
      },
      "^058(\\d{7})$":{
         "description":"IE_Dungarvan",
         "prefix":"+35358"
      },
      "^052(\\d{7})$":{
         "description":"IE_Clonmel",
         "prefix":"+35352"
      },
      "^0504(\\d{5})$":{
         "description":"IE_Thurles",
         "prefix":"+353504"
      },
      "^0505(\\d{5})$":{
         "description":"IE_Roscrea",
         "prefix":"+353505"
      },
      "^028(\\d{7})$":{
         "description":"IE_Northern_Ireland_Fixed",
         "prefix":"+35348"
      },
      "^076(\\d{7})$":{
         "description":"IE_Voip",
         "prefix":"+35376"
      }
   }
}