diff options
author | Terry Wilson <twilson@digium.com> | 2012-02-20 23:43:27 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2012-02-20 23:43:27 +0000 |
commit | 57f42bd74f78d5022631b2ba2269892f8a3a384a (patch) | |
tree | 3283ec4ac88c5b3c267f4490b410e5331911f2bb /main/ccss.c | |
parent | 25e5eb3b96e6d9bcbb2fc02fbd879ae21104c1f5 (diff) |
ast_channel opaquification of pointers and integral types
Review: https://reviewboard.asterisk.org/r/1753/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@356042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/ccss.c')
-rw-r--r-- | main/ccss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/ccss.c b/main/ccss.c index e0925ab0a..b1ec63a89 100644 --- a/main/ccss.c +++ b/main/ccss.c @@ -2686,7 +2686,7 @@ static void *generic_recall(void *data) ast_channel_exten_set(chan, generic_pvt->exten); ast_channel_context_set(chan, generic_pvt->context); - chan->priority = 1; + ast_channel_priority_set(chan, 1); pbx_builtin_setvar_helper(chan, "CC_EXTEN", generic_pvt->exten); pbx_builtin_setvar_helper(chan, "CC_CONTEXT", generic_pvt->context); @@ -4045,7 +4045,7 @@ void ast_cc_call_failed(struct ast_channel *incoming, struct ast_channel *outgoi struct cc_control_payload payload; struct ast_cc_config_params *cc_params; - if (outgoing->hangupcause != AST_CAUSE_BUSY && outgoing->hangupcause != AST_CAUSE_CONGESTION) { + if (ast_channel_hangupcause(outgoing) != AST_CAUSE_BUSY && ast_channel_hangupcause(outgoing) != AST_CAUSE_CONGESTION) { /* It doesn't make sense to try to offer CCBS to the caller if the reason for ast_call * failing is something other than busy or congestion */ |