[asterisk-bugs] [Asterisk-GUI 0016442]: [trunkdial-failover macro] CallerID Length required is too short for French Polynesia

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 14 18:02:18 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16442 
====================================================================== 
Reported By:                invitu
Assigned To:                
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   16442
Category:                   General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
Asterisk GUI Version:       SVN 
Asterisk Version:           1.6.0.19 
JIRA:                        
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 4994 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-12-14 18:02 CST
Last Modified:              2009-12-14 18:02 CST
====================================================================== 
Summary:                    [trunkdial-failover macro] CallerID Length required
is too short for French Polynesia
Description: 
The trunkdial-failover macro does not fit with Tahitian CallerIDs as they
are 6 digits long...
--> The CallerID presentation does not work 
 
Could you decrease the length to 5 ?
 
                                check_For_Contexts[ 'macro-' +
ASTGUI.contexts.dialtrunks ] = [
                                        // "; Macro by =  Brandon Kruse
<bkruse at digium.com> & Matthew O'Gorman mogorman at digium.com",
                                       
'exten=s,1,GotoIf($[${LEN(${FMCIDNUM})} > 5]?1-fmsetcid,1)',
                                       
'exten=s,2,GotoIf($[${LEN(${GLOBAL_OUTBOUNDCIDNAME})} >
1]?1-setgbobname,1)',
                                       
'exten=s,3,Set(CALLERID(num)=${IF($[${LEN(${CID_${CALLERID(num)}})} >
2]?${CID_${CALLERID(num)}}:)})',
                                       
'exten=s,n,GotoIf($[${LEN(${CALLERID(num)})} > 5]?1-dial,1)',

Best Regards
 
Cyril

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-14 18:02 invitu         Asterisk GUI Version      => SVN             
2009-12-14 18:02 invitu         Asterisk Version          => 1.6.0.19        
2009-12-14 18:02 invitu         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
2009-12-14 18:02 invitu         SVN Revision (number only!) => 4994            
======================================================================




More information about the asterisk-bugs mailing list