]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove dead code and documentation for nonexistent feature.
authorMark Michelson <mmichelson@digium.com>
Tue, 25 Sep 2012 22:54:13 +0000 (22:54 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 25 Sep 2012 22:54:13 +0000 (22:54 +0000)
multiplelogin was removed from chan_agent back in 1.6.0 when
AgentCallbackLogin() was removed.

(closes issue AST-948)
reported by Steve Pitts
........

Merged revisions 373768 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@373769 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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

index 49ed7f9818a8773b6cf71b425aa8d9e772a6a522..de8842d368ffe99433abde9199cffc8d07f779ae 100644 (file)
@@ -223,7 +223,6 @@ static int autologoff;
 static int wrapuptime;
 static int ackcall;
 static int endcall;
-static int multiplelogin = 1;
 static int autologoffunavail = 0;
 static char acceptdtmf = DEFAULT_ACCEPTDTMF;
 static char enddtmf = DEFAULT_ENDDTMF;
@@ -1195,9 +1194,6 @@ static int read_agent_config(int reload)
        urlprefix[0] = '\0';
        savecallsin[0] = '\0';
 
-       /* Read in [general] section for persistence */
-       multiplelogin = ast_true(ast_variable_retrieve(cfg, "general", "multiplelogin"));
-
        /* Read in the [agents] section */
        v = ast_variable_browse(cfg, "agents");
        while(v) {
index c92872198b5250900ffdcbff4161d5ed6733415c..29e6e07eadbb4e8ed5269ae3dbd8bf727b750666 100644 (file)
@@ -3,9 +3,6 @@
 ;
 
 [general]
-; Enable or disable a single extension from logging in as multiple agents.
-; The default value is "yes".
-;multiplelogin=yes
 
 [agents]
 ;