//include da biblioteca padrão do sistema $acao = $_GET["acao"]; if ($acao == 'salva') { $blindxfer = trim($_POST["blindxfer"]); $disconnect = trim($_POST["disconnect"]); $automon = trim($_POST["automon"]); $atxfer = trim($_POST["atxfer"]); $parkcall = trim($_POST["parkcall"]); //REALIZA BACKUP BO BANCO //($dbcon,'pbx_features_featuremap','U','','update','FEATURES_FEATUREMAP'); $query = "UPDATE pbx_features_featuremap SET blindxfer = '$blindxfer',disconnect='$disconnect',automon='$automon',atxfer='$atxfer',parkcall='$parkcall'"; pg_query($dbcon, $query); //gera arquivos e executa o reload dos dados no asterisk gera_arquivos($dbcon, 'FEATURE_FEATUREMAP'); ?> } $query = "SELECT * FROM pbx_features_featuremap"; $result = pg_query($dbcon, $query); while ($dados = pg_fetch_array($result)) { ?>
CONFIGURAÇÃO DE MAPA
blindxfer :
disconnect :
automon:
atxfer:
parkcall :
} ?>