dect
/
asterisk
Archived
13
0
Fork 0

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: http://svn.digium.com/svn/asterisk/trunk@10138 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
kpfleming 2006-02-15 01:22:54 +00:00
parent 5bd6728e53
commit a10a6b1402
1 changed files with 2 additions and 0 deletions

View File

@ -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);