无法使用星号配置adhearsion

时间:2017-02-12 21:30:47

标签: asterisk voip adhearsion

一开始,我收到这些错误,当我使用软电话进行测试时,没有任何反应。

来自adhearsion log =>

[2017-02-12 22:54:06.678] ERROR Celluloid: Punchblock::Translator::Asterisk crashed!
RubyAMI::Error: RubyAMI::Error
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/responses.rb:29:in `value'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:92:in `value'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
    /var/lib/gems/2.3.0/gems/punchblock-2.7.5/lib/punchblock/connection/asterisk.rb:66:in `method_missing'
    /var/lib/gems/2.3.0/gems/punchblock-2.7.5/lib/punchblock/translator/asterisk.rb:209:in `send_ami_action'
    /var/lib/gems/2.3.0/gems/punchblock-2.7.5/lib/punchblock/translator/asterisk.rb:182:in `run_at_fully_booted'
    /var/lib/gems/2.3.0/gems/punchblock-2.7.5/lib/punchblock/translator/asterisk.rb:89:in `handle_ami_event'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:122:in `dispatch'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
[2017-02-12 22:54:06.679] ERROR Adhearsion::Initializer: <RubyAMI::Error> Command output follows
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/responses.rb:29:in `value'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:92:in `value'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
    /var/lib/gems/2.3.0/gems/punchblock-2.7.5/lib/punchblock/connection/asterisk.rb:66:in `method_missing'
    /var/lib/gems/2.3.0/gems/punchblock-2.7.5/lib/punchblock/translator/asterisk.rb:209:in `send_ami_action'
    /var/lib/gems/2.3.0/gems/punchblock-2.7.5/lib/punchblock/translator/asterisk.rb:182:in `run_at_fully_booted'
    /var/lib/gems/2.3.0/gems/punchblock-2.7.5/lib/punchblock/translator/asterisk.rb:89:in `handle_ami_event'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:122:in `dispatch'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
    /var/lib/gems/2.3.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'

来自adhearsion.rb =&gt;

  config.punchblock.platform = :asterisk # 
  config.punchblock.username = "user" # 
  config.punchblock.password = "123" # 
  config.punchblock.host = "127.0.0.1" #

来自extention.conf =&gt;

[adhearsion]
  exten => _X.,1,AGI(agi:async)

[adhearsion-redirect]
  exten => 1,1,AGI(agi:async)

来自manager.conf =&gt;

[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0

[user]
secret = 123
read = all
write = all
eventfilter = !Event: RTCP*
eventfilter = !Variable: RTPAUDIOQOS*

来自sip.conf =&gt;

[7]
    type = friend
    host = dynamic
    context = adhearsion
    secret = 123

EDIT1:

Asterisk日志没有问题,这就是我打电话时会发生的事情。

Connected to Asterisk 14.2.1 currently running on miniserv (pid = 1115)
    -- Registered SIP '7' at 192.168.1.77:62506
       > Saved useragent "X-Lite release 4.9.7.1 stamp 83372" for peer 7
    -- Unregistered SIP '7'
    -- Registered SIP '7' at 192.168.1.77:62506
[Feb 13 11:22:33] NOTICE[1352]: chan_sip.c:28313 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 7
  == Using SIP RTP CoS mark 5
    -- Executing [777@adhearsion:1] AGI("SIP/7-00000000", "agi:async") in new stack
  == Spawn extension (adhearsion, 777, 1) exited non-zero on 'SIP/7-00000000'

这是跟踪模式下呼叫的粘合日志

[2017-02-13 11:57:31.423] TRACE Punchblock::Connection::Asterisk: [RECV] Event: ChallengeSent

Privilege: security,all

EventTV: 2017-02-13T11:57:31.422+0200

Severity: Informational

Service: SIP

EventVersion: 1

AccountID: sip:7@192.168.1.46

SessionID: 0x7f28300027a8

LocalAddress: IPV4/UDP/192.168.1.46/5060

RemoteAddress: IPV4/UDP/192.168.1.77/62506

Challenge: 711a03a6




[2017-02-13 11:57:31.424] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="ChallengeSent", headers={"Privilege"=>"security,all", "EventTV"=>"2017-02-13T11:57:31.422+0200", "Severity"=>"Informational", "Service"=>"SIP", "EventVersion"=>"1", "AccountID"=>"sip:7@192.168.1.46", "SessionID"=>"0x7f28300027a8", "LocalAddress"=>"IPV4/UDP/192.168.1.46/5060", "RemoteAddress"=>"IPV4/UDP/192.168.1.77/62506", "Challenge"=>"711a03a6"}, text_body=nil, events=[]>
[2017-02-13 11:57:31.432] TRACE Punchblock::Connection::Asterisk: [RECV] Event: Newchannel

Privilege: call,all

Channel: SIP/7-00000005

ChannelState: 0

ChannelStateDesc: Down

CallerIDNum: 7

CallerIDName: <unknown>

ConnectedLineNum: <unknown>

ConnectedLineName: <unknown>

Language: en

AccountCode: 

Context: adhearsion

Exten: 1234

Priority: 1

Uniqueid: 1486979851.5

Linkedid: 1486979851.5




[2017-02-13 11:57:31.433] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="Newchannel", headers={"Privilege"=>"call,all", "Channel"=>"SIP/7-00000005", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"7", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Language"=>"en", "AccountCode"=>"", "Context"=>"adhearsion", "Exten"=>"1234", "Priority"=>"1", "Uniqueid"=>"1486979851.5", "Linkedid"=>"1486979851.5"}, text_body=nil, events=[]>
[2017-02-13 11:57:31.434] TRACE Punchblock::Connection::Asterisk: [RECV] Event: VarSet

Privilege: dialplan,all

Channel: SIP/7-00000005

ChannelState: 0

ChannelStateDesc: Down

CallerIDNum: 7

CallerIDName: <unknown>

ConnectedLineNum: <unknown>

ConnectedLineName: <unknown>

Language: en

AccountCode: 

Context: adhearsion

Exten: 1234

Priority: 1

Uniqueid: 1486979851.5

Linkedid: 1486979851.5

Variable: SIPURI

Value: sip:7@192.168.1.77:62506



Event: VarSet

Privilege: dialplan,all

Channel: SIP/7-00000005

ChannelState: 0

ChannelStateDesc: Down

CallerIDNum: 7

CallerIDName: <unknown>

ConnectedLineNum: <unknown>

ConnectedLineName: <unknown>

Language: en

AccountCode: 

Context: adhearsion

Exten: 1234

Priority: 1

Uniqueid: 1486979851.5

Linkedid: 1486979851.5

Variable: SIPDOMAIN

Value: 192.168.1.46



Event: VarSet

Privilege: dialplan,all

Channel: SIP/7-00000005

ChannelState: 0

ChannelStateDesc: Down

CallerIDNum: 7

CallerIDName: <unknown>

ConnectedLineNum: <unknown>

ConnectedLineName: <unknown>

Language: en

AccountCode: 

Context: adhearsion

Exten: 1234

Priority: 1

Uniqueid: 1486979851.5

Linkedid: 1486979851.5

Variable: SIPCALLID

Value: 83372ZTFkNzU0ZmRlOTAyNWVjZTRhNjMzMmFlOTQ3ODQyMWQ



Event: Newstate

Privilege: call,all

Channel: SIP/7-00000005

ChannelState: 4

ChannelStateDesc: Ring

CallerIDNum: 7

CallerIDName: <unknown>

ConnectedLineNum: <unknown>

ConnectedLineName: <unknown>

Language: en

AccountCode: 

Context: adhearsion

Exten: 1234

Priority: 1

Uniqueid: 1486979851.5

Linkedid: 1486979851.5




[2017-02-13 11:57:31.437] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="VarSet", headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/7-00000005", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"7", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Language"=>"en", "AccountCode"=>"", "Context"=>"adhearsion", "Exten"=>"1234", "Priority"=>"1", "Uniqueid"=>"1486979851.5", "Linkedid"=>"1486979851.5", "Variable"=>"SIPURI", "Value"=>"sip:7@192.168.1.77:62506"}, text_body=nil, events=[]>
[2017-02-13 11:57:31.441] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="VarSet", headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/7-00000005", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"7", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Language"=>"en", "AccountCode"=>"", "Context"=>"adhearsion", "Exten"=>"1234", "Priority"=>"1", "Uniqueid"=>"1486979851.5", "Linkedid"=>"1486979851.5", "Variable"=>"SIPDOMAIN", "Value"=>"192.168.1.46"}, text_body=nil, events=[]>
[2017-02-13 11:57:31.441] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="VarSet", headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/7-00000005", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"7", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Language"=>"en", "AccountCode"=>"", "Context"=>"adhearsion", "Exten"=>"1234", "Priority"=>"1", "Uniqueid"=>"1486979851.5", "Linkedid"=>"1486979851.5", "Variable"=>"SIPCALLID", "Value"=>"83372ZTFkNzU0ZmRlOTAyNWVjZTRhNjMzMmFlOTQ3ODQyMWQ"}, text_body=nil, events=[]>
[2017-02-13 11:57:31.446] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="Newstate", headers={"Privilege"=>"call,all", "Channel"=>"SIP/7-00000005", "ChannelState"=>"4", "ChannelStateDesc"=>"Ring", "CallerIDNum"=>"7", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Language"=>"en", "AccountCode"=>"", "Context"=>"adhearsion", "Exten"=>"1234", "Priority"=>"1", "Uniqueid"=>"1486979851.5", "Linkedid"=>"1486979851.5"}, text_body=nil, events=[]>
[2017-02-13 11:57:31.446] TRACE Punchblock::Connection::Asterisk: [RECV] Event: SuccessfulAuth

Privilege: security,all

EventTV: 2017-02-13T11:57:31.438+0200

Severity: Informational

Service: SIP

EventVersion: 1

AccountID: 1234

SessionID: 0x7f28300027a8

LocalAddress: IPV4/UDP/192.168.1.46/5060

RemoteAddress: IPV4/UDP/192.168.1.77/62506

UsingPassword: 1



Event: Newexten

Privilege: call,all

Channel: SIP/7-00000005

ChannelState: 4

ChannelStateDesc: Ring

CallerIDNum: 7

CallerIDName: <unknown>

ConnectedLineNum: <unknown>

ConnectedLineName: <unknown>

Language: en

AccountCode: 

Context: adhearsion

Exten: 1234

Priority: 1

Uniqueid: 1486979851.5

Linkedid: 1486979851.5

Extension: 1234

Application: AGI

AppData: agi:async



Event: AsyncAGIStart

Privilege: agi,all

Channel: SIP/7-00000005

ChannelState: 4

ChannelStateDesc: Ring

CallerIDNum: 7

CallerIDName: <unknown>

ConnectedLineNum: <unknown>

ConnectedLineName: <unknown>

Language: en

AccountCode: 

Context: adhearsion

Exten: 1234

Priority: 1

Uniqueid: 1486979851.5

Linkedid: 1486979851.5

Env: agi_request%3A%20async%0Aagi_channel%3A%20SIP%2F7-00000005%0Aagi_language%3A%20en%0Aagi_type%3A%20SIP%0Aagi_uniqueid%3A%201486979851.5%0Aagi_version%3A%2014.2.1%0Aagi_callerid%3A%207%0Aagi_calleridname%3A%20unknown%0Aagi_callingpres%3A%200%0Aagi_callingani2%3A%200%0Aagi_callington%3A%200%0Aagi_callingtns%3A%200%0Aagi_dnid%3A%201234%0Aagi_rdnis%3A%20unknown%0Aagi_context%3A%20adhearsion%0Aagi_extension%3A%201234%0Aagi_priority%3A%201%0Aagi_enhanced%3A%200.0%0Aagi_accountcode%3A%20%0Aagi_threadid%3A%20139810655037184%0A%0A




[2017-02-13 11:57:31.459] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="SuccessfulAuth", headers={"Privilege"=>"security,all", "EventTV"=>"2017-02-13T11:57:31.438+0200", "Severity"=>"Informational", "Service"=>"SIP", "EventVersion"=>"1", "AccountID"=>"1234", "SessionID"=>"0x7f28300027a8", "LocalAddress"=>"IPV4/UDP/192.168.1.46/5060", "RemoteAddress"=>"IPV4/UDP/192.168.1.77/62506", "UsingPassword"=>"1"}, text_body=nil, events=[]>
[2017-02-13 11:57:31.459] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="Newexten", headers={"Privilege"=>"call,all", "Channel"=>"SIP/7-00000005", "ChannelState"=>"4", "ChannelStateDesc"=>"Ring", "CallerIDNum"=>"7", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Language"=>"en", "AccountCode"=>"", "Context"=>"adhearsion", "Exten"=>"1234", "Priority"=>"1", "Uniqueid"=>"1486979851.5", "Linkedid"=>"1486979851.5", "Extension"=>"1234", "Application"=>"AGI", "AppData"=>"agi:async"}, text_body=nil, events=[]>
[2017-02-13 11:57:31.462] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="AsyncAGIStart", headers={"Privilege"=>"agi,all", "Channel"=>"SIP/7-00000005", "ChannelState"=>"4", "ChannelStateDesc"=>"Ring", "CallerIDNum"=>"7", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Language"=>"en", "AccountCode"=>"", "Context"=>"adhearsion", "Exten"=>"1234", "Priority"=>"1", "Uniqueid"=>"1486979851.5", "Linkedid"=>"1486979851.5", "Env"=>"agi_request%3A%20async%0Aagi_channel%3A%20SIP%2F7-00000005%0Aagi_language%3A%20en%0Aagi_type%3A%20SIP%0Aagi_uniqueid%3A%201486979851.5%0Aagi_version%3A%2014.2.1%0Aagi_callerid%3A%207%0Aagi_calleridname%3A%20unknown%0Aagi_callingpres%3A%200%0Aagi_callingani2%3A%200%0Aagi_callington%3A%200%0Aagi_callingtns%3A%200%0Aagi_dnid%3A%201234%0Aagi_rdnis%3A%20unknown%0Aagi_context%3A%20adhearsion%0Aagi_extension%3A%201234%0Aagi_priority%3A%201%0Aagi_enhanced%3A%200.0%0Aagi_accountcode%3A%20%0Aagi_threadid%3A%20139810655037184%0A%0A"}, text_body=nil, events=[]>
[2017-02-13 11:58:44.800] TRACE Punchblock::Connection::Asterisk: [RECV] Event: HangupRequest

Privilege: call,all

Channel: SIP/7-00000005

ChannelState: 4

ChannelStateDesc: Ring

CallerIDNum: 7

CallerIDName: <unknown>

ConnectedLineNum: <unknown>

ConnectedLineName: <unknown>

Language: en

AccountCode: 

Context: adhearsion

Exten: 1234

Priority: 1

Uniqueid: 1486979851.5

Linkedid: 1486979851.5




[2017-02-13 11:58:44.801] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="HangupRequest", headers={"Privilege"=>"call,all", "Channel"=>"SIP/7-00000005", "ChannelState"=>"4", "ChannelStateDesc"=>"Ring", "CallerIDNum"=>"7", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Language"=>"en", "AccountCode"=>"", "Context"=>"adhearsion", "Exten"=>"1234", "Priority"=>"1", "Uniqueid"=>"1486979851.5", "Linkedid"=>"1486979851.5"}, text_body=nil, events=[]>
[2017-02-13 11:58:44.805] TRACE Punchblock::Connection::Asterisk: [RECV] Event: AsyncAGIEnd

Privilege: agi,all

Channel: SIP/7-00000005

ChannelState: 4

ChannelStateDesc: Ring

CallerIDNum: 7

CallerIDName: <unknown>

ConnectedLineNum: <unknown>

ConnectedLineName: <unknown>

Language: en

AccountCode: 

Context: adhearsion

Exten: 1234

Priority: 1

Uniqueid: 1486979851.5

Linkedid: 1486979851.5

(null): 




[2017-02-13 11:58:44.806] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="AsyncAGIEnd", headers={"Privilege"=>"agi,all", "Channel"=>"SIP/7-00000005", "ChannelState"=>"4", "ChannelStateDesc"=>"Ring", "CallerIDNum"=>"7", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Language"=>"en", "AccountCode"=>"", "Context"=>"adhearsion", "Exten"=>"1234", "Priority"=>"1", "Uniqueid"=>"1486979851.5", "Linkedid"=>"1486979851.5"}, text_body=nil, events=[]>
[2017-02-13 11:58:44.807] TRACE Punchblock::Connection::Asterisk: [RECV] Event: VarSet

Privilege: dialplan,all

Channel: SIP/7-00000005

ChannelState: 4

ChannelStateDesc: Ring

CallerIDNum: 7

CallerIDName: <unknown>

ConnectedLineNum: <unknown>

ConnectedLineName: <unknown>

Language: en

AccountCode: 

Context: adhearsion

Exten: 1234

Priority: 1

Uniqueid: 1486979851.5

Linkedid: 1486979851.5

Variable: AGISTATUS

Value: HANGUP




[2017-02-13 11:58:44.810] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="VarSet", headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/7-00000005", "ChannelState"=>"4", "ChannelStateDesc"=>"Ring", "CallerIDNum"=>"7", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Language"=>"en", "AccountCode"=>"", "Context"=>"adhearsion", "Exten"=>"1234", "Priority"=>"1", "Uniqueid"=>"1486979851.5", "Linkedid"=>"1486979851.5", "Variable"=>"AGISTATUS", "Value"=>"HANGUP"}, text_body=nil, events=[]>
[2017-02-13 11:58:44.817] TRACE Punchblock::Connection::Asterisk: [RECV] Event: SoftHangupRequest

Privilege: call,all

Channel: SIP/7-00000005

ChannelState: 4

ChannelStateDesc: Ring

CallerIDNum: 7

CallerIDName: <unknown>

ConnectedLineNum: <unknown>

ConnectedLineName: <unknown>

Language: en

AccountCode: 

Context: adhearsion

Exten: 1234

Priority: 1

Uniqueid: 1486979851.5

Linkedid: 1486979851.5

Cause: 16



Event: Hangup

Privilege: call,all

Channel: SIP/7-00000005

ChannelState: 4

ChannelStateDesc: Ring

CallerIDNum: 7

CallerIDName: <unknown>

ConnectedLineNum: <unknown>

ConnectedLineName: <unknown>

Language: en

AccountCode: 

Context: adhearsion

Exten: 1234

Priority: 1

Uniqueid: 1486979851.5

Linkedid: 1486979851.5

Cause: 0

Cause-txt: Unknown




[2017-02-13 11:58:44.817] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="SoftHangupRequest", headers={"Privilege"=>"call,all", "Channel"=>"SIP/7-00000005", "ChannelState"=>"4", "ChannelStateDesc"=>"Ring", "CallerIDNum"=>"7", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Language"=>"en", "AccountCode"=>"", "Context"=>"adhearsion", "Exten"=>"1234", "Priority"=>"1", "Uniqueid"=>"1486979851.5", "Linkedid"=>"1486979851.5", "Cause"=>"16"}, text_body=nil, events=[]>
[2017-02-13 11:58:44.819] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Event name="Hangup", headers={"Privilege"=>"call,all", "Channel"=>"SIP/7-00000005", "ChannelState"=>"4", "ChannelStateDesc"=>"Ring", "CallerIDNum"=>"7", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Language"=>"en", "AccountCode"=>"", "Context"=>"adhearsion", "Exten"=>"1234", "Priority"=>"1", "Uniqueid"=>"1486979851.5", "Linkedid"=>"1486979851.5", "Cause"=>"0", "Cause-txt"=>"Unknown"}, text_body=nil, events=[]>

0 个答案:

没有答案