From a0e4f2b00256978e6526587d3ed2faef0452f732 Mon Sep 17 00:00:00 2001 From: sluther Date: Thu, 17 Sep 2009 22:37:04 -0700 Subject: [PATCH] Fixed a bug that prevented Australian numbers from provisioning --- modules/voip/voip.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/voip/voip.inc.php b/modules/voip/voip.inc.php index 1fede752..6714a533 100644 --- a/modules/voip/voip.inc.php +++ b/modules/voip/voip.inc.php @@ -1234,6 +1234,9 @@ class voip if ($cc == '1') { $station = substr($e164, 8); $where = "country_code=1 and npa=::$npa:: and nxx=::$nxx:: and station=::$station::"; + } elseif ($cc == '61') { + $station = substr($e164, 12); + $where = "country_code=61 and npa=::$npa:: and nxx=::$nxx:: and station=::$station::"; } else { $station = substr($e164, 4 + strlen($cc)); $where = "country_code=::$cc:: and station=::$station::";