Ehud.Gavron@login.com providing an enhancement. I'm
betting this is the wrong way to go about it, so please
slap me on the hand and let me know the right way.
Thanks
Ehud
*77 that offers a chance to hear recording, accept, or
rerecord.
Can obsoletes old *77 and *99.
exten => *77,1,Background(beep)
exten => *77,2,Record(${CALLERIDNUM}ivrrecording:wav)
exten => *77,3,Background(to-accept-recording)
exten => *77,4,Background(press-pound)
exten => *77,5,Background(to-listen-to-it)
exten => *77,6,Background(press-1)
exten => *77,7,Background(to-rerecord-it)
exten => *77,8,Background(press-star)
exten => *77,9,Wait(1)
exten => *77,10,Goto(3)
exten => *77,15,Background(${CALLERIDNUM}ivrrecording:wav)
exten => *77,16,Goto(3)
exten => *77,20,Background(recorded)
exten => *77,21,Background(goodbye)
exten => *77,22,Hangup
exten => #,1,Goto(*77,20)
exten => *,1,Goto(*77,2)
exten => 1,1,Goto(*77,15)
exten => t,1,Goto(*77,5)
exten => i,1,Goto(*77,5)