Changeset 3357
- Timestamp:
- 12/18/06 23:21:33 (6 years ago)
- Files:
-
- modules/branches/2.3 (modified) (1 prop)
- modules/branches/2.3/voicemail/functions.inc.php (modified) (3 diffs)
- modules/branches/2.3/voicemail/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-3329 to /modules/branches/2.2:1-3329,3355-3356
modules/branches/2.3/voicemail/functions.inc.php
r3325 r3357 124 124 $ext = isset($_REQUEST['extdisplay'])?$_REQUEST['extdisplay']:null; 125 125 $extn = isset($_REQUEST['extension'])?$_REQUEST['extension']:null; 126 $display = isset($_REQUEST['display'])?$_REQUEST['display']:null; 126 127 127 128 if ($ext==='') { … … 195 196 $section = 'Voicemail & Directory'; 196 197 $currentcomponent->addguielem($section, new gui_selectbox('vm', $currentcomponent->getoptlist('vmena'), $vmselect, 'Status', '', false)); 197 $currentcomponent->addguielem($section, new gui_textbox('vmpwd', $vmpwd, 'voicemail password', "This is the password used to access the voicemail system.<br><br>This password can only contain numbers.<br><br>A user can change the password you enter here after logging into the voicemail system ($fc_vm) with a phone.", "frm_ users_isVoiceMailEnabled() && !isInteger()", $msgInvalidVmPwd, false));198 $currentcomponent->addguielem($section, new gui_textbox('email', $email, 'email address', "The email address that voicemails are sent to.", "frm_ users_isVoiceMailEnabled() && !isEmail()", $msgInvalidEmail, true));199 $currentcomponent->addguielem($section, new gui_textbox('pager', $pager, 'pager email address', "Pager/mobile email address that short voicemail notifcations are sent to.", "frm_ users_isVoiceMailEnabled() && !isEmail()", $msgInvalidEmail, true));198 $currentcomponent->addguielem($section, new gui_textbox('vmpwd', $vmpwd, 'voicemail password', "This is the password used to access the voicemail system.<br><br>This password can only contain numbers.<br><br>A user can change the password you enter here after logging into the voicemail system ($fc_vm) with a phone.", "frm_${display}_isVoiceMailEnabled() && !isInteger()", $msgInvalidVmPwd, false)); 199 $currentcomponent->addguielem($section, new gui_textbox('email', $email, 'email address', "The email address that voicemails are sent to.", "frm_${display}_isVoiceMailEnabled() && !isEmail()", $msgInvalidEmail, true)); 200 $currentcomponent->addguielem($section, new gui_textbox('pager', $pager, 'pager email address', "Pager/mobile email address that short voicemail notifcations are sent to.", "frm_${display}_isVoiceMailEnabled() && !isEmail()", $msgInvalidEmail, true)); 200 201 $currentcomponent->addguielem($section, new gui_radio('attach', $currentcomponent->getoptlist('vmyn'), $vmops_attach, 'email attachment', "Option to attach voicemails to email.")); 201 202 $currentcomponent->addguielem($section, new gui_radio('saycid', $currentcomponent->getoptlist('vmyn'), $vmops_saycid, 'Play CID', "Read back caller's telephone number prior to playing the incoming message, and just after announcing the date and time the message was left.")); … … 203 204 $currentcomponent->addguielem($section, new gui_radio('delete', $currentcomponent->getoptlist('vmyn'), $vmops_delete, 'Delete Vmail', "If set to \"yes\" the message will be deleted from the voicemailbox (after having been emailed). Provides functionality that allows a user to receive their voicemail via email alone, rather than having the voicemail able to be retrieved from the Webinterface or the Extension handset. CAUTION: MUST HAVE attach voicemail to email SET TO YES OTHERWISE YOUR MESSAGES WILL BE LOST FOREVER.")); 204 205 $currentcomponent->addguielem($section, new gui_textbox('options', $options, 'vm options', 'Separate options with pipe ( | )<br><br>ie: review=yes|maxmessage=60')); 205 $currentcomponent->addguielem($section, new gui_textbox('vmcontext', $vmcontext, 'vm context', '', 'frm_users_isVoiceMailEnabled() && isEmpty()', $msgInvalidVMContext, false));206 $currentcomponent->addguielem($section, new gui_textbox('vmcontext', $vmcontext, 'vm context', '', "frm_${display}_isVoiceMailEnabled() && isEmpty()", $msgInvalidVMContext, false)); 206 207 } 207 208 } modules/branches/2.3/voicemail/module.xml
r3326 r3357 2 2 <rawname>voicemail</rawname> 3 3 <name>Voicemail</name> 4 <version>1.5. 2</version>4 <version>1.5.3</version> 5 5 <changelog> 6 *1.5.3* Fix for vm Javascript sanity checks only working in DevAndUser mode. 6 7 *1.5.2* Fix vm not appearing in DeviceAndUser mode 7 8 *1.5.1* Fix for MWI not working … … 14 15 <type>setup</type> 15 16 <category>Basic</category> 16 <location>release/2.3/voicemail-1.5.2.tgz</location>17 <info>http://aussievoip.com.au/wiki/freePBX-Features</info>18 17 <md5sum>13e1aa56412ac54c728fa8cd43e6ec53</md5sum> 19 18 </module>
