mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 11:28:25 +00:00
fix compile error (1.8 don't have ast_channel_name macro)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@369130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3465,7 +3465,7 @@ static void *do_monitor(void *data)
|
|||||||
h323->lastrtprx + h323->rtptimeout < t) {
|
h323->lastrtprx + h323->rtptimeout < t) {
|
||||||
if (!ast_channel_trylock(h323->owner)) {
|
if (!ast_channel_trylock(h323->owner)) {
|
||||||
ast_softhangup_nolock(h323->owner, AST_SOFTHANGUP_DEV);
|
ast_softhangup_nolock(h323->owner, AST_SOFTHANGUP_DEV);
|
||||||
ast_log(LOG_NOTICE, "Disconnecting call '%s' for lack of RTP activity in %ld seconds\n", ast_channel_name(h323->owner), (long) (t - h323->lastrtprx));
|
ast_log(LOG_NOTICE, "Disconnecting call '%s' for lack of RTP activity in %ld seconds\n", h323->owner->name, (long) (t - h323->lastrtprx));
|
||||||
ast_channel_unlock(h323->owner);
|
ast_channel_unlock(h323->owner);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user