[asterisk-bugs] [Asterisk-GUI 0013762]: Outbound CID not settable

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 18 09:47:52 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13762 
====================================================================== 
Reported By:                thias
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   13762
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 3999 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-22 07:30 CDT
Last Modified:              2008-11-18 09:47 CST
====================================================================== 
Summary:                    Outbound CID not settable
Description: 
When I try to set a user-specific outbound cid (e.g. "32"), I receive an
error message "OutBound CallerId should be atleast 2 digits".
The problem lies in users.html, line 400:
		
var tmp = ASTGUI.getFieldValue('edit_OutBoundCallerid') ;
if( tmp && tmp.length < 3 ){
    ASTGUI.highlightField('edit_OutBoundCallerid', 'OutBound CallerId
should be  atleast 2 digits');
    return;
}

Line 401 should be
if( tmp && tmp.length < 2 ){
====================================================================== 

---------------------------------------------------------------------- 
 (0094979) svnbot (reporter) - 2008-11-18 09:47
 http://bugs.digium.com/view.php?id=13762#c94979 
---------------------------------------------------------------------- 
Repository: asterisk-gui
Revision: 4128

U   branches/2.0/config/users.html

------------------------------------------------------------------------
r4128 | bkruse | 2008-11-18 09:47:52 -0600 (Tue, 18 Nov 2008) | 4 lines

Minor syntax error. The error message is different than the comparing if
statement.
Thanks for reporting this thias
(closes issue http://bugs.digium.com/view.php?id=13762)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk-gui?view=rev&revision=4128 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-18 09:47 svnbot         Checkin                                      
2008-11-18 09:47 svnbot         Note Added: 0094979                          
======================================================================




More information about the asterisk-bugs mailing list