diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-11-04 14:05:12 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-11-04 14:05:12 +0000 |
commit | d8e0c584372c51b585a52efbe2375861bc09bdcf (patch) | |
tree | dd3bc244b8a45aacb932109dc8c12d1f21769d55 /main/dial.c | |
parent | 6a50e7a031f4d424aa8bd3293aa48501f7b96652 (diff) |
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
Diffstat (limited to 'main/dial.c')
-rw-r--r-- | main/dial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/dial.c b/main/dial.c index 4c57cb12d..cd8a7af7a 100644 --- a/main/dial.c +++ b/main/dial.c @@ -390,7 +390,7 @@ static void set_state(struct ast_dial *dial, enum ast_dial_result state) static void handle_frame(struct ast_dial *dial, struct ast_dial_channel *channel, struct ast_frame *fr, struct ast_channel *chan) { if (fr->frametype == AST_FRAME_CONTROL) { - switch (fr->subclass) { + switch (fr->subclass.integer) { case AST_CONTROL_ANSWER: ast_verb(3, "%s answered %s\n", channel->owner->name, chan->name); AST_LIST_LOCK(&dial->channels); @@ -474,7 +474,7 @@ static void handle_frame_ownerless(struct ast_dial *dial, struct ast_dial_channe if (fr->frametype != AST_FRAME_CONTROL) return; - switch (fr->subclass) { + switch (fr->subclass.integer) { case AST_CONTROL_ANSWER: ast_verb(3, "%s answered\n", channel->owner->name); AST_LIST_LOCK(&dial->channels); |