From d7754393bbeaf94dde2b0e540d5aedf2e07dba00 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Tue, 5 Aug 2003 23:59:56 +0000 Subject: [PATCH] Fix options, switch default git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1264 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_agent.c | 2 +- configs/agents.conf.sample | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/channels/chan_agent.c b/channels/chan_agent.c index ed644debc6..22b7f970df 100755 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -585,7 +585,7 @@ static int read_agent_config(void) group = 0; autologoff = 0; wrapuptime = 0; - ackcall = 0; + ackcall = 1; cfg = ast_load(config); if (!cfg) { ast_log(LOG_NOTICE, "No agent configuration found -- agent support disabled\n"); diff --git a/configs/agents.conf.sample b/configs/agents.conf.sample index 29766a34ff..015a202ea4 100755 --- a/configs/agents.conf.sample +++ b/configs/agents.conf.sample @@ -10,6 +10,11 @@ ; ;autologoff=15 ; +; Define ackcall to require an acknowledgement by '#' when +; an agent logs in over agentcallpark. Default is "yes". +; +;ackcall=yes +; ; Define wrapuptime. This is the minimum amount of time when ; after disconnecting before the caller can receive a new call ; note this is in milliseconds.