implement the "console startgui" and "console stopgui"

commands so you can start and stop the gui even outside
of a call. This is convenient for testing, and also for
using the keypad to pick up a call, and to dial a number
(the latter not yet implemented, but should be close).



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo
2008-01-09 12:23:18 +00:00
parent bbbef73276
commit b4fbb1916d
2 changed files with 42 additions and 21 deletions

View File

@@ -33,12 +33,12 @@
#include <ffmpeg/swscale.h> /* requires a recent ffmpeg */
#endif
#define CONSOLE_VIDEO_CMDS \
"console {videodevice|videocodec|sendvideo" \
"|video_size|bitrate|fps|qmin" \
"|keypad|keypad_mask|keypad_entry" \
"|sdl_videodriver" \
"|device" \
#define CONSOLE_VIDEO_CMDS \
"console {videodevice|videocodec" \
"|video_size|bitrate|fps|qmin" \
"|sendvideo|keypad" \
"|sdl_videodriver" \
"|device|startgui|stopgui" \
"}"
#endif /* HAVE_VIDEO_CONSOLE and others */