Changeset 13475
- Timestamp:
- 02/18/12 22:47:59 (1 year ago)
- Files:
-
- modules/branches/2.9 (modified) (2 props)
- modules/branches/2.9/queues/functions.inc.php (modified) (2 diffs)
- modules/branches/2.9/queues/page.queues.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.9
- Property svn:mergeinfo changed from /modules/branches/2.10:12193,13090,13103-13104,13106,13450 to /modules/branches/2.10:12193,13090,13103-13104,13106,13450,13472-13473
- Property svnmerge-integrated changed from /modules/branches/2.10:1-12085,12193,13055,13061,13067,13069,13090,13097-13100,13103-13104,13106,13450 /modules/branches/2.8:1-12454 /modules/branches/bootstrap-2.9:1-10853 to /modules/branches/2.10:1-12085,12193,13055,13061,13067,13069,13090,13097-13100,13103-13104,13106,13450,13472-13473 /modules/branches/2.8:1-12454 /modules/branches/bootstrap-2.9:1-10853
modules/branches/2.9/queues/functions.inc.php
r11823 r13475 1092 1092 $ext->add($id, $c, 'deactivate', new ext_noop('Agent Logged out')); 1093 1093 $ext->add($id, $c, '', new ext_macro('toggle-del-agent')); 1094 $logout_label = 'logout'; 1094 1095 if ($amp_conf['USEDEVSTATE']) { 1095 $ext->add($id, $c, '', new ext_setvar('STATE', 'NOT_INUSE'));1096 $ext->add($id, $c, $logout_label, new ext_setvar('STATE', 'NOT_INUSE')); 1096 1097 $ext->add($id, $c, '', new ext_gosub('1', 'sstate')); 1097 } 1098 $ext->add($id, $c, '', new ext_playback('agent-loggedoff')); 1098 $logout_label = ''; 1099 } 1100 $ext->add($id, $c, $logout_label, new ext_playback('agent-loggedoff')); 1099 1101 $ext->add($id, $c, '', new ext_macro('hangupcall')); 1100 1102 1101 1103 $ext->add($id, $c, 'activate', new ext_noop('Agent Logged In')); 1102 1104 $ext->add($id, $c, '', new ext_macro('toggle-add-agent')); 1105 $ext->add($id, $c, '', new ext_gotoif('$["${QAGENT_UNAUTHORIZED}"="1"]', 'logout')); 1103 1106 if ($amp_conf['USEDEVSTATE']) { 1104 1107 $ext->add($id, $c, '', new ext_setvar('STATE', 'INUSE')); … … 1159 1162 $ext->add($id, $c, '', new ext_macroexit()); 1160 1163 $ext->add($id, $c, 'invalid', new ext_playback('pbx-invalid')); 1164 $ext->add($id, $c, '', new ext_set('QAGENT_UNAUTHORIZED','1')); 1161 1165 $ext->add($id, $c, '', new ext_macroexit()); 1162 1166 } modules/branches/2.9/queues/page.queues.php
r11957 r13475 271 271 272 272 <tr> 273 <td><a href="#" class="info"><?php echo _("Queue Password:")?><span><?php echo _("You can require agents to enter a password before they can log in to this queue.<br><br>This setting is optional.") ?></span></a></td>273 <td><a href="#" class="info"><?php echo _("Queue Password:")?><span><?php echo _("You can require agents to enter a password before they can log in to this queue.<br><br>This setting is optional.") . '<br /><br />' . _("The password is only used when logging in with the legacy queueno* code. When using the toggle codes, you must use the Restrict Dynamic Agents option in conjunction with the Dynamic Members list to control access.")?></span></a></td> 274 274 <td><input type="text" name="password" value="<?php echo (isset($password) ? $password : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 275 275 </tr>
