Fix memcache flush for the Fax dialplan

This commit is contained in:
Mark Crane 2014-09-03 19:43:52 +00:00
parent d40c939b4d
commit f571ab36a8
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//delete the dialplan context from memcache
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) {
$switch_cmd .= "memcache delete dialplan:".$_SESSION["context"]."@".$_SESSION['domain_name'];
$switch_cmd .= "memcache delete dialplan:".$_SESSION["context"];
$switch_result = event_socket_request($fp, 'api '.$switch_cmd);
}