Changeset 4976
- Timestamp:
- 08/25/07 21:06:53 (6 years ago)
- Files:
-
- modules/branches/2.3/queues/functions.inc.php (modified) (2 diffs)
- modules/branches/2.3/queues/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.3/queues/functions.inc.php
r4901 r4976 135 135 function queues_add($account,$name,$password,$prefix,$goto,$agentannounce,$members,$joinannounce,$maxwait) { 136 136 global $db; 137 137 138 138 //add to extensions table 139 if (!empty($agentannounce) && $agentannounce != 'None') 140 $agentannounce="$agentannounce"; 141 else 139 if (empty($agentannounce) || $agentannounce == 'None') { 142 140 $agentannounce=""; 141 } 143 142 144 143 $addarray = array('ext-queues',$account,'1','Answer',''.'','','0'); … … 305 304 $sql = "SELECT args,descr FROM extensions WHERE extension = '$account' AND context = 'ext-queues' AND application = 'Queue'"; 306 305 list($args, $descr) = $db->getRow($sql); 307 $maxwait = explode(' |',$args); //in table like queuenum|t|||maxwait306 $maxwait = explode(',',$args); //in table like queuenum,t,,,maxwait 308 307 $results['agentannounce'] = $maxwait[3]; 309 308 $results['maxwait'] = $maxwait[4]; modules/branches/2.3/queues/module.xml
r4908 r4976 2 2 <rawname>queues</rawname> 3 3 <name>Queues</name> 4 <version>2.2.13. 1</version>4 <version>2.2.13.2</version> 5 5 <type>setup</type> 6 6 <category>Inbound Call Control</category> … … 9 9 </description> 10 10 <changelog> 11 *2.2.13.2* #2313 fix error introduced by #2172, Agent Announce not being saved 11 12 *2.2.13.1* #2172 deprecated use of |, #2193 hard coded moh path 12 13 *2.2.13* #2277 fix periodic announce message and hold time
