mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
Merged revisions 10137 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r10137 | kpfleming | 2006-02-14 19:21:33 -0600 (Tue, 14 Feb 2006) | 2 lines ensure that agents logged in via the manager interface are stored in the persistence database (related to issue #6301) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2193,6 +2193,8 @@ static int action_agent_callback_login(struct mansession *s, struct message *m)
|
||||
ast_verbose(VERBOSE_PREFIX_2 "Callback Agent '%s' logged in on %s\n", p->agent, p->loginchan);
|
||||
ast_device_state_changed("Agent/%s", p->agent);
|
||||
ast_mutex_unlock(&p->lock);
|
||||
if (persistent_agents)
|
||||
dump_agents();
|
||||
}
|
||||
AST_LIST_UNLOCK(&agents);
|
||||
|
||||
|
Reference in New Issue
Block a user