[asterisk-bugs] [Asterisk-GUI 0012331]: Macro_trunkdial needs a small change

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Mar 29 23:02:26 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12331 
====================================================================== 
Reported By:                dmgeurts
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   12331
Category:                   Service Providers/Trunks
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-29-2008 16:46 CDT
Last Modified:              03-29-2008 23:02 CDT
====================================================================== 
Summary:                    Macro_trunkdial needs a small change
Description: 
[macro-trunkdial]
exten = s,1,set(CALLERID(all)=${IF($["${LEN(${CALLERID(num)})}" >
"6"]?${CALLERID(all)}:${ARG2})})
exten = s,n,Dial(${ARG1})
exten = s,n,Goto(s-${DIALSTATUS},1)
exten = s-NOANSWER,1,Hangup

first line should be (no "'s):

[macro-trunkdial]
exten = s,1,set(CALLERID(all)=${IF($[${LEN(${CALLERID(num)})} >
6]?${CALLERID(all)}:${ARG2})})
====================================================================== 

---------------------------------------------------------------------- 
 bkruse - 03-29-08 23:02  
---------------------------------------------------------------------- 
If there are not quotes, it does NOT work.

Try it. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-29-08 23:02  bkruse         Note Added: 0084760                          
======================================================================




More information about the asterisk-bugs mailing list