mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Don't say we're unable to find the channel if we're able to find it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -7132,6 +7132,8 @@ static int zap_show_channel(int fd, int argc, char **argv)
|
||||
} else {
|
||||
ast_cli(fd, "Actual Hookstate: %s\n", ps.rxisoffhook ? "Offhook" : "Onhook");
|
||||
}
|
||||
ast_mutex_unlock(&iflock);
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
tmp = tmp->next;
|
||||
}
|
||||
|
Reference in New Issue
Block a user