diff options
author | Terry Wilson <twilson@digium.com> | 2012-01-24 20:12:09 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2012-01-24 20:12:09 +0000 |
commit | 99cae5b7508f30a308afbbacf92ad306a30f68df (patch) | |
tree | bdca00ce837e60a5f9a16fed06d02f6e77235035 /apps/app_dumpchan.c | |
parent | 2144ba5df2813609024964c4c2d9060b30d5cd43 (diff) |
Opaquify channel stringfields
Continue channel opaque-ification by wrapping all of the stringfields.
Eventually, we will restrict what can actually set these variables, but
the purpose for now is to hide the implementation and keep people from
adding code that directly accesses the channel structure. Semantic
changes will follow afterward.
Review: https://reviewboard.asterisk.org/r/1661/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_dumpchan.c')
-rw-r--r-- | apps/app_dumpchan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_dumpchan.c b/apps/app_dumpchan.c index 9b0096f0a..c59d32edf 100644 --- a/apps/app_dumpchan.c +++ b/apps/app_dumpchan.c @@ -129,16 +129,16 @@ static int serialize_showchan(struct ast_channel *c, char *buf, size_t size) "Blocking_in= %s\n", ast_channel_name(c), c->tech->type, - c->uniqueid, - c->linkedid, + ast_channel_uniqueid(c), + ast_channel_linkedid(c), S_COR(c->caller.id.number.valid, c->caller.id.number.str, "(N/A)"), S_COR(c->caller.id.name.valid, c->caller.id.name.str, "(N/A)"), S_COR(c->connected.id.number.valid, c->connected.id.number.str, "(N/A)"), S_COR(c->connected.id.name.valid, c->connected.id.name.str, "(N/A)"), S_OR(c->dialed.number.str, "(N/A)"), S_COR(c->redirecting.from.number.valid, c->redirecting.from.number.str, "(N/A)"), - c->parkinglot, - c->language, + ast_channel_parkinglot(c), + ast_channel_language(c), ast_state2str(c->_state), c->_state, c->rings, |