Allow re-bidding from auction queue
This commit is contained in:
@@ -734,11 +734,11 @@ exten => s,1,Answer()
|
||||
same => n,Wait(1)
|
||||
same => n(start),Background(/etc/asterisk/media/playback/start,m)
|
||||
same => n,Goto(start)
|
||||
exten => 1,1,Goto(record-bid,s,1)
|
||||
exten => 1,1,Goto(record-bid,1,1)
|
||||
exten => 2,1,Goto(take-question,s,1)
|
||||
|
||||
[record-bid]
|
||||
exten => s,1,Noop()
|
||||
exten => 1,1,Noop()
|
||||
same => n(start),Read(money,/etc/asterisk/media/playback/gebot-eingeben,,,1,12)
|
||||
same => n,GotoIf($[ "${money}" == "" ]?start)
|
||||
same => n,GotoIf($[ ${money} > 0 & ${money} < 10000 ]?:start)
|
||||
@@ -749,11 +749,11 @@ same => n,GotoIf($[ "${input}" != "1" ]?start)
|
||||
same => n,Set(FILE(/tmp/money.txt,,,al,u)=${money} ${CALLERID(num)})
|
||||
same => n,Playback(queue-thankyou)
|
||||
same => n,Set(QUEUE_PRIO=${money})
|
||||
same => n,Queue(auction)
|
||||
same => n,Queue(auction,t)
|
||||
same => n,Hangup()
|
||||
|
||||
[take-question]
|
||||
exten => s,1,Queue(shop)
|
||||
exten => s,1,Queue(shop,t)
|
||||
same => n,Hangup()
|
||||
|
||||
[local]
|
||||
|
||||
Reference in New Issue
Block a user