[asterisk-bugs] [Asterisk-GUI 0013528]: Asterisk-gui Error: You cannot strip more digits than in the pattern. ALWAYS occurs for fail-over trunk
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Sep 24 10:49:37 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13528
======================================================================
Reported By: dkerr
Assigned To: bkruse
======================================================================
Project: Asterisk-GUI
Issue ID: 13528
Category: Service Providers/Trunks
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
Asterisk Version: SVN
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-09-21 19:11 CDT
Last Modified: 2008-09-24 10:49 CDT
======================================================================
Summary: Asterisk-gui Error: You cannot strip more digits
than in the pattern. ALWAYS occurs for fail-over trunk
Description:
Create a new calling rule in asterisk-gui using a VoIP trunk. Enter a
fail-over trunk and attempt to strip digits from the front of the pattern
and you will always get an error "you cannot strip more digits than in the
pattern" message.
======================================================================
----------------------------------------------------------------------
(0092834) dkerr (reporter) - 2008-09-24 10:49
http://bugs.digium.com/view.php?id=13528#c92834
----------------------------------------------------------------------
I tested a solution myself by commenting out the second assignment...
// var tmp_checkThis = (
DOM_new_crl_fotr_stripx.value.beginsWith('_') ) ?
DOM_new_crl_fotr_stripx.value.length -1 :
DOM_new_crl_fotr_stripx.value.length ;
This solved the problem as it compares against the original assignment for
tmp_checkThis (the true length of the pattern) and I can now setup a
failover trunk that strips digits from the front.
Issue History
Date Modified Username Field Change
======================================================================
2008-09-24 10:49 dkerr Note Added: 0092834
======================================================================
More information about the asterisk-bugs
mailing list