function get_servers( $domain )
{
global $config;
- $query = sprintf("SELECT registrar, r_port, proxy, p_port FROM %s WHERE domain = '%s'",
+ $query = sprintf("SELECT registrar, r_port, proxy, p_port, prov_url FROM %s WHERE domain = '%s'",
$config['provision_servers_table'],
sql_clean( $domain ));
$servers = sql_dbquery_single( $config['provision_db'], $query );
LOCK TABLES `servers` WRITE;
/*!40000 ALTER TABLE `servers` DISABLE KEYS */;
-INSERT INTO `servers` VALUES (1,'example.com','example.com',5062,'pbx.example.com',5060);
+INSERT INTO `servers` VALUES (1,'example.com','example.com',5062,'pbx.example.com',5060,NULL);
/*!40000 ALTER TABLE `servers` ENABLE KEYS */;
UNLOCK TABLES;
`r_port` int(11) default NULL,
`proxy` varchar(255) character set utf8 default NULL,
`p_port` int(11) default NULL,
- PRIMARY KEY (`id`)
+ `prov_url` text,
+ PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;
+
+
--
-- Table structure for table `users`
--