Implement keyboard handling, and use it to enter

a number to dial in the 'message' area under the
keypad.

Now you can make calls using the keypad as a regular phone
(or the keyboard for chars not present on the keypad)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo
2008-01-09 16:44:20 +00:00
parent 2ad2f92405
commit aaddb77f42
4 changed files with 102 additions and 67 deletions

View File

@@ -667,8 +667,6 @@ static struct ast_frame *get_video_frames(struct video_desc *env, struct ast_fra
return v->enc->enc_encap(&v->enc_out, v->mtu, tail);
}
int print_message(struct board *b, const char *s);
/*
* Helper thread to periodically poll the video source and enqueue the
* generated frames to the channel's queue.
@@ -725,10 +723,6 @@ static void *video_thread(void *arg)
int fd;
char *caption = NULL, buf[160];
sprintf(buf, "%d \r", count);
if (env->gui)
print_message(env->gui->bd_msg, buf);
/* determine if video format changed */
if (count++ % 10 == 0) {
if (env->out.sendvideo)