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,Wait(1)
|
||||||
same => n(start),Background(/etc/asterisk/media/playback/start,m)
|
same => n(start),Background(/etc/asterisk/media/playback/start,m)
|
||||||
same => n,Goto(start)
|
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)
|
exten => 2,1,Goto(take-question,s,1)
|
||||||
|
|
||||||
[record-bid]
|
[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(start),Read(money,/etc/asterisk/media/playback/gebot-eingeben,,,1,12)
|
||||||
same => n,GotoIf($[ "${money}" == "" ]?start)
|
same => n,GotoIf($[ "${money}" == "" ]?start)
|
||||||
same => n,GotoIf($[ ${money} > 0 & ${money} < 10000 ]?: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,Set(FILE(/tmp/money.txt,,,al,u)=${money} ${CALLERID(num)})
|
||||||
same => n,Playback(queue-thankyou)
|
same => n,Playback(queue-thankyou)
|
||||||
same => n,Set(QUEUE_PRIO=${money})
|
same => n,Set(QUEUE_PRIO=${money})
|
||||||
same => n,Queue(auction)
|
same => n,Queue(auction,t)
|
||||||
same => n,Hangup()
|
same => n,Hangup()
|
||||||
|
|
||||||
[take-question]
|
[take-question]
|
||||||
exten => s,1,Queue(shop)
|
exten => s,1,Queue(shop,t)
|
||||||
same => n,Hangup()
|
same => n,Hangup()
|
||||||
|
|
||||||
[local]
|
[local]
|
||||||
|
|||||||
@@ -576,3 +576,4 @@ announce-to-first-user=yes
|
|||||||
announce-frequency=10
|
announce-frequency=10
|
||||||
announce-holdtime=no
|
announce-holdtime=no
|
||||||
member => SIP/21
|
member => SIP/21
|
||||||
|
context = record-bid
|
||||||
|
|||||||
Reference in New Issue
Block a user