Changeset 3999
- Timestamp:
- 06/07/07 22:49:09 (6 years ago)
- Files:
-
- modules/branches/2.3 (modified) (1 prop)
- modules/branches/2.3/queues/functions.inc.php (modified) (3 diffs)
- modules/branches/2.3/queues/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.3
- Property svnmerge-integrated changed from /modules/branches/2.2:1-3588,3615-3635,3637-3638,3640,3674,3680,3686,3692,3702,3706,3710,3716,3758,3760,3762-3765,3767-3785,3787-3789,3801,3810,3828,3831,3839,3860,3866,3875,3877,3887,3899,3911,3913,3943,3982-3983,3990 to /modules/branches/2.2:1-3588,3615-3635,3637-3638,3640,3674,3680,3686,3692,3702,3706,3710,3716,3758,3760,3762-3765,3767-3785,3787-3789,3801,3810,3828,3831,3839,3860,3866,3875,3877,3887,3899,3911,3913,3943,3982-3983,3990,3998
modules/branches/2.3/queues/functions.inc.php
r3721 r3999 51 51 $ext->add('ext-queues', $exten, '', new ext_gotoif('$["${CONTEXT}"="from-internal"]','USERCID','SETCID')); 52 52 $ext->add('ext-queues', $exten, 'USERCID', new ext_macro('user-callerid')); 53 $ext->add('ext-queues', $exten, 'SETCID', new ext_setcidname($q['prefix'].'${CALLERID NAME}'));54 $ext->add('ext-queues', $exten, '', new ext_setvar('MONITOR_FILENAME','/var/spool/asterisk/monitor/q${EXTEN}-${ TIMESTAMP}-${UNIQUEID}'));53 $ext->add('ext-queues', $exten, 'SETCID', new ext_setcidname($q['prefix'].'${CALLERID(name)}')); 54 $ext->add('ext-queues', $exten, '', new ext_setvar('MONITOR_FILENAME','/var/spool/asterisk/monitor/q${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID}')); 55 55 $joinannounce = (isset($q['joinannounce'])?$q['joinannounce']:''); 56 56 if($joinannounce != "") { … … 125 125 $addarray = array('ext-queues',$account,'1','Answer',''.'','','0'); 126 126 legacy_extensions_add($addarray); 127 $addarray = array('ext-queues',$account,'2','SetCIDName',$prefix.'${CALLERID NAME}','','0');128 legacy_extensions_add($addarray); 129 $addarray = array('ext-queues',$account,'3','SetVar','MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${ TIMESTAMP}-${UNIQUEID}','','0');127 $addarray = array('ext-queues',$account,'2','SetCIDName',$prefix.'${CALLERID(name)}','','0'); 128 legacy_extensions_add($addarray); 129 $addarray = array('ext-queues',$account,'3','SetVar','MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID}','','0'); 130 130 legacy_extensions_add($addarray); 131 131 if ($joinannounce != 'None') { … … 276 276 $sql = "SELECT args FROM extensions WHERE extension = '$account' AND context = 'ext-queues' AND application = 'SetCIDName'"; 277 277 list($args) = $db->getRow($sql); 278 $prefix = explode('$',$args); //in table like prefix${CALLERID NAME}278 $prefix = explode('$',$args); //in table like prefix${CALLERID(name)} 279 279 $results['prefix'] = $prefix[0]; 280 280 modules/branches/2.3/queues/module.xml
r3842 r3999 2 2 <rawname>queues</rawname> 3 3 <name>Queues</name> 4 <version>2.2. 8.1</version>4 <version>2.2.9</version> 5 5 <type>setup</type> 6 6 <category>Inbound Call Control</category> … … 9 9 </description> 10 10 <changelog> 11 *2.2.9* Replaced deprecated CALLERIDNAME and TIMSTAMP variables with the current and future supported versions 11 12 *2.2.8.1* Updated tootip to warn about agents.conf (unsupported and know issues) and warn about penalties (broken in asterisk) 12 13 *2.2.8* Fixed typo in 2.2.7
