diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-12-03 17:04:02 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-12-03 17:04:02 +0000 |
| commit | f7bee21ada14851da8626a3784821ded25333fe6 (patch) | |
| tree | 19043f79373b3f4493c5e262512e8c6768adc8c1 /ofAsterisk/src/Asterisk.h | |
| parent | 193cadbc158c5423691b91bae497e44cbef436e9 (diff) | |
working on train
Diffstat (limited to 'ofAsterisk/src/Asterisk.h')
| -rwxr-xr-x | ofAsterisk/src/Asterisk.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/ofAsterisk/src/Asterisk.h b/ofAsterisk/src/Asterisk.h index c9ce864..3acdb6e 100755 --- a/ofAsterisk/src/Asterisk.h +++ b/ofAsterisk/src/Asterisk.h @@ -9,36 +9,6 @@ #define STARTING 2
#define PLAYING 3
-// http://stackoverflow.com/questions/1735781/non-blocking-pipe-using-popen
-
-/*
-
-Commands for game to control PBX
-
-Game ready
-
-ssh 10.10.10.1 'sudo /usr/sbin/asterisk -rx "devstate change Custom:GAME NOT_INUSE"'
-
-change daily access 4 digit code
-
-ssh 10.10.10.1 'sudo /usr/sbin/asterisk -rx "database put GAME passcode 1234"'
-
-
-
-Set status code for current game
-
-ssh 10.10.10.1 'sudo /usr/sbin/asterisk -rx "database put GAME statuscode 1234"'
-
-Gameover Hangup Call
-
-ssh 10.10.10.1 'sudo /usr/sbin/asterisk -rx "hangup request Local/9999@default-00000039;2"
-
-Local/9999@default-00000039;2 is a channel identifier and will be send to game when AGI script connects to game controller. The channel ID is unique for each call
-
-
-can we have a message that someone has joined the queue?
-can we have a message if someone hangs up?
-*/
class Asterisk
{
|
