https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7809 | kpfleming | 2006-01-04 18:58:29 -0600 (Wed, 04 Jan 2006) | 2 lines
send device state updates for auto-logoff of agents as well
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7810
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
snprintf(agent, sizeof(agent), "Agent/%s", p->agent);
ast_queue_log("NONE", ast->uniqueid, agent, "AGENTCALLBACKLOGOFF", "%s|%ld|%s", p->loginchan, logintime, "Autologoff");
set_agentbycallerid(p->logincallerid, NULL);
+ ast_device_state_changed("Agent/%s", p->agent);
p->loginchan[0] = '\0';
p->logincallerid[0] = '\0';
}