mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Minor persistence fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1363,6 +1363,8 @@ static int agent_logoff_cmd(int fd, int argc, char **argv)
|
|||||||
ast_queue_log("NONE", "NONE", agent, "AGENTCALLBACKLOGOFF", "%s|%ld|%s", p->loginchan, logintime, "CommandLogoff");
|
ast_queue_log("NONE", "NONE", agent, "AGENTCALLBACKLOGOFF", "%s|%ld|%s", p->loginchan, logintime, "CommandLogoff");
|
||||||
p->loginchan[0] = '\0';
|
p->loginchan[0] = '\0';
|
||||||
ast_cli(fd, "Logging out %s\n", agent);
|
ast_cli(fd, "Logging out %s\n", agent);
|
||||||
|
if (persistent_agents)
|
||||||
|
dump_agents();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user