Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/wpf/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Asterisk VOIP中获取扩展的频道?_Asterisk - Fatal编程技术网

如何在Asterisk VOIP中获取扩展的频道?

如何在Asterisk VOIP中获取扩展的频道?,asterisk,Asterisk,如果我知道用户的分机,如何将其转换为频道,以便我可以代表他们拨打电话 看起来CoreShowChannel就是您想要的: asterisk*CLI> manager show command CoreShowChannels [Syntax] Action: CoreShowChannels [ActionID:] <value> [Synopsis] List currently active channels. [Description] List currentl

如果我知道用户的分机,如何将其转换为频道,以便我可以代表他们拨打电话


看起来
CoreShowChannel
就是您想要的:

asterisk*CLI> manager show command CoreShowChannels 
[Syntax]
Action: CoreShowChannels
[ActionID:] <value>

[Synopsis]
List currently active channels. 

[Description]
List currently defined channels and some information about them.

[Arguments]
ActionID
    ActionID for this transaction. Will be returned.

[See Also]
Not available
asterisk*CLI>manager show命令CoreShowChannels
[语法]
行动:CoreShowChannel
[行动ID:]
[简介]
列出当前活动的频道。
[说明]
列出当前定义的通道和有关它们的一些信息。
[论点]
ActionID
此事务的ActionID。将被退回。
[另见]
无法使用的

什么都没有。它说它完全成功了,但是没有记录。听起来好像没有频道:)你需要澄清你的问题。你想在这里实现什么?你在转接电话吗?你刚开始一个新的?为什么不先拨R分机并设置用户来电号码?