Changeset 7969
- Timestamp:
- 08/07/09 18:20:26 (4 years ago)
- Files:
-
- modules/branches/2.6 (modified) (1 prop)
- modules/branches/2.6/parking/functions.inc.php (modified) (3 diffs)
- modules/branches/2.6/parking/module.xml (modified) (2 diffs)
- modules/branches/2.6/weakpasswords/functions.inc.php (modified) (2 diffs)
- modules/branches/2.6/weakpasswords/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.6
- Property svnmerge-integrated changed from /modules/branches/2.5:1-7809,7812,7854,7858-7865,7878,7886,7890,7915 to /modules/branches/2.5:1-7809,7812,7854,7858-7865,7878,7886,7890,7915,7967-7968
modules/branches/2.6/parking/functions.inc.php
r7250 r7969 50 50 // Now generate dialplan 51 51 $ext->add($contextname, "t", '', new ext_noop('Parked Call Timed Out and Got Orphaned')); 52 $ext->add($contextname, "_ .", '', new ext_noop('Parked Call Timed Out and Got Orphaned'));52 $ext->add($contextname, "_[0-9a-zA-Z*#].", '', new ext_noop('Parked Call Timed Out and Got Orphaned')); 53 53 54 54 // If we have an appropriate Asterisk patch, set paraemters for Asterisk … … 65 65 if ($parkalertinfo) { 66 66 $ext->add($contextname, "t", '', new ext_setvar('__ALERT_INFO',str_replace(';', '\;', $parkalertinfo))); 67 $ext->add($contextname, "_ .", '', new ext_setvar('__ALERT_INFO',str_replace(';', '\;', $parkalertinfo)));67 $ext->add($contextname, "_[0-9a-zA-Z*#].", '', new ext_setvar('__ALERT_INFO',str_replace(';', '\;', $parkalertinfo))); 68 68 } 69 69 if ($parkcid) { 70 70 $ext->add($contextname, "t", '', new ext_setvar('CALLERID(name)', $parkcid.'${CALLERID(name)}')); 71 $ext->add($contextname, "_ .", '', new ext_setvar('CALLERID(name)', $parkcid.'${CALLERID(name)}'));71 $ext->add($contextname, "_[0-9a-zA-Z*#].", '', new ext_setvar('CALLERID(name)', $parkcid.'${CALLERID(name)}')); 72 72 } 73 73 } … … 76 76 $parkingannmsg = recordings_get_file($parkingannmsg_id); 77 77 $ext->add($contextname, "t", '', new ext_playback($parkingannmsg)); 78 $ext->add($contextname, "_ .", '', new ext_playback($parkingannmsg));78 $ext->add($contextname, "_[0-9a-zA-Z*#].", '', new ext_playback($parkingannmsg)); 79 79 } 80 80 // goto the destination here 81 81 // 82 82 $ext->add($contextname, "t", '', new ext_goto($goto)); 83 $ext->add($contextname, "_ .", '', new ext_goto($goto));83 $ext->add($contextname, "_[0-9a-zA-Z*#].", '', new ext_goto($goto)); 84 84 85 85 // Asterisk 1.4 requires hints to be generated for parking modules/branches/2.6/parking/module.xml
r7942 r7969 2 2 <rawname>parking</rawname> 3 3 <name>Parking Lot</name> 4 <version>2.6.0. 0</version>4 <version>2.6.0.1</version> 5 5 <publisher>FreePBX</publisher> 6 6 <license>GPLv2+</license> … … 13 13 </menuitems> 14 14 <changelog> 15 *2.6.0.1* #3611, #3435, #3317, #3307 15 16 *2.6.0.0* localizations, misc 16 17 *2.5.1.3* localization fixes modules/branches/2.6/weakpasswords/functions.inc.php
r7609 r7969 29 29 $count = 0; 30 30 foreach($weak as $details) { 31 $extended_text .= sprintf(_("%s: %s / secret: %s => %s<br>"), $details['deviceortrunk'], $details['name'], $details['secret'], $details['message']);31 $extended_text .= sprintf(_("%s: %s / %s<br>"), $details['deviceortrunk'], $details['name'], $details['message']); 32 32 $count++; 33 33 } … … 65 65 $reversed = strrev($secret); 66 66 $match = "0123456789"; 67 if(strpos($match,$secret) || strpos($match,$reversed)) { 67 if($secret == '') 68 { 69 $weak[] = array("deviceortrunk" => $deviceortrunk, "name" => $name, "message" => _("Secret is empty"), "secret" => $secret); 70 } 71 else if(strpos($match,$secret) || strpos($match,$reversed)) { 68 72 $weak[] = array("deviceortrunk" => $deviceortrunk, "name" => $name, "message" => _("Secret has sequential digits"), "secret" => $secret); 69 73 } modules/branches/2.6/weakpasswords/module.xml
r7956 r7969 2 2 <rawname>weakpasswords</rawname> 3 3 <name>Weak Password Detection</name> 4 <version>2.6.0. 0</version>4 <version>2.6.0.1</version> 5 5 <publisher>Schmoozecom.com</publisher> 6 6 <license>GPLv2</license> … … 8 8 <category>System Administration</category> 9 9 <changelog> 10 *2.6.0.1* #3735 10 11 *2.6.0.0* misc 11 12 *2.5.0.3* #3663
