Add scripts to show current bid
This commit is contained in:
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