[Asterisk-Users] playback in [macro-stdexten] problem

Lance Arbuckle asterisk at arbuckle.org
Tue Dec 30 16:36:50 MST 2003


I added the playback line to my [macro-stdexten] context but when I dail
an extension I don't get the "please hold while I try that extension"
message. It just dials the extexsion.  Do I have a syntax problem
somewhere ?

exten => 8005,1,Macro(stdexten,8005,Zap/2)     
exten => 8006,1,Macro(stdexten,8006,Sip/8006)

[macro-stdexten]
; 
; Standard extension macro:
;   ${ARG1} - Extension  (we could have used ${MACRO_EXTEN} here as well
;   ${ARG2} - Device(s) to ring
;

exten => s,1,Playback(transfer,skip)
exten => s,2,Dial(${ARG2},20)           ; Ring the interface, 20 seconds
maximum
exten => s,3,Voicemail(u${ARG1})        ; If unavailable, send to
voicemail w/ unavail announce
exten => s,103,Voicemail(b${ARG1})      ; If busy, send to voicemail w/
busy announce



-- 
  .~.    
  /V\    Lance C. Arbuckle
 // \\   
/(   )\  
 ^'~'^



More information about the asterisk-users mailing list