summaryrefslogtreecommitdiff
path: root/vpn/notes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'vpn/notes.txt')
-rwxr-xr-xvpn/notes.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/vpn/notes.txt b/vpn/notes.txt
index 6cb0e6c..9d3d298 100755
--- a/vpn/notes.txt
+++ b/vpn/notes.txt
@@ -4,3 +4,24 @@ sudo openvpn --config server.conf
ssh 80.93.22.22 'sudo /usr/sbin/asterisk -rx "database put GAME passcode 89889"'
ssh 80.93.22.22 'sudo /usr/sbin/asterisk -rx "database put GAME ip 4.4.4.4"'
ssh 80.93.22.22 'sudo /usr/sbin/asterisk -rx "devstate change Custom:GAME NOT_INUSE"'
+
+1 -download the source of asterisk from the server including the patch
+2 -make && sudo make install
+ Make install samples # created default config files
+3 -copy the configuration you have set up, tweak it i.e. send the UDP
+packet to a local address
+
+ Copy /etc/asterisk from server to new server
+ copy /var/lib/asterisk/agi/gameif to new server and edit script
+changing PeerHost => '10.10.10.2', to new value.
+
+4 -fire up asterisk
+ From command line type "asterisk" this start the daemon, use
+"asterisk -rvvvv" to get to asterisk CLI
+ Copy sound files /var/lib/asterisk/sounds to new server
+ When you wish to dequeue a call , at the asterisk cli enter "
+devstate change Custom:GAME NOT_INUSE "
+
+5 -connect a softphone
+ Dial #99 to test
+6 -check DTMF latency \ No newline at end of file