[asterisk-bugs] [Asterisk-GUI 0013924]: new user extension above 6049 block voicemail extension

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 20 04:24:42 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13924 
====================================================================== 
Reported By:                linvinus
Assigned To:                pari
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   13924
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.21.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-18 13:03 CST
Last Modified:              2008-11-20 04:24 CST
====================================================================== 
Summary:                    new user extension above 6049 block voicemail
extension
Description: 
i have more then 50 users in asterisk
 
in default numbering plan, extension 6050 used for access to voice mail
box

but  in "create new user" dialog, voicemail extension are ignored, and
number 6050 used for next  new user after 6049
====================================================================== 

---------------------------------------------------------------------- 
 (0095163) linvinus (reporter) - 2008-11-20 04:24
 http://bugs.digium.com/view.php?id=13924#c95163 
---------------------------------------------------------------------- 
sorry java script code it's my fault, incorrect update from svn

but problem with 6050 present and code in index.js can't  resolve it! 
because ifExtensionAlreadyExists not used when creating "create new user"
dialog.
this code used for dialog

               }else{
                        _$('new_ext').disabled = false;
                        ASTGUI.updateFieldToValue( 'codec_one', 'ulaw' );
                        ASTGUI.updateFieldToValue( 'codec_two', 'gsm' );
                        ASTGUI.updateFieldToValue( 'edit_hasSip', 'yes'
);
                        ASTGUI.updateFieldToValue( 'edit_hasIax', 'yes'
);
                        ASTGUI.updateFieldToValue( 'edit_flash', '750' );
                        ASTGUI.updateFieldToValue( 'edit_rxflash', '1250'
);
                        var ul = parent.astgui_manageusers.listOfUsers();
                        var tmp_newEXT = ul.firstAvailable(
parent.sessionData.GUI_PREFERENCES.getProperty('ue_start') );
                        ASTGUI.updateFieldToValue( 'new_ext', tmp_newEXT
);
                        $('#edit_callerid_span').html(tmp_newEXT);
                }

and we can't add voicemail extension in to function listOfUsers, because
the same function used to list users in table. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-20 04:24 linvinus       Note Added: 0095163                          
======================================================================




More information about the asterisk-bugs mailing list