Changeset 1950

Show
Ignore:
Timestamp:
05/22/06 19:16:12 (3 years ago)
Author:
p_lindheimer
Message:

fixed bug #867

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/astetc/extensions.conf

    r1949 r1950  
    261261exten => s,n,Set(the_num=${CUT(OUT_${ARG1},$,2)}) ; this is where we expect to find string OUTNUM 
    262262exten => s,n,Set(post_num=${CUT(OUT_${ARG1},$,3)}) 
    263 exten => s,n,GotoIf($["${the_num}" = "OUTNUM"]?20:21) ; if we didn't find "OUTNUM", then skip to Dial 
    264 exten => s,n,Set(the_num=${OUTNUM}) ; replace "OUTNUM" with the actual number to dial 
    265 exten => s,n,Dial(${pre_num:4}${the_num}${post_num},120,${TRUNK_OPTIONS}) 
     263exten => s,n,GotoIf($["${the_num}" = "OUTNUM"]?outnum:skipoutnum) ; if we didn't find "OUTNUM", then skip to Dial 
     264exten => s,n(outnum),Set(the_num=${OUTNUM}) ; replace "OUTNUM" with the actual number to dial 
     265exten => s,n(skipoutnum),Dial(${pre_num:4}${the_num}${post_num},120,${TRUNK_OPTIONS}) 
    266266exten => s,n,Goto(s-${DIALSTATUS},1) 
    267267 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads