Fix the dialplan context for clearing memcache when adding an outbound route.

This commit is contained in:
Mark Crane
2014-08-02 01:43:25 +00:00
parent 8dc1ec43ee
commit 8623b34b80
2 changed files with 5 additions and 4 deletions
@@ -502,7 +502,7 @@ else {
//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:".$dialplan_context."@".$_SESSION['domain_name'];
$switch_cmd = "memcache delete dialplan:".$dialplan_context;
$switch_result = event_socket_request($fp, 'api '.$switch_cmd);
}