Compare commits
7 Commits
eed5ddea96
...
4ee35e3c8d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ee35e3c8d | ||
|
|
4c58712074 | ||
|
|
90fa2664a0 | ||
|
|
157a663989 | ||
|
|
c3575f99ec | ||
|
|
971deee1bc | ||
|
|
b30b1653f3 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.swp
|
||||
3
clear-queue-members.sh
Executable file
3
clear-queue-members.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
asterisk -x 'queue show auction' | grep wait: | awk '{ print $2; }' | xargs -I ID asterisk -x 'channel request hangup ID'
|
||||
@@ -732,15 +732,20 @@ exten => _X.,n,Return()
|
||||
[from-eventphone]
|
||||
exten => s,1,Answer()
|
||||
same => n,Wait(1)
|
||||
same => n,Playback(/etc/asterisk/media/playback/e_1_herzlich_willkommen_beim_teleshopping)
|
||||
same => n,GotoIf($[ "${DB(stream/open)}" != "1" ]?stream-closed,1)
|
||||
same => n,Background(/etc/asterisk/media/playback/e_1_herzlich_willkommen_beim_teleshopping,m)
|
||||
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)
|
||||
|
||||
exten => 7,1,Wait(0.5)
|
||||
same => n,Queue(gott,t)
|
||||
same => n,Hangup()
|
||||
|
||||
exten => stream-closed,1,Wait(0.8)
|
||||
same => n,Playback(/etc/asterisk/media/playback/e_1_herzlich_willkommen_beim_teleshopping)
|
||||
same => n,Playback(/etc/asterisk/media/playback/e_2_bei_uns_ist_leider_gerade_nichts_los)
|
||||
same => n,MusicOnHold(shop,10)
|
||||
same => n,Goto(1)
|
||||
|
||||
@@ -32,7 +32,7 @@ enabled=yes
|
||||
; a bindaddr in order for the HTTP server to run. There is no
|
||||
; default value.
|
||||
;
|
||||
bindaddr=0.0.0.0
|
||||
bindaddr=172.19.27.2
|
||||
;
|
||||
; Port to bind to for HTTP sessions (default is 8088)
|
||||
;
|
||||
|
||||
BIN
media/moh/gott/Telegott_Loop_Warteschlange.alaw
Normal file
BIN
media/moh/gott/Telegott_Loop_Warteschlange.alaw
Normal file
Binary file not shown.
@@ -52,6 +52,10 @@ directory=moh
|
||||
[shop]
|
||||
mode=files
|
||||
directory=/etc/asterisk/media/moh/shop
|
||||
|
||||
[gott]
|
||||
mode=files
|
||||
directory=/etc/asterisk/media/moh/gott
|
||||
;
|
||||
;[native-random]
|
||||
;mode=files
|
||||
|
||||
@@ -561,6 +561,13 @@ timeout = 40
|
||||
;member => Local/1000@default,0,John Smith,SIP/1000
|
||||
;member => Local/2000@default,0,Lorem Ipsum,SIP/2000,no
|
||||
|
||||
[gott]
|
||||
musicclass=gott
|
||||
strategy=ringall
|
||||
announce-position=no
|
||||
announce-to-first-user=no
|
||||
member => IAX2/stubnitz/24
|
||||
|
||||
[shop]
|
||||
musicclass=shop
|
||||
strategy=ringall
|
||||
|
||||
6
show-bid.sh
Executable file
6
show-bid.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Content-Type: text/plain"
|
||||
echo ""
|
||||
|
||||
asterisk -x 'queue show auction' | sed -n 's/^.*prio: \(.*\))$/Aktuelles Gebot: \1/p' | head
|
||||
3
static-http/cgi-bin/bid
Executable file
3
static-http/cgi-bin/bid
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec sudo /etc/asterisk/show-bid.sh
|
||||
Reference in New Issue
Block a user