Advertisement
Guest User

Adhearsion log : test call 1

a guest
Sep 24th, 2012
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.25 KB | None | 0 0
  1. last_dial_st = dial 'SIP/00359888783873@192.168.1.65', :for => 30000, :from => '359888783777'
  2.  
  3. =================================
  4.  
  5. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb22ca1c @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000043", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"Anonymous", "CallerIDName"=>"Anonymous", "AccountCode"=>"", "Exten"=>"667090200", "Context"=>"pstn-incomming", "Uniqueid"=>"1348477362.79"}, @name="Newchannel">
  6. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb16a818 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"SIPURI", "Value"=>"sip:Anonymous@192.168.1.65:5060", "Uniqueid"=>"1348477362.79"}, @name="VarSet">
  7. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb17d990 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"SIPCALLID", "Value"=>"6d6297986a2b0f946bdc4e952439381e@192.168.1.65:5060", "Uniqueid"=>"1348477362.79"}, @name="VarSet">
  8. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb175880 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"SIPDOMAIN", "Value"=>"192.168.1.40", "Uniqueid"=>"1348477362.79"}, @name="VarSet">
  9. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb357acc @headers={"Privilege"=>"system,all", "Channel"=>"SIP/pmx2-00000043", "Uniqueid"=>"1348477362.79", "Channeltype"=>"SIP", "SIPcallid"=>"6d6297986a2b0f946bdc4e952439381e@192.168.1.65:5060", "SIPfullcontact"=>""}, @name="ChannelUpdate">
  10. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb36111c @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000043", "ChannelState"=>"4", "ChannelStateDesc"=>"Ring", "CallerIDNum"=>"Anonymous", "CallerIDName"=>"Anonymous", "ConnectedLineNum"=>"", "ConnectedLineName"=>"", "Uniqueid"=>"1348477362.79"}, @name="Newstate">
  11. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb377e6c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Context"=>"pstn-incomming", "Extension"=>"667090200", "Priority"=>"1", "Application"=>"AGI", "AppData"=>"agi:async", "Uniqueid"=>"1348477362.79"}, @name="Newexten">
  12. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb3bf8e8 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/pmx2-00000043", "Env"=>"agi_request%3A%20async%0Aagi_channel%3A%20SIP%2Fpmx2-00000043%0Aagi_language%3A%20en%0Aagi_type%3A%20SIP%0Aagi_uniqueid%3A%201348477362.79%0Aagi_version%3A%2010.5.0-digiumphones%0Aagi_callerid%3A%20Anonymous%0Aagi_calleridname%3A%20Anonymous%0Aagi_callingpres%3A%200%0Aagi_callingani2%3A%200%0Aagi_callington%3A%200%0Aagi_callingtns%3A%200%0Aagi_dnid%3A%20667090200%0Aagi_rdnis%3A%20unknown%0Aagi_context%3A%20pstn-incomming%0Aagi_extension%3A%20667090200%0Aagi_priority%3A%201%0Aagi_enhanced%3A%200.0%0Aagi_accountcode%3A%20%0Aagi_threadid%3A%20-1254724800%0A%0A"}, @name="AsyncAGI">
  13. [2012-09-24 11:02:42] TRACE Punchblock::Translator::Asterisk: Handling AsyncAGI Start event by creating a new call
  14. [2012-09-24 11:02:42] DEBUG Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Starting up call with channel SIP/pmx2-00000043, id 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863
  15. [2012-09-24 11:02:42] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Sending Punchblock event: #<Punchblock::Event::Offer to="667090200", from="Anonymous <sip:Anonymous>", call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863"
  16. [2012-09-24 11:02:42] DEBUG Adhearsion::Call: : Receiving message: #<Punchblock::Event::Offer to="667090200", from="Anonymous <sip:Anonymous>", call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863"
  17. [2012-09-24 11:02:42] DEBUG Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Executing command #<Punchblock::Command::Accept headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  18. [2012-09-24 11:02:42] TRACE Punchblock::Translator::Asterisk: Executing command #<Punchblock::Command::Accept headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  19. [2012-09-24 11:02:42] DEBUG Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Executing command: #<Punchblock::Command::Accept headers_hash={}, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil, state_name=:requested>
  20. [2012-09-24 11:02:42] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Attempting to accept an inbound call. Executing RINGING.
  21. [2012-09-24 11:02:42] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Sending AGI action EXEC RINGING
  22. [2012-09-24 11:02:42] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863, Component ID: ca06eb77-cacf-44ee-80e1-7e4e1c3a3736: Starting up...
  23. [2012-09-24 11:02:42] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Sending AMI action Action: agi
  24. ActionID: 1b9e933b-fbfc-43bb-969e-0e09e9d15888
  25. Channel: SIP/pmx2-00000043
  26. Command: EXEC RINGING
  27. CommandID: ca06eb77-cacf-44ee-80e1-7e4e1c3a3736
  28.  
  29.  
  30. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [QUEUE]: Action: agi
  31. ActionID: 1b9e933b-fbfc-43bb-969e-0e09e9d15888
  32. Channel: SIP/pmx2-00000043
  33. Command: EXEC RINGING
  34. CommandID: ca06eb77-cacf-44ee-80e1-7e4e1c3a3736
  35.  
  36.  
  37. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [SEND]: Action: agi
  38. ActionID: 1b9e933b-fbfc-43bb-969e-0e09e9d15888
  39. Channel: SIP/pmx2-00000043
  40. Command: EXEC RINGING
  41. CommandID: ca06eb77-cacf-44ee-80e1-7e4e1c3a3736
  42.  
  43.  
  44. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [RECV-ACTIONS]: #<RubyAMI::Response:0xb46c9a8 @headers={"ActionID"=>"1b9e933b-fbfc-43bb-969e-0e09e9d15888", "Message"=>"Added AGI command to queue"}>
  45. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb51ed88 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"SIP/pmx2-00000043", "CommandId"=>"768491672", "Command"=>"EXEC RINGING", "ResultCode"=>"200", "Result"=>"Success"}, @name="AGIExec">
  46. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb522730 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/pmx2-00000043", "CommandId"=>"768491672", "Command"=>"EXEC RINGING"}, @name="AGIExec">
  47. [2012-09-24 11:02:42] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb535f88 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Exec", "Channel"=>"SIP/pmx2-00000043", "CommandID"=>"ca06eb77-cacf-44ee-80e1-7e4e1c3a3736", "Result"=>"200%20result%3D0%0A"}, @name="AsyncAGI">
  48. [2012-09-24 11:02:42] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863, Component ID: ca06eb77-cacf-44ee-80e1-7e4e1c3a3736: Handling response: #<RubyAMI::Response:0xb46c9a8 @headers={"ActionID"=>"1b9e933b-fbfc-43bb-969e-0e09e9d15888", "Message"=>"Added AGI command to queue"}, @action=Action: agi
  49. ActionID: 1b9e933b-fbfc-43bb-969e-0e09e9d15888
  50. Channel: SIP/pmx2-00000043
  51. Command: EXEC RINGING
  52. CommandID: ca06eb77-cacf-44ee-80e1-7e4e1c3a3736
  53.  
  54. >
  55. [2012-09-24 11:02:42] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Received an AsyncAGI event. Looking for matching AGICommand component.
  56. [2012-09-24 11:02:42] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863, Component ID: ca06eb77-cacf-44ee-80e1-7e4e1c3a3736: Setting response on component node to #<Punchblock::Ref id="ca06eb77-cacf-44ee-80e1-7e4e1c3a3736", target_call_id=nil, component_id=nil, target_mixer_name=nil>
  57. [2012-09-24 11:02:42] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863, Component ID: ca06eb77-cacf-44ee-80e1-7e4e1c3a3736: Handling AMI event: #<RubyAMI::Event:0xb535f88 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Exec", "Channel"=>"SIP/pmx2-00000043", "CommandID"=>"ca06eb77-cacf-44ee-80e1-7e4e1c3a3736", "Result"=>"200%20result%3D0%0A"}, @name="AsyncAGI">
  58. [2012-09-24 11:02:42] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863, Component ID: ca06eb77-cacf-44ee-80e1-7e4e1c3a3736: Received AsyncAGI:Exec event, sending complete event.
  59. [2012-09-24 11:02:42] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863, Component ID: ca06eb77-cacf-44ee-80e1-7e4e1c3a3736: Sending event #<Punchblock::Event::Complete reason=#<Punchblock::Component::Asterisk::AGI::Command::Complete::Success code=200, result=0, data="">, recording=nil, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id="ca06eb77-cacf-44ee-80e1-7e4e1c3a3736", target_mixer_name=nil>
  60. [2012-09-24 11:02:42] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: AGI action received complete event #<Punchblock::Event::Complete reason=#<Punchblock::Component::Asterisk::AGI::Command::Complete::Success code=200, result=0, data="">, recording=nil, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id="ca06eb77-cacf-44ee-80e1-7e4e1c3a3736", target_mixer_name=nil>
  61. [2012-09-24 11:02:42] INFO Adhearsion::Router: Call 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863 selected route "FROM-PSTN2" (Voiceservices)
  62. [2012-09-24 11:02:42] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Voiceservices controller
  63. [2012-09-24 11:02:42] DEBUG Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Receiving message: #<Punchblock::Event::Offer to="667090200", from="Anonymous <sip:Anonymous>", call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863"
  64. [2012-09-24 11:02:42] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: call.from is Anonymous <sip:Anonymous>
  65. [2012-09-24 11:02:42] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: #<Adhearsion::Call:6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863 offer=#<Punchblock::Event::Offer to="667090200", from="Anonymous <sip:Anonymous>", call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", end_reason=nil, commands=[#<Punchblock::Command::Accept headers_hash={}, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil, state_name=:executing>], variables={:x_agi_request=>"async", :x_agi_channel=>"SIP/pmx2-00000043", :x_agi_language=>"en", :x_agi_type=>"SIP", :x_agi_uniqueid=>"1348477362.79", :x_agi_version=>"10.5.0-digiumphones", :x_agi_callerid=>"Anonymous", :x_agi_calleridname=>"Anonymous", :x_agi_callingpres=>"0", :x_agi_callingani2=>"0", :x_agi_callington=>"0", :x_agi_callingtns=>"0", :x_agi_dnid=>"667090200", :x_agi_rdnis=>"unknown", :x_agi_context=>"pstn-incomming", :x_agi_extension=>"667090200", :x_agi_priority=>"1", :x_agi_enhanced=>"0.0", :x_agi_accountcode=>"", :x_agi_threadid=>"-1254724800"}, controllers=[#<Voiceservices call=6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863, metadata={}>], to="667090200", from="Anonymous <sip:Anonymous>">
  66. [2012-09-24 11:02:42] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: call.from Anonymous <sip:Anonymous>
  67. [2012-09-24 11:02:42] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: call.to 667090200
  68. [2012-09-24 11:02:42] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Channel: SIP/pmx2-00000043
  69. [2012-09-24 11:02:42] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: ========cid_num 496151Anonymous <sip:Anonymous>============ Anonymous
  70. [2012-09-24 11:02:42] INFO Peer: ================================ Anonymous
  71. [2012-09-24 11:02:43] INFO Peer: user_id =
  72. [2012-09-24 11:02:43] INFO Peer: ================================ 667090200
  73. [2012-09-24 11:02:43] INFO Peer: user_id = 1277
  74. [2012-09-24 11:02:43] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Peers: [Peer => { :type=>PSTN, :number=>0, :gateway=>192.168.1.65, :user_id=>, :dial_timeout=>30, :type_id=>10, :mailboxnumber=>false }, Peer => { :type=>SIP, :number=>667090200, :gateway=>, :user_id=>1277, :dial_timeout=>45, :type_id=>, :mailboxnumber=>false }]
  75. [2012-09-24 11:02:43] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: PSTN -> VOIP
  76. [2012-09-24 11:02:43] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: +++++++++++++ owWtTgi
  77. [2012-09-24 11:02:43] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: SMS = false
  78. [2012-09-24 11:02:43] INFO Pbxhelper: 1 rules found for user.id 1277
  79. [2012-09-24 11:02:43] INFO Pbxhelper: Adding general rule or specific rule for caller 0
  80. [2012-09-24 11:02:43] INFO Pbxhelper: 1 rules found
  81. [2012-09-24 11:02:43] INFO Pbxhelper: 1 triggers found for rule (Revvl Forwarding 667090200)
  82. [2012-09-24 11:02:43] INFO Pbxhelper: Checking trigger --- !ruby/object:Timetrigger
  83. attributes:
  84. id: 5040
  85. trigger_from: 2012-07-09 00:00:00.000000000 Z
  86. trigger_to: 2012-07-09 23:59:59.000000000 Z
  87. repeat: daily
  88. created_at: 2012-07-09 11:03:42.000000000 Z
  89. updated_at: 2012-07-09 11:03:42.000000000 Z
  90. pbxrule_id: 5143
  91. , trigger_now? = true
  92. [2012-09-24 11:02:43] INFO Pbxhelper: adding trigger to rule (Revvl Forwarding 667090200)
  93. [2012-09-24 11:02:43] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Rule found (Revvl Forwarding 667090200)
  94. [2012-09-24 11:02:43] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Executing ring rule
  95. [2012-09-24 11:02:43] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Number 00359876338826, Type CELL
  96. [2012-09-24 11:02:43] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Number 00359888783873, Type CELL
  97. [2012-09-24 11:02:43] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: ++++++++++++ 496151Anonymous +++++++++++++++++++ ["SIP/00359876338826@192.168.1.65", "SIP/00359888783873@192.168.1.65"]
  98. [2012-09-24 11:02:43] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Dialing:
  99. [2012-09-24 11:02:43] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Dialing ...
  100. [2012-09-24 11:02:43] DEBUG Adhearsion::OutboundCall: : Executing command #<Punchblock::Command::Dial to="SIP/00359888783873@192.168.1.65", from="359888783777", join=nil, headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  101. [2012-09-24 11:02:43] TRACE Punchblock::Translator::Asterisk: Executing command #<Punchblock::Command::Dial to="SIP/00359888783873@192.168.1.65", from="359888783777", join=nil, headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  102. [2012-09-24 11:02:43] DEBUG Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Starting up call with channel SIP/00359888783873@192.168.1.65, id 740236b8-4238-46c8-bb1e-32837286a732
  103. [2012-09-24 11:02:43] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction: c42ebc9f-0464-4717-853a-c89e4ca21383: Starting up...
  104. [2012-09-24 11:02:43] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction: c42ebc9f-0464-4717-853a-c89e4ca21383: Setting response on component node to #<Punchblock::Ref id="c42ebc9f-0464-4717-853a-c89e4ca21383", target_call_id=nil, component_id=nil, target_mixer_name=nil>
  105. [2012-09-24 11:02:43] TRACE RubyAMI::Client: [QUEUE]: Action: originate
  106. ActionID: c42ebc9f-0464-4717-853a-c89e4ca21383
  107. Async: true
  108. Application: AGI
  109. Data: agi:async
  110. Channel: SIP/00359888783873@192.168.1.65
  111. Callerid: 359888783777
  112. Variable: punchblock_call_id=740236b8-4238-46c8-bb1e-32837286a732
  113. Timeout: 30000
  114.  
  115.  
  116. [2012-09-24 11:02:43] TRACE RubyAMI::Client: [SEND]: Action: originate
  117. ActionID: c42ebc9f-0464-4717-853a-c89e4ca21383
  118. Async: true
  119. Application: AGI
  120. Data: agi:async
  121. Channel: SIP/00359888783873@192.168.1.65
  122. Callerid: 359888783777
  123. Variable: punchblock_call_id=740236b8-4238-46c8-bb1e-32837286a732
  124. Timeout: 30000
  125.  
  126.  
  127. [2012-09-24 11:02:43] TRACE RubyAMI::Client: [RECV-ACTIONS]: #<RubyAMI::Response:0xb3f3968 @headers={"ActionID"=>"c42ebc9f-0464-4717-853a-c89e4ca21383", "Message"=>"Originate successfully queued"}>
  128. [2012-09-24 11:02:43] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction: c42ebc9f-0464-4717-853a-c89e4ca21383: Handling response #<RubyAMI::Response:0xb3f3968 @headers={"ActionID"=>"c42ebc9f-0464-4717-853a-c89e4ca21383", "Message"=>"Originate successfully queued"}, @action=Action: originate
  129. ActionID: c42ebc9f-0464-4717-853a-c89e4ca21383
  130. Async: true
  131. Application: AGI
  132. Data: agi:async
  133. Channel: SIP/00359888783873@192.168.1.65
  134. Callerid: 359888783777
  135. Variable: punchblock_call_id=740236b8-4238-46c8-bb1e-32837286a732
  136. Timeout: 30000
  137.  
  138. >
  139. [2012-09-24 11:02:43] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction: c42ebc9f-0464-4717-853a-c89e4ca21383: Sending event #<Punchblock::Event::Complete reason=#<Punchblock::Component::Asterisk::AMI::Action::Complete::Success message="Originate successfully queued", attributes_hash={}>, recording=nil, target_call_id=nil, component_id="c42ebc9f-0464-4717-853a-c89e4ca21383", target_mixer_name=nil>
  140. [2012-09-24 11:02:43] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xabc2708 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"SIPCALLID", "Value"=>"45adfc61069b475934a52caa54a5948a@192.168.1.40:5060", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  141. [2012-09-24 11:02:43] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb2f2104 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-00000044", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"", "CallerIDName"=>"", "AccountCode"=>"", "Exten"=>"", "Context"=>"voiceservices", "Uniqueid"=>"1348477363.80"}, @name="Newchannel">
  142. [2012-09-24 11:02:43] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xab866cc @headers={"Privilege"=>"system,all", "Channel"=>"SIP/192.168.1.65-00000044", "Uniqueid"=>"1348477363.80", "Channeltype"=>"SIP", "SIPcallid"=>"45adfc61069b475934a52caa54a5948a@192.168.1.40:5060", "SIPfullcontact"=>""}, @name="ChannelUpdate">
  143. [2012-09-24 11:02:43] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb1e9280 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"punchblock_call_id", "Value"=>"740236b8-4238-46c8-bb1e-32837286a732", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  144. [2012-09-24 11:02:43] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaf3f28c @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-00000044", "Uniqueid"=>"1348477363.80", "AccountCode"=>"", "OldAccountCode"=>""}, @name="NewAccountCode">
  145. [2012-09-24 11:02:43] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xadeb430 @headers={"Privilege"=>"system,all", "Channel"=>"SIP/192.168.1.65-00000044", "Channeltype"=>"SIP", "SIPcallid"=>"45adfc61069b475934a52caa54a5948a@192.168.1.40:5060", "SIPfullcontact"=>"", "Peername"=>"00359888783873"}, @name="ChannelUpdate">
  146. [2012-09-24 11:02:43] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb2558b8 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-00000044", "CallerIDNum"=>"359888783777", "CallerIDName"=>"", "Uniqueid"=>"1348477363.80", "CID-CallingPres"=>"0 (Presentation Allowed, Not Screened)"}, @name="NewCallerid">
  147. [2012-09-24 11:02:43] TRACE Punchblock::Translator::Asterisk: Received a VarSet event indicating the full channel for call #<Punchblock::Translator::Asterisk::Call:740236b8-4238-46c8-bb1e-32837286a732 Channel: "SIP/00359888783873@192.168.1.65">
  148. [2012-09-24 11:02:43] TRACE Punchblock::Translator::Asterisk: Removed call with old channel from channel map: {"SIP/pmx2-00000041"=>"9f3794f0-55df-4ca6-a7eb-6380662f2bc6", "SIP/192.168.1.65-00000042"=>"742ceca3-cf40-400f-a25a-7ae34021c726", "SIP/pmx2-00000043"=>"6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863"}
  149. [2012-09-24 11:02:43] INFO Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Channel is changing from SIP/00359888783873@192.168.1.65 to SIP/192.168.1.65-00000044.
  150. [2012-09-24 11:02:50] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xab26510 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-00000044", "ChannelState"=>"5", "ChannelStateDesc"=>"Ringing", "CallerIDNum"=>"359888783777", "CallerIDName"=>"", "ConnectedLineNum"=>"359888783777", "ConnectedLineName"=>"", "Uniqueid"=>"1348477363.80"}, @name="Newstate">
  151. [2012-09-24 11:02:50] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Received a Newstate AMI event with state 5: Ringing
  152. [2012-09-24 11:02:50] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Sending Punchblock event: #<Punchblock::Event::Ringing headers_hash={}, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  153. [2012-09-24 11:02:50] DEBUG Adhearsion::OutboundCall: 740236b8-4238-46c8-bb1e-32837286a732: Receiving message: #<Punchblock::Event::Ringing headers_hash={}, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  154. [2012-09-24 11:02:53] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb196cb0 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-00000044", "ChannelState"=>"6", "ChannelStateDesc"=>"Up", "CallerIDNum"=>"359888783777", "CallerIDName"=>"", "ConnectedLineNum"=>"359888783777", "ConnectedLineName"=>"", "Uniqueid"=>"1348477363.80"}, @name="Newstate">
  155. [2012-09-24 11:02:53] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb32fb1c @headers={"Privilege"=>"system,all", "Channel"=>"SIP/192.168.1.65-00000044", "Channeltype"=>"SIP", "Uniqueid"=>"1348477363.80", "SIPcallid"=>"45adfc61069b475934a52caa54a5948a@192.168.1.40:5060", "SIPfullcontact"=>"sip:00359888783873@192.168.1.65:5060", "Peername"=>"00359888783873"}, @name="ChannelUpdate">
  156. [2012-09-24 11:02:53] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb01bd7c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"punchblock_call_id", "Value"=>"740236b8-4238-46c8-bb1e-32837286a732", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  157. [2012-09-24 11:02:53] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb1b56c4 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-00000044", "Uniqueid"=>"1348477363.80", "AccountCode"=>"", "OldAccountCode"=>""}, @name="NewAccountCode">
  158. [2012-09-24 11:02:53] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb2e7e34 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/192.168.1.65-00000044", "Env"=>"agi_request%3A%20async%0Aagi_channel%3A%20SIP%2F192.168.1.65-00000044%0Aagi_language%3A%20en%0Aagi_type%3A%20SIP%0Aagi_uniqueid%3A%201348477363.80%0Aagi_version%3A%2010.5.0-digiumphones%0Aagi_callerid%3A%20359888783777%0Aagi_calleridname%3A%20unknown%0Aagi_callingpres%3A%200%0Aagi_callingani2%3A%200%0Aagi_callington%3A%200%0Aagi_callingtns%3A%200%0Aagi_dnid%3A%20unknown%0Aagi_rdnis%3A%20unknown%0Aagi_context%3A%20voiceservices%0Aagi_extension%3A%20%0Aagi_priority%3A%201%0Aagi_enhanced%3A%200.0%0Aagi_accountcode%3A%20%0Aagi_threadid%3A%20-1254233280%0A%0A"}, @name="AsyncAGI">
  159. [2012-09-24 11:02:53] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaf1f4a0 @headers={"Privilege"=>"call,all", "ActionID"=>"c42ebc9f-0464-4717-853a-c89e4ca21383", "Response"=>"Success", "Channel"=>"SIP/192.168.1.65-00000044", "Context"=>"", "Exten"=>"", "Reason"=>"4", "Uniqueid"=>"1348477363.80", "CallerIDNum"=>"359888783777", "CallerIDName"=>"<unknown>"}, @name="OriginateResponse">
  160. [2012-09-24 11:02:53] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Received a Newstate AMI event with state 6: Up
  161. [2012-09-24 11:02:53] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Sending Punchblock event: #<Punchblock::Event::Answered headers_hash={}, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  162. [2012-09-24 11:02:53] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Received an AsyncAGI event. Looking for matching AGICommand component.
  163. [2012-09-24 11:02:53] WARN Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Could not find component for AMI event: #<RubyAMI::Event:0xb2e7e34 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/192.168.1.65-00000044", "Env"=>"agi_request%3A%20async%0Aagi_channel%3A%20SIP%2F192.168.1.65-00000044%0Aagi_language%3A%20en%0Aagi_type%3A%20SIP%0Aagi_uniqueid%3A%201348477363.80%0Aagi_version%3A%2010.5.0-digiumphones%0Aagi_callerid%3A%20359888783777%0Aagi_calleridname%3A%20unknown%0Aagi_callingpres%3A%200%0Aagi_callingani2%3A%200%0Aagi_callington%3A%200%0Aagi_callingtns%3A%200%0Aagi_dnid%3A%20unknown%0Aagi_rdnis%3A%20unknown%0Aagi_context%3A%20voiceservices%0Aagi_extension%3A%20%0Aagi_priority%3A%201%0Aagi_enhanced%3A%200.0%0Aagi_accountcode%3A%20%0Aagi_threadid%3A%20-1254233280%0A%0A"}, @name="AsyncAGI">
  164. [2012-09-24 11:02:53] TRACE Punchblock::Translator::Asterisk: Received a VarSet event indicating the full channel for call #<Punchblock::Translator::Asterisk::Call:740236b8-4238-46c8-bb1e-32837286a732 Channel: "SIP/192.168.1.65-00000044">
  165. [2012-09-24 11:02:53] TRACE Punchblock::Translator::Asterisk: Removed call with old channel from channel map: {"SIP/pmx2-00000041"=>"9f3794f0-55df-4ca6-a7eb-6380662f2bc6", "SIP/192.168.1.65-00000042"=>"742ceca3-cf40-400f-a25a-7ae34021c726", "SIP/pmx2-00000043"=>"6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863"}
  166. [2012-09-24 11:02:53] DEBUG Adhearsion::OutboundCall: 740236b8-4238-46c8-bb1e-32837286a732: Receiving message: #<Punchblock::Event::Answered headers_hash={}, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  167. [2012-09-24 11:02:53] INFO Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Channel is changing from SIP/192.168.1.65-00000044 to SIP/192.168.1.65-00000044.
  168. [2012-09-24 11:02:53] DEBUG Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: #dial joining call 740236b8-4238-46c8-bb1e-32837286a732 to 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863
  169. [2012-09-24 11:02:53] DEBUG Adhearsion::OutboundCall: 740236b8-4238-46c8-bb1e-32837286a732: Executing command #<Punchblock::Command::Join call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", mixer_name=nil, direction=nil, media=nil, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  170. [2012-09-24 11:02:53] TRACE Punchblock::Translator::Asterisk: Executing command #<Punchblock::Command::Join call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", mixer_name=nil, direction=nil, media=nil, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  171. [2012-09-24 11:02:53] DEBUG Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Executing command: #<Punchblock::Command::Join call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", mixer_name=nil, direction=nil, media=nil, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil, state_name=:requested>
  172. [2012-09-24 11:02:53] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Sending AGI action EXEC Bridge
  173. [2012-09-24 11:02:53] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 740236b8-4238-46c8-bb1e-32837286a732, Component ID: f5b0580d-639f-47eb-80c3-a78376d6710a: Starting up...
  174. [2012-09-24 11:02:53] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Sending AMI action Action: agi
  175. ActionID: 5ae8e6af-5bdc-447e-bfc4-dfcd412e615f
  176. Channel: SIP/192.168.1.65-00000044
  177. Command: EXEC Bridge "SIP/pmx2-00000043"
  178. CommandID: f5b0580d-639f-47eb-80c3-a78376d6710a
  179.  
  180.  
  181. [2012-09-24 11:02:53] TRACE RubyAMI::Client: [QUEUE]: Action: agi
  182. ActionID: 5ae8e6af-5bdc-447e-bfc4-dfcd412e615f
  183. Channel: SIP/192.168.1.65-00000044
  184. Command: EXEC Bridge "SIP/pmx2-00000043"
  185. CommandID: f5b0580d-639f-47eb-80c3-a78376d6710a
  186.  
  187.  
  188. [2012-09-24 11:02:53] TRACE RubyAMI::Client: [SEND]: Action: agi
  189. ActionID: 5ae8e6af-5bdc-447e-bfc4-dfcd412e615f
  190. Channel: SIP/192.168.1.65-00000044
  191. Command: EXEC Bridge "SIP/pmx2-00000043"
  192. CommandID: f5b0580d-639f-47eb-80c3-a78376d6710a
  193.  
  194.  
  195. [2012-09-24 11:02:53] TRACE RubyAMI::Client: [RECV-ACTIONS]: #<RubyAMI::Response:0xb34c870 @headers={"ActionID"=>"5ae8e6af-5bdc-447e-bfc4-dfcd412e615f", "Message"=>"Added AGI command to queue"}>
  196. [2012-09-24 11:02:53] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 740236b8-4238-46c8-bb1e-32837286a732, Component ID: f5b0580d-639f-47eb-80c3-a78376d6710a: Handling response: #<RubyAMI::Response:0xb34c870 @headers={"ActionID"=>"5ae8e6af-5bdc-447e-bfc4-dfcd412e615f", "Message"=>"Added AGI command to queue"}, @action=Action: agi
  197. ActionID: 5ae8e6af-5bdc-447e-bfc4-dfcd412e615f
  198. Channel: SIP/192.168.1.65-00000044
  199. Command: EXEC Bridge "SIP/pmx2-00000043"
  200. CommandID: f5b0580d-639f-47eb-80c3-a78376d6710a
  201.  
  202. >
  203. [2012-09-24 11:02:53] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 740236b8-4238-46c8-bb1e-32837286a732, Component ID: f5b0580d-639f-47eb-80c3-a78376d6710a: Setting response on component node to #<Punchblock::Ref id="f5b0580d-639f-47eb-80c3-a78376d6710a", target_call_id=nil, component_id=nil, target_mixer_name=nil>
  204. [2012-09-24 11:02:53] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb360ff0 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000043", "ChannelState"=>"6", "ChannelStateDesc"=>"Up", "CallerIDNum"=>"Anonymous", "CallerIDName"=>"Anonymous", "ConnectedLineNum"=>"", "ConnectedLineName"=>"", "Uniqueid"=>"1348477362.79"}, @name="Newstate">
  205. [2012-09-24 11:02:53] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb355a60 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/192.168.1.65-00000044", "CommandId"=>"1403662565", "Command"=>"EXEC Bridge \"SIP/pmx2-00000043\""}, @name="AGIExec">
  206. [2012-09-24 11:02:53] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Received a Newstate AMI event with state 6: Up
  207. [2012-09-24 11:02:53] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Sending Punchblock event: #<Punchblock::Event::Answered headers_hash={}, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil>
  208. [2012-09-24 11:02:53] DEBUG Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Receiving message: #<Punchblock::Event::Answered headers_hash={}, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil>
  209. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb3d533c @headers={"Privilege"=>"call,all", "State"=>"Stop", "Channel"=>"SIP/pmx2-00000043", "UniqueID"=>"1348477362.79"}, @name="MusicOnHold">
  210. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb3cd5b0 @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-00000043", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"", "CallerIDName"=>"", "AccountCode"=>"", "Exten"=>"", "Context"=>"", "Uniqueid"=>"1348477374.81"}, @name="Newchannel">
  211. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb485f98 @headers={"Privilege"=>"call,all", "Clone"=>"SIP/pmx2-00000043", "CloneState"=>"Up", "Original"=>"Bridge/SIP/pmx2-00000043", "OriginalState"=>"Up"}, @name="Masquerade">
  212. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb4915f0 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000043", "Newname"=>"SIP/pmx2-00000043<MASQ>", "Uniqueid"=>"1348477362.79"}, @name="Rename">
  213. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb49df1c @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-00000043", "Newname"=>"SIP/pmx2-00000043", "Uniqueid"=>"1348477374.81"}, @name="Rename">
  214. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb4a9ac4 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000043<MASQ>", "Newname"=>"Bridge/SIP/pmx2-00000043<ZOMBIE>", "Uniqueid"=>"1348477362.79"}, @name="Rename">
  215. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb4b56bc @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000043", "CallerIDNum"=>"Anonymous", "CallerIDName"=>"Anonymous", "Uniqueid"=>"1348477374.81", "CID-CallingPres"=>"0 (Presentation Allowed, Not Screened)"}, @name="NewCallerid">
  216. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb4cf184 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"Bridge/SIP/pmx2-00000043<ZOMBIE>"}, @name="AsyncAGI">
  217. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb4cc290 @headers={"Privilege"=>"dialplan,all", "Channel"=>"Bridge/SIP/pmx2-00000043<ZOMBIE>", "Variable"=>"AGISTATUS", "Value"=>"HANGUP", "Uniqueid"=>"1348477362.79"}, @name="VarSet">
  218. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb3e262c @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-00000043", "ChannelState"=>"6", "ChannelStateDesc"=>"Up", "CallerIDNum"=>"", "CallerIDName"=>"", "ConnectedLineNum"=>"", "ConnectedLineName"=>"", "Uniqueid"=>"1348477374.81"}, @name="Newstate">
  219. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb403d04 @headers={"Privilege"=>"dialplan,all", "Channel"=>"Bridge/SIP/pmx2-00000043<ZOMBIE>", "Context"=>"pstn-incomming", "Extension"=>"h", "Priority"=>"1", "Application"=>"NoOp", "AppData"=>"", "Uniqueid"=>"1348477362.79"}, @name="Newexten">
  220. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb3f8ecc @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-00000043<ZOMBIE>", "Uniqueid"=>"1348477362.79", "Cause"=>"16"}, @name="SoftHangupRequest">
  221. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb425b70 @headers={"Privilege"=>"call,all", "Response"=>"Success", "Channel1"=>"SIP/192.168.1.65-00000044", "Channel2"=>"SIP/pmx2-00000043"}, @name="BridgeExec">
  222. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb40d958 @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-00000043<ZOMBIE>", "Uniqueid"=>"1348477362.79", "CallerIDNum"=>"<unknown>", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Cause"=>"0", "Cause-txt"=>"Unknown"}, @name="Hangup">
  223. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb43c280 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-00000044", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  224. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb431970 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-00000043", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  225. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb4485bc @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000043", "Uniqueid"=>"1348477374.81", "AccountCode"=>"", "OldAccountCode"=>""}, @name="NewAccountCode">
  226. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb452d14 @headers={"Privilege"=>"call,all", "Bridgestate"=>"Link", "Bridgetype"=>"core", "Channel1"=>"SIP/192.168.1.65-00000044", "Channel2"=>"SIP/pmx2-00000043", "Uniqueid1"=>"1348477363.80", "Uniqueid2"=>"1348477374.81", "CallerID1"=>"359888783777", "CallerID2"=>"Anonymous"}, @name="Bridge">
  227. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb46adb0 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-00000043", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  228. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb528950 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-00000044", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  229. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb532dec @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"45adfc61069b475934a52caa54a5948a@192.168.1.40:5060", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  230. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb51f4a4 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"6d6297986a2b0f946bdc4e952439381e@192.168.1.65:5060", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  231. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xba2c244 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-00000043", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  232. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb4da50c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"6d6297986a2b0f946bdc4e952439381e@192.168.1.65:5060", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  233. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb9fb950 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-00000044", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  234. [2012-09-24 11:02:54] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb56952c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"45adfc61069b475934a52caa54a5948a@192.168.1.40:5060", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  235. [2012-09-24 11:02:54] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Sending Punchblock event: #<Punchblock::Event::Joined call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", mixer_name=nil, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  236. [2012-09-24 11:02:54] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Sending Punchblock event: #<Punchblock::Event::Joined call_id="740236b8-4238-46c8-bb1e-32837286a732", mixer_name=nil, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil>
  237. [2012-09-24 11:02:54] DEBUG Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Receiving message: #<Punchblock::Event::Joined call_id="740236b8-4238-46c8-bb1e-32837286a732", mixer_name=nil, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil>
  238. [2012-09-24 11:02:54] DEBUG Adhearsion::OutboundCall: 740236b8-4238-46c8-bb1e-32837286a732: Receiving message: #<Punchblock::Event::Joined call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", mixer_name=nil, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  239. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5194a3c @headers={"Privilege"=>"call,all", "Bridgestate"=>"Unlink", "Bridgetype"=>"core", "Channel1"=>"SIP/192.168.1.65-00000044", "Channel2"=>"SIP/pmx2-00000043", "Uniqueid1"=>"1348477363.80", "Uniqueid2"=>"1348477374.81", "CallerID1"=>"359888783777", "CallerID2"=>"Anonymous"}, @name="Bridge">
  240. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5190748 @headers={"Privilege"=>"dtmf,all", "Channel"=>"SIP/192.168.1.65-00000044", "Uniqueid"=>"1348477363.80", "Digit"=>"5", "Direction"=>"Received", "Begin"=>"Yes", "End"=>"No"}, @name="DTMF">
  241. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb519f554 @headers={"Privilege"=>"dtmf,all", "Channel"=>"SIP/pmx2-00000043", "Uniqueid"=>"1348477374.81", "Digit"=>"5", "Direction"=>"Sent", "Begin"=>"Yes", "End"=>"No"}, @name="DTMF">
  242. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb51a457c @headers={"Privilege"=>"call,all", "Bridgestate"=>"Link", "Bridgetype"=>"core", "Channel1"=>"SIP/192.168.1.65-00000044", "Channel2"=>"SIP/pmx2-00000043", "Uniqueid1"=>"1348477363.80", "Uniqueid2"=>"1348477374.81", "CallerID1"=>"359888783777", "CallerID2"=>"Anonymous"}, @name="Bridge">
  243. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb51a73d0 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-00000043", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  244. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb51ac7a4 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"6d6297986a2b0f946bdc4e952439381e@192.168.1.65:5060", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  245. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb51b0e94 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-00000044", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  246. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52a7280 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"45adfc61069b475934a52caa54a5948a@192.168.1.40:5060", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  247. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52ab63c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-00000043", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  248. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52b0e98 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"6d6297986a2b0f946bdc4e952439381e@192.168.1.65:5060", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  249. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52b4e58 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-00000044", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  250. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52ba54c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"45adfc61069b475934a52caa54a5948a@192.168.1.40:5060", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  251. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Sending Punchblock event: #<Punchblock::Event::Unjoined call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", mixer_name=nil, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  252. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Sending Punchblock event: #<Punchblock::Event::Unjoined call_id="740236b8-4238-46c8-bb1e-32837286a732", mixer_name=nil, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil>
  253. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Sending Punchblock event: #<Punchblock::Event::Joined call_id="740236b8-4238-46c8-bb1e-32837286a732", mixer_name=nil, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil>
  254. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Sending Punchblock event: #<Punchblock::Event::Joined call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", mixer_name=nil, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  255. [2012-09-24 11:03:03] DEBUG Adhearsion::OutboundCall: 740236b8-4238-46c8-bb1e-32837286a732: Receiving message: #<Punchblock::Event::Unjoined call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", mixer_name=nil, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  256. [2012-09-24 11:03:03] DEBUG Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Receiving message: #<Punchblock::Event::Unjoined call_id="740236b8-4238-46c8-bb1e-32837286a732", mixer_name=nil, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil>
  257. [2012-09-24 11:03:03] DEBUG Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Receiving message: #<Punchblock::Event::Joined call_id="740236b8-4238-46c8-bb1e-32837286a732", mixer_name=nil, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil>
  258. [2012-09-24 11:03:03] DEBUG Adhearsion::OutboundCall: 740236b8-4238-46c8-bb1e-32837286a732: Receiving message: #<Punchblock::Event::Joined call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", mixer_name=nil, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  259. [2012-09-24 11:03:03] DEBUG Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: #dial finished. Hanging up 1 outbound calls: 740236b8-4238-46c8-bb1e-32837286a732.
  260. [2012-09-24 11:03:03] INFO Adhearsion::OutboundCall: 740236b8-4238-46c8-bb1e-32837286a732: Hanging up
  261. [2012-09-24 11:03:03] DEBUG Adhearsion::OutboundCall: 740236b8-4238-46c8-bb1e-32837286a732: Executing command #<Punchblock::Command::Hangup headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  262. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk: Executing command #<Punchblock::Command::Hangup headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  263. [2012-09-24 11:03:03] DEBUG Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Executing command: #<Punchblock::Command::Hangup headers_hash={}, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil, state_name=:requested>
  264. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Sending AMI action Action: hangup
  265. ActionID: 0c48b331-bd2f-482c-af99-1a0144b68821
  266. Channel: SIP/192.168.1.65-00000044
  267.  
  268.  
  269. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [QUEUE]: Action: hangup
  270. ActionID: 0c48b331-bd2f-482c-af99-1a0144b68821
  271. Channel: SIP/192.168.1.65-00000044
  272.  
  273.  
  274. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [SEND]: Action: hangup
  275. ActionID: 0c48b331-bd2f-482c-af99-1a0144b68821
  276. Channel: SIP/192.168.1.65-00000044
  277.  
  278.  
  279. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb518e5b0 @headers={"Privilege"=>"call,all", "Bridgestate"=>"Unlink", "Bridgetype"=>"core", "Channel1"=>"SIP/192.168.1.65-00000044", "Channel2"=>"SIP/pmx2-00000043", "Uniqueid1"=>"1348477363.80", "Uniqueid2"=>"1348477374.81", "CallerID1"=>"359888783777", "CallerID2"=>"Anonymous"}, @name="Bridge">
  280. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-ACTIONS]: #<RubyAMI::Response:0xb52c5140 @headers={"ActionID"=>"0c48b331-bd2f-482c-af99-1a0144b68821", "Message"=>"Channel Hungup"}>
  281. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb452f6c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Context"=>"voiceservices", "Extension"=>"h", "Priority"=>"1", "Application"=>"NoOp", "AppData"=>"", "Uniqueid"=>"1348477363.80"}, @name="Newexten">
  282. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb369ce50 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-00000044", "Uniqueid"=>"1348477363.80", "Cause"=>"16"}, @name="SoftHangupRequest">
  283. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Sending Punchblock event: #<Punchblock::Event::Unjoined call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", mixer_name=nil, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  284. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Sending Punchblock event: #<Punchblock::Event::Unjoined call_id="740236b8-4238-46c8-bb1e-32837286a732", mixer_name=nil, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil>
  285. [2012-09-24 11:03:03] DEBUG Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Receiving message: #<Punchblock::Event::Unjoined call_id="740236b8-4238-46c8-bb1e-32837286a732", mixer_name=nil, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil>
  286. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xad20924 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"BRIDGERESULT", "Value"=>"SUCCESS", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  287. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xae35850 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"SIP/192.168.1.65-00000044", "CommandId"=>"1403662565", "Command"=>"EXEC Bridge \"SIP/pmx2-00000043\"", "ResultCode"=>"200", "Result"=>"Success"}, @name="AGIExec">
  288. [2012-09-24 11:03:03] DEBUG Adhearsion::OutboundCall: 740236b8-4238-46c8-bb1e-32837286a732: Receiving message: #<Punchblock::Event::Unjoined call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", mixer_name=nil, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  289. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaaeb820 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000043", "Uniqueid"=>"1348477374.81", "Cause"=>"16"}, @name="SoftHangupRequest">
  290. [2012-09-24 11:03:03] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: dial Command finished
  291. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xae95980 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Exec", "Channel"=>"SIP/192.168.1.65-00000044", "CommandID"=>"f5b0580d-639f-47eb-80c3-a78376d6710a", "Result"=>"200%20result%3D0%0A"}, @name="AsyncAGI">
  292. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xad4f774 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Context"=>"pstn-incomming", "Extension"=>"h", "Priority"=>"1", "Application"=>"NoOp", "AppData"=>"", "Uniqueid"=>"1348477374.81"}, @name="Newexten">
  293. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaa69e88 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"SIP/192.168.1.65-00000044"}, @name="AsyncAGI">
  294. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb036ca8 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"RTPAUDIOQOS", "Value"=>"ssrc=39387165;themssrc=226604134;lp=0;rxjitter=0.000012;rxcount=484;txjitter=0.000000;txcount=486;rlp=0;rtt=0.000000", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  295. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb0c3cac @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"AGISTATUS", "Value"=>"HANGUP", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  296. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xab50608 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"RTPAUDIOQOSJITTER", "Value"=>"minrxjitter=0.000000;maxrxjitter=0.000000;avgrxjitter=0.000000;stdevrxjitter=0.000000;reported_minjitter=0.000000;reported_maxjitter=0.000000;reported_avgjitter=0.000000;reported_stdevjitter=0.000000;", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  297. [2012-09-24 11:03:03] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: ++++++++++++++++++++++--===--+++++++
  298. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xab26038 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"RTPAUDIOQOSLOSS", "Value"=>"minrxlost=0.000000;maxrxlost=0.000000;avgrxlost=0.000000;stdevrxlost=0.000000;reported_minlost=0.000000;reported_maxlost=0.000000;reported_avglost=0.000000;reported_stdevlost=0.000000;", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  299. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaeb6108 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"RTPAUDIOQOS", "Value"=>"ssrc=556586168;themssrc=300052951;lp=0;rxjitter=0.000013;rxcount=491;txjitter=0.000000;txcount=462;rlp=0;rtt=0.000000", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  300. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb044a10 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"RTPAUDIOQOSRTT", "Value"=>"minrtt=0.000000;maxrtt=0.000000;avgrtt=0.000000;stdevrtt=0.000000;", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  301. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb27ade8 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"RTPAUDIOQOSJITTER", "Value"=>"minrxjitter=0.000000;maxrxjitter=0.000000;avgrxjitter=0.000000;stdevrxjitter=0.000000;reported_minjitter=0.000000;reported_maxjitter=0.000000;reported_avgjitter=0.000000;reported_stdevjitter=0.000000;", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  302. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Received an AsyncAGI event. Looking for matching AGICommand component.
  303. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Received an AsyncAGI event. Looking for matching AGICommand component.
  304. [2012-09-24 11:03:03] WARN Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Could not find component for AMI event: #<RubyAMI::Event:0xaa69e88 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"SIP/192.168.1.65-00000044"}, @name="AsyncAGI">
  305. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb320f68 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"RTPAUDIOQOSLOSS", "Value"=>"minrxlost=0.000000;maxrxlost=0.000000;avgrxlost=0.000000;stdevrxlost=0.000000;reported_minlost=0.000000;reported_maxlost=0.000000;reported_avglost=0.000000;reported_stdevlost=0.000000;", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  306. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb197e30 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-00000044", "Variable"=>"RTPAUDIOQOS", "Value"=>"ssrc=556586168;themssrc=300052951;lp=0;rxjitter=0.000013;rxcount=491;txjitter=0.000000;txcount=462;rlp=0;rtt=0.000000", "Uniqueid"=>"1348477363.80"}, @name="VarSet">
  307. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb0110fc @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"RTPAUDIOQOSRTT", "Value"=>"minrtt=0.000000;maxrtt=0.000000;avgrtt=0.000000;stdevrtt=0.000000;", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  308. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb1a907c @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-00000044", "Uniqueid"=>"1348477363.80", "CallerIDNum"=>"359888783777", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"359888783777", "ConnectedLineName"=>"<unknown>", "Cause"=>"16", "Cause-txt"=>"Normal Clearing"}, @name="Hangup">
  309. [2012-09-24 11:03:03] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 740236b8-4238-46c8-bb1e-32837286a732, Component ID: f5b0580d-639f-47eb-80c3-a78376d6710a: Handling AMI event: #<RubyAMI::Event:0xae95980 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Exec", "Channel"=>"SIP/192.168.1.65-00000044", "CommandID"=>"f5b0580d-639f-47eb-80c3-a78376d6710a", "Result"=>"200%20result%3D0%0A"}, @name="AsyncAGI">
  310. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaf34ae4 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000043", "Uniqueid"=>"1348477374.81", "CallerIDNum"=>"Anonymous", "CallerIDName"=>"Anonymous", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Cause"=>"0", "Cause-txt"=>"Unknown"}, @name="Hangup">
  311. [2012-09-24 11:03:03] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaf1ee60 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000043", "Variable"=>"RTPAUDIOQOS", "Value"=>"ssrc=39387165;themssrc=226604134;lp=0;rxjitter=0.000012;rxcount=484;txjitter=0.000000;txcount=486;rlp=0;rtt=0.000000", "Uniqueid"=>"1348477374.81"}, @name="VarSet">
  312. [2012-09-24 11:03:03] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 740236b8-4238-46c8-bb1e-32837286a732, Component ID: f5b0580d-639f-47eb-80c3-a78376d6710a: Received AsyncAGI:Exec event, sending complete event.
  313. [2012-09-24 11:03:03] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 740236b8-4238-46c8-bb1e-32837286a732, Component ID: f5b0580d-639f-47eb-80c3-a78376d6710a: Sending event #<Punchblock::Event::Complete reason=#<Punchblock::Component::Asterisk::AGI::Command::Complete::Success code=200, result=0, data="">, recording=nil, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id="f5b0580d-639f-47eb-80c3-a78376d6710a", target_mixer_name=nil>
  314. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: AGI action received complete event #<Punchblock::Event::Complete reason=#<Punchblock::Component::Asterisk::AGI::Command::Complete::Success code=200, result=0, data="">, recording=nil, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id="f5b0580d-639f-47eb-80c3-a78376d6710a", target_mixer_name=nil>
  315. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Received a Hangup AMI event. Sending End event.
  316. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Sending Punchblock event: #<Punchblock::Event::End reason=:hangup, headers_hash={}, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  317. [2012-09-24 11:03:03] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: last_dial_status = answer --- !ruby/object:Adhearsion::CallController::Dial::DialStatus
  318. result: :answer
  319. calls:
  320. - !ruby/object:Adhearsion::OutboundCall
  321. mailbox: !ruby/object:Celluloid::Mailbox
  322. messages: []
  323. mutex: !ruby/object:Mutex {}
  324. dead: false
  325. condition: !ruby/object:ConditionVariable
  326. waiters:
  327. - &92381900 !ruby/object:Thread {}
  328. waiters_mutex: !ruby/object:Mutex {}
  329. thread: !ruby/object:Celluloid::ThreadHandle
  330. mutex: !ruby/object:Mutex {}
  331. join: !ruby/object:ConditionVariable
  332. waiters: []
  333. waiters_mutex: !ruby/object:Mutex {}
  334. thread: *92381900
  335. klass: Adhearsion::OutboundCall
  336.  
  337. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Received a Hangup AMI event. Sending End event.
  338. [2012-09-24 11:03:03] TRACE Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Sending Punchblock event: #<Punchblock::Event::End reason=:hangup, headers_hash={}, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil>
  339. [2012-09-24 11:03:03] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: +++++++++++++++++++++++++ BMISSED false answer
  340. [2012-09-24 11:03:03] DEBUG Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Receiving message: #<Punchblock::Event::End reason=:hangup, headers_hash={}, target_call_id="6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863", component_id=nil, target_mixer_name=nil>
  341. [2012-09-24 11:03:03] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Call ended
  342. [2012-09-24 11:03:03] DEBUG Adhearsion::OutboundCall: 740236b8-4238-46c8-bb1e-32837286a732: Receiving message: #<Punchblock::Event::End reason=:hangup, headers_hash={}, target_call_id="740236b8-4238-46c8-bb1e-32837286a732", component_id=nil, target_mixer_name=nil>
  343. [2012-09-24 11:03:03] INFO Adhearsion::OutboundCall: 740236b8-4238-46c8-bb1e-32837286a732: Call ended
  344. [2012-09-24 11:03:03] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: ====================== false answer
  345. [2012-09-24 11:03:03] INFO Pbxhelper: No 'platform.url.incomingcall' parameter for user_id '1277'
  346. [2012-09-24 11:03:03] INFO Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Callout/Email notification sent
  347. [2012-09-24 11:03:03] DEBUG Adhearsion::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Finished executing controller #<Voiceservices call=6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863, metadata={}>
  348. [2012-09-24 11:03:08] DEBUG Punchblock::Translator::Asterisk::Call: 740236b8-4238-46c8-bb1e-32837286a732: Shutting down
  349. [2012-09-24 11:03:08] DEBUG Punchblock::Translator::Asterisk::Call: 6e2fe297-b8d4-4ec7-bcf5-8dc1f61f6863: Shutting down
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement