mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Expand codec bitfield from 32 bits to 64 bits.
Reviewboard: https://reviewboard.asterisk.org/r/416/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@227580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -643,7 +643,7 @@ static struct ast_channel *wait_for_winner(struct findme_user_listptr *findme_us
|
||||
f = ast_read(winner);
|
||||
if (f) {
|
||||
if (f->frametype == AST_FRAME_CONTROL) {
|
||||
switch(f->subclass) {
|
||||
switch (f->subclass.integer) {
|
||||
case AST_CONTROL_HANGUP:
|
||||
ast_verb(3, "%s received a hangup frame.\n", winner->name);
|
||||
if (f->data.uint32) {
|
||||
@@ -718,7 +718,7 @@ static struct ast_channel *wait_for_winner(struct findme_user_listptr *findme_us
|
||||
ast_verb(3, "%s stopped sounds\n", winner->name);
|
||||
break;
|
||||
default:
|
||||
ast_debug(1, "Dunno what to do with control type %d\n", f->subclass);
|
||||
ast_debug(1, "Dunno what to do with control type %d\n", f->subclass.integer);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -726,8 +726,8 @@ static struct ast_channel *wait_for_winner(struct findme_user_listptr *findme_us
|
||||
if (winner->stream)
|
||||
ast_stopstream(winner);
|
||||
tmpuser->digts = 0;
|
||||
ast_debug(1, "DTMF received: %c\n",(char) f->subclass);
|
||||
tmpuser->yn[tmpuser->ynidx] = (char) f->subclass;
|
||||
ast_debug(1, "DTMF received: %c\n", (char) f->subclass.integer);
|
||||
tmpuser->yn[tmpuser->ynidx] = (char) f->subclass.integer;
|
||||
tmpuser->ynidx++;
|
||||
ast_debug(1, "DTMF string: %s\n", tmpuser->yn);
|
||||
if (tmpuser->ynidx >= ynlongest) {
|
||||
|
Reference in New Issue
Block a user