diff options
Diffstat (limited to 'res/res_monitor.c')
-rw-r--r-- | res/res_monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c index c5ecda4e4..be9c2a84d 100644 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -393,7 +393,7 @@ int AST_OPTIONAL_API_NAME(ast_monitor_start)(struct ast_channel *chan, const cha "Channel: %s\r\n" "Uniqueid: %s\r\n", ast_channel_name(chan), - chan->uniqueid); + ast_channel_uniqueid(chan)); } else { ast_debug(1,"Cannot start monitoring %s, already monitored\n", ast_channel_name(chan)); res = -1; @@ -511,7 +511,7 @@ int AST_OPTIONAL_API_NAME(ast_monitor_stop)(struct ast_channel *chan, int need_l "Channel: %s\r\n" "Uniqueid: %s\r\n", ast_channel_name(chan), - chan->uniqueid + ast_channel_uniqueid(chan) ); pbx_builtin_setvar_helper(chan, "MONITORED", NULL); } |