我曾经使用预先配置的星号来拨打电话(使用 AMI)。当我这样做时,来自 origin 的响应曾经有通道和唯一的 id 信息。现在我正在尝试构建一个新的 Asterisk。一切都已设置,但是当我调用时,只有响应具有的信息是“呼叫成功排队”。
是否有隐藏在某处的“显示响应的额外信息”之类的选项?
你可以找到我得到的两种不同的回应。
这个是旧的,包含一些有价值的信息。
Response: Success
ActionID: 6bf11dfb-4e6c-4eb4-85cd-6c8b8026019f
Message: Originate successfully queued
Event: Newchannel
Privilege: call,all
Channel: SIP/1030-000058aa
State: Down
CallerIDNum: <unknown>
CallerIDName: <unknown>
Uniqueid: 1339103821.22750
Event: Newcallerid
Privilege: call,all
Channel: SIP/1030-000058aa
CallerID: 05359348602
CallerIDName: <Unknown>
Uniqueid: 1339103821.22750
CID-CallingPres: 0 (Presentation Allowed, Not Screened)
Event: ExtensionStatus
Privilege: call,all
Exten: 1030
Context: ext-local
Status: 8
Event: Newstate
Privilege: call,all
Channel: SIP/1030-000058aa
State: Ringing
CallerID: 05359348602
CallerIDName: <unknown>
Uniqueid: 1339103821.22750
Event: Newstate
Privilege: call,all
Channel: SIP/1030-000058aa
State: Up
CallerID: 05359348602
CallerIDName: <unknown>
Uniqueid: 1339103821.22750
Event: ExtensionStatus
Privilege: call,all
Exten: 1030
Context: ext-local
Status: 1
这是新的,什么也没说
Response: Success
ActionID: 98518f9a-c7cb-4b63-8de4-e185f57508d8
Message: Originate successfully queued
谢谢。