如果我知道用户的分机,我如何将其转换为频道以便我可以代表他们拨打电话?
http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate
如果我知道用户的分机,我如何将其转换为频道以便我可以代表他们拨打电话?
http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate
看起来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