Changeset 3099

Show
Ignore:
Timestamp:
11/17/06 14:37:37 (7 years ago)
Author:
p_lindheimer
Message:

#1317 - option 3 plays the callerid in callconfirm

Files:

Legend:

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

    r3095 r3099  
    911911[macro-confirm] 
    912912exten => s,1,Set(LOOPCOUNT=0) 
     913exten => s,n,Noop(CALLCONFIRMCID: ${CALLCONFIRMCID}) 
    913914 
    914915; We set ABORT rather than CONTINUE, as we want the server to forget about this channel  
     
    934935exten => s,n,GotoIf($["${INPUT}"="9"]?noanswer) 
    935936exten => s,n,GotoIf($["${INPUT}"="2"]?noanswer) 
     937exten => s,n,GotoIf($["${INPUT}"="3"]?playcid) 
    936938 
    937939; Increment LOOPCOUNT, and check to make sure we haven't played it 5 times by now. We assume that 
     
    946948exten => s,n(noanswer),Set(__MACRO_RESULT=ABORT) 
    947949exten => s,n,Goto(fin) 
     950 
     951; Test play callerid 
     952; 
     953exten => s,n(playcid),Noop(Playing CID: ${CALLCONFIRMCID}) 
     954exten => s,n,SayDigits(${CALLCONFIRMCID}) 
     955exten => s,n,Goto(start) 
    948956 
    949957; If we're here, it's because the call was already accepted by someone else.