[Asterisk-Users] saydigits/background

Randy Bush randy at psg.com
Sat Jul 3 09:48:26 MST 2004


is there a way to do SayDigits() or equivalent that is
backgrounded?

application is

    exten => s,1,Background(zz-fwd-areyouat)     ; use callerid or enter
    exten => s,2,SayDigits(${CALLERIDNUM})       ;   telling callerid
    exten => _*,1,Macro(fwd-set,${userid},${CALLERIDNUM})
>>  exten => _*,2,SayDigits(${CALLERIDNUM})      ; if * use callerid
    exten => _*,3,Background(zz-fwd-callswillbe) ;   report to where calls
    exten => _*,4,SayDigits(${EXTEN})            ;   will be forwarded
    exten => _*,5,Hangup()
    exten => _X.,1,Macro(fwd-set,${userid},${EXTEN})
    exten => _X.,2,Background(zz-fwd-callswillbe); if digits use them
    exten => _X.,3,SayDigits(${EXTEN})           ;   as outbound number
    exten => _X.,4,Hangup()
    exten => h,1,Hangup()
    exten => i,1,GoTo(s,1)
    exten => t,1,GoTo(s,1)


[ yes steve, i spent the usual half hour with google and the
  wiki ]

randy




More information about the asterisk-users mailing list