Add a playback explaining that input bid is invalid

This commit is contained in:
Your Name
2020-12-12 23:30:08 +00:00
parent 0355d20da5
commit d7eb7f83d1

View File

@@ -745,7 +745,7 @@ same => n,SayNumber(${DB(auction/bid)})
same => n,Playback(digits/dollars)
same => n,Read(money,/etc/asterisk/media/playback/gebot-eingeben,,,1,12)
same => n,GotoIf($[ "${money}" == "" ]?start)
same => n,GotoIf($[ ${money} >= ${DB(auction/bid)} & ${money} < 10000 ]?:start)
same => n,GotoIf($[ ${money} >= ${DB(auction/bid)} & ${money} < 10000 ]?:bid-invalid,1)
same => n,Playback(you-entered)
same => n,SayNumber(${money})
same => n,Playback(digits/dollars)
@@ -763,6 +763,9 @@ exten => bidding-closed,1,Playback(confbridge-begin-leader)
same => n,Wait(1)
same => n,Goto(1)
exten => bid-invalid,1,Playback(invalid)
same => n,Goto(1,1)
[bidding-announce]
exten => s,1,Wait(1)
same => n,Playback(is)