summaryrefslogtreecommitdiff
path: root/tests/test_substitution.c
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2012-02-29 16:52:47 +0000
committerTerry Wilson <twilson@digium.com>2012-02-29 16:52:47 +0000
commita9d607a35764d93790172cab1f630e14fb8e043c (patch)
treedadea55813cfc525898844c51eec824d468455cb /tests/test_substitution.c
parent0b988da21c1ec856b7b8bad2434bf93498d17cfd (diff)
Opaquify ast_channel structs and lists
Review: https://reviewboard.asterisk.org/r/1773/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests/test_substitution.c')
-rw-r--r--tests/test_substitution.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_substitution.c b/tests/test_substitution.c
index 3df903615..dd7d00ea0 100644
--- a/tests/test_substitution.c
+++ b/tests/test_substitution.c
@@ -252,9 +252,9 @@ AST_TEST_DEFINE(test_substitution)
*/
TEST(test_chan_integer(test, c, &c->caller.id.number.presentation, "${CALLINGPRES}"));
#endif
- TEST(test_chan_integer(test, c, &c->caller.ani2, "${CALLINGANI2}"));
- TEST(test_chan_integer(test, c, &c->caller.id.number.plan, "${CALLINGTON}"));
- TEST(test_chan_integer(test, c, &c->dialed.transit_network_select, "${CALLINGTNS}"));
+ TEST(test_chan_integer(test, c, &ast_channel_caller(c)->ani2, "${CALLINGANI2}"));
+ TEST(test_chan_integer(test, c, &ast_channel_caller(c)->id.number.plan, "${CALLINGTON}"));
+ TEST(test_chan_integer(test, c, &ast_channel_dialed(c)->transit_network_select, "${CALLINGTNS}"));
TEST(test_chan_integer_accessor(test, c, ast_channel_hangupcause_set, "${HANGUPCAUSE}"));
TEST(test_chan_integer_accessor(test, c, ast_channel_priority_set, "${PRIORITY}"));
TEST(test_chan_string(test, c, ast_channel_context_set, ast_channel_context, "${CONTEXT}"));