-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinitScreen.sh
executable file
·29 lines (22 loc) · 1.3 KB
/
initScreen.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
cd
cd var/lib/asterisk/agi-bin/callcenter/
echo "****************************************************"
echo "***********Excute Presence screen*******************"
echo "****************************************************"
sudo screen -dmS Presence java -cp lib/asterisk-java-1.0.0.M3.jar:lib/postgresql-9.1-903.jdbc4.jar:. com.capanicus.callcenter.PresenceMonitor
sleep 3
echo "****************************************************"
echo "***********Excute Billing screen*******************"
echo "****************************************************"
sudo screen -dmS Billing java -cp lib/asterisk-java-1.0.0.M3.jar:lib/postgresql-9.1-903.jdbc4.jar:. com.capanicus.callcenter.LiveCallsMonitor
sleep 3
echo "****************************************************"
echo "***********Excute AGI screen*******************"
echo "****************************************************"
sudo screen -dmS AGI java -cp lib/asterisk-java-1.0.0.M3.jar:lib/postgresql-9.1-903.jdbc4.jar:fastagi-mapping.properties:. -Xms1024m -Xmx1024m org.asteriskjava.fastagi.DefaultAgiServer
sleep 3
echo "****************************************************"
echo "******************View all screen*******************"
echo "****************************************************"
sudo screen -list