Index: /freepbx/branches/2.9/amp_conf/bin/retrieve_conf =================================================================== --- /freepbx/branches/2.9/amp_conf/bin/retrieve_conf (revision 11124) +++ /freepbx/branches/2.9/amp_conf/bin/retrieve_conf (revision 11343) @@ -492,4 +492,38 @@ $freepbx_conf->define_conf_setting('AST_FUNC_SHARED',$set); } +if (!$freepbx_conf->conf_setting_exists('AST_FUNC_CONNECTEDLINE')) { + // AST_FUNC_CONNECTEDLINE + // + $set['value'] = ''; + $set['defaultval'] =& $set['value']; + $set['options'] = ''; + $set['readonly'] = 1; + $set['hidden'] = 1; + $set['level'] = 10; + $set['module'] = ''; + $set['category'] = 'Internal Use'; + $set['emptyok'] = 1; + $set['name'] = 'Asterisk Function CONNECTEDLINE'; + $set['description'] = "Set to the function name if the function is present in this Asterisk install"; + $set['type'] = CONF_TYPE_TEXT; + $freepbx_conf->define_conf_setting('AST_FUNC_CONNECTEDLINE',$set); +} +if (!$freepbx_conf->conf_setting_exists('AST_FUNC_MASTER_CHANNEL')) { + // AST_FUNC_MASTER_CHANNEL + // + $set['value'] = ''; + $set['defaultval'] =& $set['value']; + $set['options'] = ''; + $set['readonly'] = 1; + $set['hidden'] = 1; + $set['level'] = 10; + $set['module'] = ''; + $set['category'] = 'Internal Use'; + $set['emptyok'] = 1; + $set['name'] = 'Asterisk Function MASTER_CHANNEL'; + $set['description'] = "Set to the function name if the function is present in this Asterisk install"; + $set['type'] = CONF_TYPE_TEXT; + $freepbx_conf->define_conf_setting('AST_FUNC_MASTER_CHANNEL',$set); +} if ($version != $freepbx_conf->get_conf_setting('ASTVERSION')) { $update_arr['ASTVERSION'] = $version; @@ -508,5 +542,5 @@ } } -$func_arr = array('EXTENSION_STATE', 'SHARED'); +$func_arr = array('EXTENSION_STATE', 'SHARED', 'CONNECTEDLINE', 'MASTER_CHANNEL'); foreach ($func_arr as $func) { $update_arr['AST_FUNC_'.$func] = $astman->func_exists($func) ? $func : '';