[asterisk-commits] trunk - r8049 /trunk/channels/chan_agent.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Jan 13 00:43:27 CST 2006
Author: mogorman
Date: Fri Jan 13 00:43:27 2006
New Revision: 8049
URL: http://svn.digium.com/view/asterisk?rev=8049&view=rev
Log:
added some minor changes from bug 6046 thanks ppyy
Modified:
trunk/channels/chan_agent.c
Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?rev=8049&r1=8048&r2=8049&view=diff
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Fri Jan 13 00:43:27 2006
@@ -1047,6 +1047,8 @@
persistent_agents = ast_true(general_val);
if (ast_false(ast_variable_retrieve(cfg, "general", "multiplelogin") ) )
multiplelogin=0;
+ if (ast_true(ast_variable_retrieve(cfg, "general", "multiplelogin") ) )
+ multiplelogin=1;
/* Read in the [agents] section */
v = ast_variable_browse(cfg, "agents");
@@ -1266,8 +1268,6 @@
return 1;
if(!chan)
return 0;
- if(!context)
- context="default";
snprintf(loginchan, sizeof(loginchan), "%s@%s", chan, !ast_strlen_zero(context) ? context : "default");
More information about the asterisk-commits
mailing list