Configure new samples

This commit is contained in:
Your Name
2020-12-23 23:39:22 +00:00
parent 9eb29c9e7e
commit ce6cf5d8d2
31 changed files with 38 additions and 16 deletions

View File

@@ -732,7 +732,9 @@ exten => _X.,n,Return()
[from-eventphone]
exten => s,1,Answer()
same => n,Wait(1)
same => n(start),Background(/etc/asterisk/media/playback/start,m)
same => n,Playback(/etc/asterisk/media/playback/e_1_herzlich_willkommen_beim_teleshopping)
same => n(start),Background(/etc/asterisk/media/playback/e_3_dr_cken_Sie,m)
same => n,WaitExten(4)
same => n,Goto(start)
exten => 1,1,Goto(record-bid,1,1)
exten => 2,1,Goto(take-question,s,1)
@@ -740,19 +742,19 @@ exten => 2,1,Goto(take-question,s,1)
[record-bid]
exten => 1,1,Noop()
same => n(start),GotoIf($[ "${DB(auction/open)}" != "1" ]?bidding-closed,1)
same => n,Playback(is)
same => n,Playback(/etc/asterisk/media/playback/e_6_das_mindestgebot)
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,Playback(/etc/asterisk/media/playback/e_7.2_eur_s)
same => n,Read(money,/etc/asterisk/media/playback/e_8_bitte_geben_sie_ihr_gebot_ein,,,1,12)
same => n,GotoIf($[ "${money}" == "" ]?start)
same => n,GotoIf($[ ${money} >= ${DB(auction/bid)} & ${money} < 10000 ]?:bid-invalid,1)
same => n,Playback(you-entered)
same => n,Playback(/etc/asterisk/media/playback/e_10_ich_habe_folgendes_gebot_verstanden)
same => n,SayNumber(${money})
same => n,Playback(digits/dollars)
same => n,Read(input,/etc/asterisk/media/playback/gebot-bestaetigen,1,,1,7)
same => n,Playback(/etc/asterisk/media/playback/e_7.2_eur_s)
same => n,Read(input,/etc/asterisk/media/playback/e_11_ist_das_korrekt,1,,1,7)
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,Playback(/etc/asterisk/media/playback/e_12_vielen_dank_f_r_dein_gebot)
same => n,Set(QUEUE_PRIO=${money})
same => n,Set(__AUCTION_BID=${money})
same => n,Originate(Console/dsp,exten,auction-spy,s,1,,a)
@@ -761,11 +763,11 @@ same => n,Queue(auction,tc)
same => n,Dial(SIP/21,60,U(bidding-announce))
same => n,Hangup()
exten => bidding-closed,1,Playback(confbridge-begin-leader)
exten => bidding-closed,1,Playback(/etc/asterisk/media/playback/e_5_leider_kann_gerade_kein_gebot)
same => n,Wait(1)
same => n,Goto(1)
exten => bid-invalid,1,Playback(invalid)
exten => bid-invalid,1,Playback(/etc/asterisk/media/playback/e_9_das_eingegebene_gebot_ist_ung_ltig)
same => n,Goto(1,1)
[auction-spy]
@@ -774,7 +776,7 @@ same => n,ChanSpy(SIP/22,bq)
[bidding-announce]
exten => s,1,Wait(1)
same => n,Playback(is)
same => n,Playback(/etc/asterisk/media/playback/e_20.1_das_gebot_der_anrufenden_dramatischer)
same => n,SayNumber(${AUCTION_BID})
same => n,Return()
@@ -794,24 +796,24 @@ exten => _0X.,1,Goto(to-eventphone,${EXTEN:1},1)
; Open bidding, read start bid
exten => 91,1,Answer()
same => n,Wait(0.5)
same => n(start),Read(startbid,/etc/asterisk/media/playback/gebot-eingeben,,,1,12)
same => n(start),Read(startbid,/etc/asterisk/media/playback/e_8_bitte_geben_sie_ihr_gebot_ein,,,1,12)
same => n,GotoIf($[ "${startbid}" == "" ]?start)
same => n,GotoIf($[ ${startbid} > 0 & ${startbid} < 10000 ]?:start)
same => n,Playback(you-entered)
same => n,Playback(/etc/asterisk/media/playback/e_10_ich_habe_folgendes_gebot_verstanden)
same => n,SayNumber(${startbid})
same => n,Read(input,/etc/asterisk/media/playback/gebot-bestaetigen,1,,1,7)
same => n,Read(input,/etc/asterisk/media/playback/e_11.2_ist_das_korrekt_genervt,1,,1,7)
same => n,GotoIf($[ "${input}" != "1" ]?start)
same => n,Set(DB(auction/open)=1)
same => n,Set(DB(auction/bid)=${startbid})
same => n,RemoveQueueMember(auction,Local/22@bidding-queue-member)
same => n,Playback(queue-thankyou)
same => n,Playback(/etc/asterisk/media/playback/e_12_vielen_dank_f_r_dein_gebot)
; Close bidding
exten => 92,1,Answer()
same => n,Wait(0.5)
same => n,Set(DB(auction/open)=0)
same => n,AddQueueMember(auction,Local/22@bidding-queue-member)
same => n,Playback(queue-thankyou)
same => n,Playback(/etc/asterisk/media/playback/e_15.2_herzlichen_gl_ckwunsch_pott)
same => n,Hangup()
[to-eventphone]

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -578,3 +578,11 @@ announce-holdtime=no
context = record-bid
; members are added dynamically, so auction doesn't ring all the time
queue-thankyou=
; ("You are now first in line.")
queue-youarenext=/etc/asterisk/media/playback/e_15.2_herzlichen_gl_ckwunsch_pott
; ("There are")
queue-thereare=/etc/asterisk/media/playback/e_17_du_bist_nicht_h_chstbietend
; ("calls waiting.")
queue-callswaiting=/etc/asterisk/media/playback/e_19_dr_cke_1_um_erneut_zu_bieten
; ("The current est. holdtime is")