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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 23 02:11:54 CDT 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-10-23 02:11 CDT
====================================================================== 
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 ){
====================================================================== 

---------------------------------------------------------------------- 
 (0094185) thias (reporter) - 2008-10-23 02:11
 http://bugs.digium.com/view.php?id=13762#c94185 
---------------------------------------------------------------------- 
OK,but I think some chang should be done here, either the "if " or the
message (the error message does not match the if-clause).
Why are 2-digit CIDs such a problem for asterisk? (Its not the first place
I had problems with 2-digits). 2-digit extensions are very common for small
business in germany. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-23 02:11 thias          Note Added: 0094185                          
======================================================================




More information about the asterisk-bugs mailing list