Show
Ignore:
Timestamp:
10/10/07 01:13:34 (6 years ago)
Author:
p_lindheimer
Message:

add PREDIAL_HOOK_RET to predial-hook to allow the hook to have the trunk bypassed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.4/core/etc/extensions.conf

    r5092 r5114  
    638638; this macro intentially left blank so it may be safely overwritten for any custom 
    639639; requirements that an installatin may have. 
     640; 
     641; MACRO RETURN CODE: ${PREDIAL_HOOK_RET} 
     642;                    if set to "BYPASS" then this trunk will be skipped 
     643; 
    640644 
    641645 
     
    678682; 
    679683exten => s,n,Macro(dialout-trunk-predial-hook) 
     684exten => s,n,GotoIf($["${PREDIAL_HOOK_RET}" = "BYPASS"]?bypass,1) 
    680685 
    681686exten => s,n(gocall),GotoIf($["${custom}" = "AMP"]?customtrunk) 
     
    708713 
    709714exten => disabletrunk,1,Noop(TRUNK: ${OUT_${DIAL_TRUNK}} DISABLED - falling through to next trunk) 
     715exten => bypass,1,Noop(TRUNK: ${OUT_${DIAL_TRUNK}} BYPASSING because dialout-trunk-predial-hook) 
    710716 
    711717exten => h,1,Macro(hangupcall) 
  • modules/branches/2.4/core/module.xml

    r5034 r5114  
    88  <canuninstall>no</canuninstall> 
    99  <changelog> 
    10     *2.3.0.3* #2308 FROM_DID to use ${EXTEN}, #2381 add iax_genera_custom.conf, #2375 localization fixes 
     10    *2.3.0.4* #2372 require trunk Outbound CallerID when Never Overid CallerID checked, #2384 no CDR for bad-numbers 
     11    *2.3.0.3* #2308 FROM_DID to use ${EXTEN}, #2381 add iax_general_custom.conf, #2375 localization fixes 
    1112    *2.3.0.2* #2330 allow '_' in route name changes, fix missing global variable. 
    1213    *2.3.0.1* fix support link