Fix options, switch default
authorMark Spencer <markster@digium.com>
Tue, 5 Aug 2003 23:59:56 +0000 (23:59 +0000)
committerMark Spencer <markster@digium.com>
Tue, 5 Aug 2003 23:59:56 +0000 (23:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1264 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_agent.c
configs/agents.conf.sample

index ed644de..22b7f97 100755 (executable)
@@ -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");
index 29766a3..015a202 100755 (executable)
 ;
 ;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.