Compare commits
11 Commits
eed5ddea96
...
master-het
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4124512b2b | ||
|
|
7d8bc29cf3 | ||
|
|
5a9eb24171 | ||
|
|
b9ef07cfa8 | ||
|
|
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,21 @@ 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(start),Background(/etc/asterisk/media/playback/telefon_drueckenSieDie7,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)
|
||||
;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
; a fractional second parameter which may be used in this field. Use %1q
|
||||
; for tenths, %2q for hundredths, etc.
|
||||
;
|
||||
;dateformat=%F %T ; ISO 8601 date format
|
||||
dateformat=%F %T ; ISO 8601 date format
|
||||
;dateformat=%F %T.%3q ; with milliseconds
|
||||
;
|
||||
;
|
||||
|
||||
BIN
media/moh/gott/Telegott_Loop_Warteschlange.alaw
Normal file
BIN
media/moh/gott/Telegott_Loop_Warteschlange.alaw
Normal file
Binary file not shown.
BIN
media/playback/telefon_drueckenSieDie123.alaw
Normal file
BIN
media/playback/telefon_drueckenSieDie123.alaw
Normal file
Binary file not shown.
BIN
media/playback/telefon_drueckenSieDie7.alaw
Normal file
BIN
media/playback/telefon_drueckenSieDie7.alaw
Normal file
Binary file not shown.
BIN
media/playback/telefon_machmal_kann_es_laenger_dauern.alaw
Normal file
BIN
media/playback/telefon_machmal_kann_es_laenger_dauern.alaw
Normal file
Binary file not shown.
BIN
media/playback/telefon_zur_zeit_alles_belegt.alaw
Normal file
BIN
media/playback/telefon_zur_zeit_alles_belegt.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 -n 1
|
||||
6
sip.conf
6
sip.conf
@@ -819,7 +819,7 @@ qualify=yes
|
||||
;
|
||||
;register => 1234:password@mysipprovider.com
|
||||
register => 7467:12zX22bH02q2@eventphone.de
|
||||
register => 7467:COwcNVlnErGf@voip.eventphone.de
|
||||
register => 7467:e5JvEVLQN9ss@voip.eventphone.de
|
||||
;
|
||||
; This will pass incoming calls to the 's' extension
|
||||
;
|
||||
@@ -1637,9 +1637,9 @@ qualify=yes
|
||||
|
||||
[eventphone-event]
|
||||
type=friend
|
||||
host=93.180.79.35
|
||||
host=93.180.79.52
|
||||
defaultuser=7467
|
||||
secret=COwcNVlnErGf
|
||||
secret=e5JvEVLQN9ss
|
||||
context=from-eventphone
|
||||
qualify=yes
|
||||
disallow=all
|
||||
|
||||
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