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

时间:2012-05-09 04:39:02

标签: asterisk

如果我知道用户的扩展程序,我该如何将其转换为频道,以便我可以代表他们拨打电话?

http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate

1 个答案:

答案 0 :(得分:2)

看起来CoreShowChannels就是你想要的那个:

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