php 检查我正在运行的星号版本

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/21060760/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 03:47:37  来源:igfitidea点击:

Check the version of asterisk i am running

phpcommand-line-interfaceasteriskputty

提问by Arun Unnikrishnan

I am a bit confused about what version of Asterisk I am running on centos server.The documentation is different for different versions.How to know the version using putty command.

我对我在centos服务器上运行的Asterisk版本有点困惑。不同版本的文档不同。如何使用putty命令知道版本。

回答by arheops

asterisk -r

core show version

If that not work, you are running version <1.8 and you need do

如果这不起作用,您正在运行版本 <1.8,您需要做

asterisk -r
show version

Also you can try

你也可以试试

asterisk -v

Fail that try

尝试失败

asterisk -V