Advertisement
Guest User

Adhearsion log : test call 4

a guest
Sep 24th, 2012
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.17 KB | None | 0 0
  1. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xa0851c4 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-0000004b", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"00024372763", "CallerIDName"=>"00024372763", "AccountCode"=>"", "Exten"=>"667090200", "Context"=>"pstn-incomming", "Uniqueid"=>"1348478236.91"}, @name="Newchannel">
  2. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xac1a188 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"SIPURI", "Value"=>"sip:00024372763@192.168.1.65:5060", "Uniqueid"=>"1348478236.91"}, @name="VarSet">
  3. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaf5d3a4 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"SIPDOMAIN", "Value"=>"192.168.1.40", "Uniqueid"=>"1348478236.91"}, @name="VarSet">
  4. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0x9c24a80 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"SIPCALLID", "Value"=>"5d4ac8c21a5104c67fe93f3a5e679bc7@192.168.1.65:5060", "Uniqueid"=>"1348478236.91"}, @name="VarSet">
  5. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb1d7b0c @headers={"Privilege"=>"system,all", "Channel"=>"SIP/pmx2-0000004b", "Uniqueid"=>"1348478236.91", "Channeltype"=>"SIP", "SIPcallid"=>"5d4ac8c21a5104c67fe93f3a5e679bc7@192.168.1.65:5060", "SIPfullcontact"=>""}, @name="ChannelUpdate">
  6. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xafca378 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-0000004b", "ChannelState"=>"4", "ChannelStateDesc"=>"Ring", "CallerIDNum"=>"00024372763", "CallerIDName"=>"00024372763", "ConnectedLineNum"=>"", "ConnectedLineName"=>"", "Uniqueid"=>"1348478236.91"}, @name="Newstate">
  7. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xae711e8 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Context"=>"pstn-incomming", "Extension"=>"667090200", "Priority"=>"1", "Application"=>"AGI", "AppData"=>"agi:async", "Uniqueid"=>"1348478236.91"}, @name="Newexten">
  8. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaff9da8 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/pmx2-0000004b", "Env"=>"agi_request%3A%20async%0Aagi_channel%3A%20SIP%2Fpmx2-0000004b%0Aagi_language%3A%20en%0Aagi_type%3A%20SIP%0Aagi_uniqueid%3A%201348478236.91%0Aagi_version%3A%2010.5.0-digiumphones%0Aagi_callerid%3A%2000024372763%0Aagi_calleridname%3A%2000024372763%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">
  9. [2012-09-24 11:17:16] TRACE Punchblock::Translator::Asterisk: Handling AsyncAGI Start event by creating a new call
  10. [2012-09-24 11:17:16] DEBUG Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Starting up call with channel SIP/pmx2-0000004b, id 5716bba1-0aa8-46dd-be3f-06ae16bed06b
  11. [2012-09-24 11:17:16] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Sending Punchblock event: #<Punchblock::Event::Offer to="667090200", from="00024372763 <sip:00024372763>", call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b"
  12. [2012-09-24 11:17:16] DEBUG Adhearsion::Call: : Receiving message: #<Punchblock::Event::Offer to="667090200", from="00024372763 <sip:00024372763>", call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b"
  13. [2012-09-24 11:17:16] DEBUG Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Executing command #<Punchblock::Command::Accept headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  14. [2012-09-24 11:17:16] 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>
  15. [2012-09-24 11:17:16] DEBUG Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Executing command: #<Punchblock::Command::Accept headers_hash={}, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil, state_name=:requested>
  16. [2012-09-24 11:17:16] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Attempting to accept an inbound call. Executing RINGING.
  17. [2012-09-24 11:17:16] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Sending AGI action EXEC RINGING
  18. [2012-09-24 11:17:16] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 5716bba1-0aa8-46dd-be3f-06ae16bed06b, Component ID: b2d14e98-8b7c-4d52-9f82-d0d43a9c556b: Starting up...
  19. [2012-09-24 11:17:16] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Sending AMI action Action: agi
  20. ActionID: 5afdef51-404a-460c-a046-56599ca7311f
  21. Channel: SIP/pmx2-0000004b
  22. Command: EXEC RINGING
  23. CommandID: b2d14e98-8b7c-4d52-9f82-d0d43a9c556b
  24.  
  25.  
  26. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [QUEUE]: Action: agi
  27. ActionID: 5afdef51-404a-460c-a046-56599ca7311f
  28. Channel: SIP/pmx2-0000004b
  29. Command: EXEC RINGING
  30. CommandID: b2d14e98-8b7c-4d52-9f82-d0d43a9c556b
  31.  
  32.  
  33. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [SEND]: Action: agi
  34. ActionID: 5afdef51-404a-460c-a046-56599ca7311f
  35. Channel: SIP/pmx2-0000004b
  36. Command: EXEC RINGING
  37. CommandID: b2d14e98-8b7c-4d52-9f82-d0d43a9c556b
  38.  
  39.  
  40. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [RECV-ACTIONS]: #<RubyAMI::Response:0xaf5a08c @headers={"ActionID"=>"5afdef51-404a-460c-a046-56599ca7311f", "Message"=>"Added AGI command to queue"}>
  41. [2012-09-24 11:17:16] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 5716bba1-0aa8-46dd-be3f-06ae16bed06b, Component ID: b2d14e98-8b7c-4d52-9f82-d0d43a9c556b: Handling response: #<RubyAMI::Response:0xaf5a08c @headers={"ActionID"=>"5afdef51-404a-460c-a046-56599ca7311f", "Message"=>"Added AGI command to queue"}, @action=Action: agi
  42. ActionID: 5afdef51-404a-460c-a046-56599ca7311f
  43. Channel: SIP/pmx2-0000004b
  44. Command: EXEC RINGING
  45. CommandID: b2d14e98-8b7c-4d52-9f82-d0d43a9c556b
  46.  
  47. >
  48. [2012-09-24 11:17:16] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 5716bba1-0aa8-46dd-be3f-06ae16bed06b, Component ID: b2d14e98-8b7c-4d52-9f82-d0d43a9c556b: Setting response on component node to #<Punchblock::Ref id="b2d14e98-8b7c-4d52-9f82-d0d43a9c556b", target_call_id=nil, component_id=nil, target_mixer_name=nil>
  49. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xadf60c4 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/pmx2-0000004b", "CommandId"=>"131115030", "Command"=>"EXEC RINGING"}, @name="AGIExec">
  50. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xafbf16c @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"SIP/pmx2-0000004b", "CommandId"=>"131115030", "Command"=>"EXEC RINGING", "ResultCode"=>"200", "Result"=>"Success"}, @name="AGIExec">
  51. [2012-09-24 11:17:16] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb11d018 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Exec", "Channel"=>"SIP/pmx2-0000004b", "CommandID"=>"b2d14e98-8b7c-4d52-9f82-d0d43a9c556b", "Result"=>"200%20result%3D0%0A"}, @name="AsyncAGI">
  52. [2012-09-24 11:17:16] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Received an AsyncAGI event. Looking for matching AGICommand component.
  53. [2012-09-24 11:17:16] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 5716bba1-0aa8-46dd-be3f-06ae16bed06b, Component ID: b2d14e98-8b7c-4d52-9f82-d0d43a9c556b: Handling AMI event: #<RubyAMI::Event:0xb11d018 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Exec", "Channel"=>"SIP/pmx2-0000004b", "CommandID"=>"b2d14e98-8b7c-4d52-9f82-d0d43a9c556b", "Result"=>"200%20result%3D0%0A"}, @name="AsyncAGI">
  54. [2012-09-24 11:17:16] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 5716bba1-0aa8-46dd-be3f-06ae16bed06b, Component ID: b2d14e98-8b7c-4d52-9f82-d0d43a9c556b: Received AsyncAGI:Exec event, sending complete event.
  55. [2012-09-24 11:17:16] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 5716bba1-0aa8-46dd-be3f-06ae16bed06b, Component ID: b2d14e98-8b7c-4d52-9f82-d0d43a9c556b: Sending event #<Punchblock::Event::Complete reason=#<Punchblock::Component::Asterisk::AGI::Command::Complete::Success code=200, result=0, data="">, recording=nil, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id="b2d14e98-8b7c-4d52-9f82-d0d43a9c556b", target_mixer_name=nil>
  56. [2012-09-24 11:17:16] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: 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="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id="b2d14e98-8b7c-4d52-9f82-d0d43a9c556b", target_mixer_name=nil>
  57. [2012-09-24 11:17:16] INFO Adhearsion::Router: Call 5716bba1-0aa8-46dd-be3f-06ae16bed06b selected route "FROM-PSTN2" (Voiceservices)
  58. [2012-09-24 11:17:16] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Voiceservices controller
  59. [2012-09-24 11:17:16] DEBUG Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Receiving message: #<Punchblock::Event::Offer to="667090200", from="00024372763 <sip:00024372763>", call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b"
  60. [2012-09-24 11:17:16] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: call.from is 00024372763 <sip:00024372763>
  61. [2012-09-24 11:17:16] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: #<Adhearsion::Call:5716bba1-0aa8-46dd-be3f-06ae16bed06b offer=#<Punchblock::Event::Offer to="667090200", from="00024372763 <sip:00024372763>", call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", end_reason=nil, commands=[#<Punchblock::Command::Accept headers_hash={}, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil, state_name=:executing>], variables={:x_agi_request=>"async", :x_agi_channel=>"SIP/pmx2-0000004b", :x_agi_language=>"en", :x_agi_type=>"SIP", :x_agi_uniqueid=>"1348478236.91", :x_agi_version=>"10.5.0-digiumphones", :x_agi_callerid=>"00024372763", :x_agi_calleridname=>"00024372763", :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=5716bba1-0aa8-46dd-be3f-06ae16bed06b, metadata={}>], to="667090200", from="00024372763 <sip:00024372763>">
  62. [2012-09-24 11:17:16] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: call.from 00024372763 <sip:00024372763>
  63. [2012-09-24 11:17:16] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: call.to 667090200
  64. [2012-09-24 11:17:16] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Channel: SIP/pmx2-0000004b
  65. [2012-09-24 11:17:16] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: ========cid_num 024372763 <sip:00024372763>============ 00024372763
  66. [2012-09-24 11:17:16] INFO Peer: ================================ 00024372763
  67. [2012-09-24 11:17:17] INFO Peer: user_id =
  68. [2012-09-24 11:17:17] INFO Peer: ================================ 667090200
  69. [2012-09-24 11:17:17] INFO Peer: user_id = 1277
  70. [2012-09-24 11:17:17] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Peers: [Peer => { :type=>PSTN, :number=>00024372763, :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 }]
  71. [2012-09-24 11:17:17] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: PSTN -> VOIP
  72. [2012-09-24 11:17:17] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: +++++++++++++ owWtTgi
  73. [2012-09-24 11:17:17] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: SMS = false
  74. [2012-09-24 11:17:17] INFO Pbxhelper: 1 rules found for user.id 1277
  75. [2012-09-24 11:17:17] INFO Pbxhelper: Additionally checking +024372763
  76. [2012-09-24 11:17:17] INFO Pbxhelper: Adding general rule or specific rule for caller 00024372763
  77. [2012-09-24 11:17:17] INFO Pbxhelper: 1 rules found
  78. [2012-09-24 11:17:17] INFO Pbxhelper: 1 triggers found for rule (Revvl Forwarding 667090200)
  79. [2012-09-24 11:17:17] INFO Pbxhelper: Checking trigger --- !ruby/object:Timetrigger
  80. attributes:
  81. id: 5040
  82. trigger_from: 2012-07-09 00:00:00.000000000 Z
  83. trigger_to: 2012-07-09 23:59:59.000000000 Z
  84. repeat: daily
  85. created_at: 2012-07-09 11:03:42.000000000 Z
  86. updated_at: 2012-07-09 11:03:42.000000000 Z
  87. pbxrule_id: 5143
  88. , trigger_now? = true
  89. [2012-09-24 11:17:17] INFO Pbxhelper: adding trigger to rule (Revvl Forwarding 667090200)
  90. [2012-09-24 11:17:17] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Rule found (Revvl Forwarding 667090200)
  91. [2012-09-24 11:17:17] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Executing ring rule
  92. [2012-09-24 11:17:17] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Number 00359876338826, Type CELL
  93. [2012-09-24 11:17:17] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Number 00359888783873, Type CELL
  94. [2012-09-24 11:17:17] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: ++++++++++++ 024372763 +++++++++++++++++++ ["SIP/00359876338826@192.168.1.65", "SIP/00359888783873@192.168.1.65"]
  95. [2012-09-24 11:17:17] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Dialing:
  96. [2012-09-24 11:17:17] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Dialing ...
  97. [2012-09-24 11:17:17] DEBUG Adhearsion::OutboundCall: : Executing command #<Punchblock::Command::Dial to="SIP/00359888783873@192.168.1.65", from="00024372763 <sip:00024372763>", join=nil, headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  98. [2012-09-24 11:17:17] TRACE Punchblock::Translator::Asterisk: Executing command #<Punchblock::Command::Dial to="SIP/00359888783873@192.168.1.65", from="00024372763 <sip:00024372763>", join=nil, headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  99. [2012-09-24 11:17:17] DEBUG Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Starting up call with channel SIP/00359888783873@192.168.1.65, id 4069676a-321c-4da1-b78b-c8e5a1bd5c65
  100. [2012-09-24 11:17:17] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction: d3eac2bf-f4da-467d-9b5c-d05c7ee12580: Starting up...
  101. [2012-09-24 11:17:17] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction: d3eac2bf-f4da-467d-9b5c-d05c7ee12580: Setting response on component node to #<Punchblock::Ref id="d3eac2bf-f4da-467d-9b5c-d05c7ee12580", target_call_id=nil, component_id=nil, target_mixer_name=nil>
  102. [2012-09-24 11:17:17] TRACE RubyAMI::Client: [QUEUE]: Action: originate
  103. ActionID: d3eac2bf-f4da-467d-9b5c-d05c7ee12580
  104. Async: true
  105. Application: AGI
  106. Data: agi:async
  107. Channel: SIP/00359888783873@192.168.1.65
  108. Callerid: 00024372763 <sip:00024372763>
  109. Variable: punchblock_call_id=4069676a-321c-4da1-b78b-c8e5a1bd5c65
  110.  
  111.  
  112. [2012-09-24 11:17:17] TRACE RubyAMI::Client: [SEND]: Action: originate
  113. ActionID: d3eac2bf-f4da-467d-9b5c-d05c7ee12580
  114. Async: true
  115. Application: AGI
  116. Data: agi:async
  117. Channel: SIP/00359888783873@192.168.1.65
  118. Callerid: 00024372763 <sip:00024372763>
  119. Variable: punchblock_call_id=4069676a-321c-4da1-b78b-c8e5a1bd5c65
  120.  
  121.  
  122. [2012-09-24 11:17:17] TRACE RubyAMI::Client: [RECV-ACTIONS]: #<RubyAMI::Response:0xac09e50 @headers={"ActionID"=>"d3eac2bf-f4da-467d-9b5c-d05c7ee12580", "Message"=>"Originate successfully queued"}>
  123. [2012-09-24 11:17:17] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction: d3eac2bf-f4da-467d-9b5c-d05c7ee12580: Handling response #<RubyAMI::Response:0xac09e50 @headers={"ActionID"=>"d3eac2bf-f4da-467d-9b5c-d05c7ee12580", "Message"=>"Originate successfully queued"}, @action=Action: originate
  124. ActionID: d3eac2bf-f4da-467d-9b5c-d05c7ee12580
  125. Async: true
  126. Application: AGI
  127. Data: agi:async
  128. Channel: SIP/00359888783873@192.168.1.65
  129. Callerid: 00024372763 <sip:00024372763>
  130. Variable: punchblock_call_id=4069676a-321c-4da1-b78b-c8e5a1bd5c65
  131.  
  132. >
  133. [2012-09-24 11:17:17] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction: d3eac2bf-f4da-467d-9b5c-d05c7ee12580: 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="d3eac2bf-f4da-467d-9b5c-d05c7ee12580", target_mixer_name=nil>
  134. [2012-09-24 11:17:17] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xad6e5ac @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"SIPCALLID", "Value"=>"2521f8a1425494ba66c8a068578765e3@192.168.1.40:5060", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  135. [2012-09-24 11:17:17] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xac9d4d4 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004c", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"", "CallerIDName"=>"", "AccountCode"=>"", "Exten"=>"", "Context"=>"voiceservices", "Uniqueid"=>"1348478237.92"}, @name="Newchannel">
  136. [2012-09-24 11:17:17] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaf8e5bc @headers={"Privilege"=>"system,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Uniqueid"=>"1348478237.92", "Channeltype"=>"SIP", "SIPcallid"=>"2521f8a1425494ba66c8a068578765e3@192.168.1.40:5060", "SIPfullcontact"=>""}, @name="ChannelUpdate">
  137. [2012-09-24 11:17:17] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb2f67f4 @headers={"Privilege"=>"system,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Channeltype"=>"SIP", "SIPcallid"=>"2521f8a1425494ba66c8a068578765e3@192.168.1.40:5060", "SIPfullcontact"=>"", "Peername"=>"00359888783873"}, @name="ChannelUpdate">
  138. [2012-09-24 11:17:17] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xae1a140 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"punchblock_call_id", "Value"=>"4069676a-321c-4da1-b78b-c8e5a1bd5c65", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  139. [2012-09-24 11:17:17] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb28cafc @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Uniqueid"=>"1348478237.92", "AccountCode"=>"", "OldAccountCode"=>""}, @name="NewAccountCode">
  140. [2012-09-24 11:17:17] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb2b8094 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004c", "CallerIDNum"=>"sip:00024372763", "CallerIDName"=>"00024372763", "Uniqueid"=>"1348478237.92", "CID-CallingPres"=>"0 (Presentation Allowed, Not Screened)"}, @name="NewCallerid">
  141. [2012-09-24 11:17:17] TRACE Punchblock::Translator::Asterisk: Received a VarSet event indicating the full channel for call #<Punchblock::Translator::Asterisk::Call:4069676a-321c-4da1-b78b-c8e5a1bd5c65 Channel: "SIP/00359888783873@192.168.1.65">
  142. [2012-09-24 11:17:17] TRACE Punchblock::Translator::Asterisk: Removed call with old channel from channel map: {"SIP/pmx2-0000004b"=>"5716bba1-0aa8-46dd-be3f-06ae16bed06b"}
  143. [2012-09-24 11:17:17] INFO Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Channel is changing from SIP/00359888783873@192.168.1.65 to SIP/192.168.1.65-0000004c.
  144. [2012-09-24 11:17:25] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb2ea3b4 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004c", "ChannelState"=>"5", "ChannelStateDesc"=>"Ringing", "CallerIDNum"=>"sip:00024372763", "CallerIDName"=>"00024372763", "ConnectedLineNum"=>"sip:00024372763", "ConnectedLineName"=>"00024372763", "Uniqueid"=>"1348478237.92"}, @name="Newstate">
  145. [2012-09-24 11:17:25] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Received a Newstate AMI event with state 5: Ringing
  146. [2012-09-24 11:17:25] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Sending Punchblock event: #<Punchblock::Event::Ringing headers_hash={}, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  147. [2012-09-24 11:17:25] DEBUG Adhearsion::OutboundCall: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Receiving message: #<Punchblock::Event::Ringing headers_hash={}, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  148. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb383dfc @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004c", "ChannelState"=>"6", "ChannelStateDesc"=>"Up", "CallerIDNum"=>"sip:00024372763", "CallerIDName"=>"00024372763", "ConnectedLineNum"=>"sip:00024372763", "ConnectedLineName"=>"00024372763", "Uniqueid"=>"1348478237.92"}, @name="Newstate">
  149. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb1ff7ec @headers={"Privilege"=>"system,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Channeltype"=>"SIP", "Uniqueid"=>"1348478237.92", "SIPcallid"=>"2521f8a1425494ba66c8a068578765e3@192.168.1.40:5060", "SIPfullcontact"=>"sip:00359888783873@192.168.1.65:5060", "Peername"=>"00359888783873"}, @name="ChannelUpdate">
  150. [2012-09-24 11:17:28] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Received a Newstate AMI event with state 6: Up
  151. [2012-09-24 11:17:28] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Sending Punchblock event: #<Punchblock::Event::Answered headers_hash={}, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  152. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xae53030 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"punchblock_call_id", "Value"=>"4069676a-321c-4da1-b78b-c8e5a1bd5c65", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  153. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb57573c @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Uniqueid"=>"1348478237.92", "AccountCode"=>"", "OldAccountCode"=>""}, @name="NewAccountCode">
  154. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5801a0 @headers={"Privilege"=>"call,all", "ActionID"=>"d3eac2bf-f4da-467d-9b5c-d05c7ee12580", "Response"=>"Success", "Channel"=>"SIP/192.168.1.65-0000004c", "Context"=>"", "Exten"=>"", "Reason"=>"4", "Uniqueid"=>"1348478237.92", "CallerIDNum"=>"sip:00024372763", "CallerIDName"=>"00024372763"}, @name="OriginateResponse">
  155. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb25e508 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/192.168.1.65-0000004c", "Env"=>"agi_request%3A%20async%0Aagi_channel%3A%20SIP%2F192.168.1.65-0000004c%0Aagi_language%3A%20en%0Aagi_type%3A%20SIP%0Aagi_uniqueid%3A%201348478237.92%0Aagi_version%3A%2010.5.0-digiumphones%0Aagi_callerid%3A%20sip%3A00024372763%0Aagi_calleridname%3A%2000024372763%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">
  156. [2012-09-24 11:17:28] TRACE Punchblock::Translator::Asterisk: Received a VarSet event indicating the full channel for call #<Punchblock::Translator::Asterisk::Call:4069676a-321c-4da1-b78b-c8e5a1bd5c65 Channel: "SIP/192.168.1.65-0000004c">
  157. [2012-09-24 11:17:28] DEBUG Adhearsion::OutboundCall: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Receiving message: #<Punchblock::Event::Answered headers_hash={}, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  158. [2012-09-24 11:17:28] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Received an AsyncAGI event. Looking for matching AGICommand component.
  159. [2012-09-24 11:17:28] WARN Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Could not find component for AMI event: #<RubyAMI::Event:0xb25e508 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/192.168.1.65-0000004c", "Env"=>"agi_request%3A%20async%0Aagi_channel%3A%20SIP%2F192.168.1.65-0000004c%0Aagi_language%3A%20en%0Aagi_type%3A%20SIP%0Aagi_uniqueid%3A%201348478237.92%0Aagi_version%3A%2010.5.0-digiumphones%0Aagi_callerid%3A%20sip%3A00024372763%0Aagi_calleridname%3A%2000024372763%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">
  160. [2012-09-24 11:17:28] TRACE Punchblock::Translator::Asterisk: Removed call with old channel from channel map: {"SIP/pmx2-0000004b"=>"5716bba1-0aa8-46dd-be3f-06ae16bed06b"}
  161. [2012-09-24 11:17:28] INFO Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Channel is changing from SIP/192.168.1.65-0000004c to SIP/192.168.1.65-0000004c.
  162. [2012-09-24 11:17:28] DEBUG Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: #dial joining call 4069676a-321c-4da1-b78b-c8e5a1bd5c65 to 5716bba1-0aa8-46dd-be3f-06ae16bed06b
  163. [2012-09-24 11:17:28] DEBUG Adhearsion::OutboundCall: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Executing command #<Punchblock::Command::Join call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", mixer_name=nil, direction=nil, media=nil, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  164. [2012-09-24 11:17:28] TRACE Punchblock::Translator::Asterisk: Executing command #<Punchblock::Command::Join call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", mixer_name=nil, direction=nil, media=nil, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  165. [2012-09-24 11:17:28] DEBUG Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Executing command: #<Punchblock::Command::Join call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", mixer_name=nil, direction=nil, media=nil, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil, state_name=:requested>
  166. [2012-09-24 11:17:28] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Sending AGI action EXEC Bridge
  167. [2012-09-24 11:17:28] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 4069676a-321c-4da1-b78b-c8e5a1bd5c65, Component ID: a8b2fbe2-7c48-451c-80e7-04614e5553aa: Starting up...
  168. [2012-09-24 11:17:28] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Sending AMI action Action: agi
  169. ActionID: bd2f6d18-9046-41e0-9dba-eba486f3b431
  170. Channel: SIP/192.168.1.65-0000004c
  171. Command: EXEC Bridge "SIP/pmx2-0000004b"
  172. CommandID: a8b2fbe2-7c48-451c-80e7-04614e5553aa
  173.  
  174.  
  175. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [QUEUE]: Action: agi
  176. ActionID: bd2f6d18-9046-41e0-9dba-eba486f3b431
  177. Channel: SIP/192.168.1.65-0000004c
  178. Command: EXEC Bridge "SIP/pmx2-0000004b"
  179. CommandID: a8b2fbe2-7c48-451c-80e7-04614e5553aa
  180.  
  181.  
  182. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [SEND]: Action: agi
  183. ActionID: bd2f6d18-9046-41e0-9dba-eba486f3b431
  184. Channel: SIP/192.168.1.65-0000004c
  185. Command: EXEC Bridge "SIP/pmx2-0000004b"
  186. CommandID: a8b2fbe2-7c48-451c-80e7-04614e5553aa
  187.  
  188.  
  189. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-ACTIONS]: #<RubyAMI::Response:0xabede94 @headers={"ActionID"=>"bd2f6d18-9046-41e0-9dba-eba486f3b431", "Message"=>"Added AGI command to queue"}>
  190. [2012-09-24 11:17:28] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 4069676a-321c-4da1-b78b-c8e5a1bd5c65, Component ID: a8b2fbe2-7c48-451c-80e7-04614e5553aa: Handling response: #<RubyAMI::Response:0xabede94 @headers={"ActionID"=>"bd2f6d18-9046-41e0-9dba-eba486f3b431", "Message"=>"Added AGI command to queue"}, @action=Action: agi
  191. ActionID: bd2f6d18-9046-41e0-9dba-eba486f3b431
  192. Channel: SIP/192.168.1.65-0000004c
  193. Command: EXEC Bridge "SIP/pmx2-0000004b"
  194. CommandID: a8b2fbe2-7c48-451c-80e7-04614e5553aa
  195.  
  196. >
  197. [2012-09-24 11:17:28] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 4069676a-321c-4da1-b78b-c8e5a1bd5c65, Component ID: a8b2fbe2-7c48-451c-80e7-04614e5553aa: Setting response on component node to #<Punchblock::Ref id="a8b2fbe2-7c48-451c-80e7-04614e5553aa", target_call_id=nil, component_id=nil, target_mixer_name=nil>
  198. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xafcb994 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-0000004b", "ChannelState"=>"6", "ChannelStateDesc"=>"Up", "CallerIDNum"=>"00024372763", "CallerIDName"=>"00024372763", "ConnectedLineNum"=>"", "ConnectedLineName"=>"", "Uniqueid"=>"1348478236.91"}, @name="Newstate">
  199. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xadd9c08 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/192.168.1.65-0000004c", "CommandId"=>"1769381971", "Command"=>"EXEC Bridge \"SIP/pmx2-0000004b\""}, @name="AGIExec">
  200. [2012-09-24 11:17:28] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Received a Newstate AMI event with state 6: Up
  201. [2012-09-24 11:17:28] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Sending Punchblock event: #<Punchblock::Event::Answered headers_hash={}, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil>
  202. [2012-09-24 11:17:28] DEBUG Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Receiving message: #<Punchblock::Event::Answered headers_hash={}, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil>
  203. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaccd044 @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-0000004b", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"", "CallerIDName"=>"", "AccountCode"=>"", "Exten"=>"", "Context"=>"", "Uniqueid"=>"1348478248.93"}, @name="Newchannel">
  204. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb55fe50 @headers={"Privilege"=>"call,all", "State"=>"Stop", "Channel"=>"SIP/pmx2-0000004b", "UniqueID"=>"1348478236.91"}, @name="MusicOnHold">
  205. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb42c650 @headers={"Privilege"=>"call,all", "Clone"=>"SIP/pmx2-0000004b", "CloneState"=>"Up", "Original"=>"Bridge/SIP/pmx2-0000004b", "OriginalState"=>"Up"}, @name="Masquerade">
  206. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xac871e8 @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-0000004b", "ChannelState"=>"6", "ChannelStateDesc"=>"Up", "CallerIDNum"=>"", "CallerIDName"=>"", "ConnectedLineNum"=>"", "ConnectedLineName"=>"", "Uniqueid"=>"1348478248.93"}, @name="Newstate">
  207. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb28d9d4 @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-0000004b", "Newname"=>"SIP/pmx2-0000004b", "Uniqueid"=>"1348478248.93"}, @name="Rename">
  208. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb29ca10 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-0000004b", "Newname"=>"SIP/pmx2-0000004b<MASQ>", "Uniqueid"=>"1348478236.91"}, @name="Rename">
  209. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb2bfda8 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-0000004b", "CallerIDNum"=>"00024372763", "CallerIDName"=>"00024372763", "Uniqueid"=>"1348478248.93", "CID-CallingPres"=>"0 (Presentation Allowed, Not Screened)"}, @name="NewCallerid">
  210. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaf2f274 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-0000004b<MASQ>", "Newname"=>"Bridge/SIP/pmx2-0000004b<ZOMBIE>", "Uniqueid"=>"1348478236.91"}, @name="Rename">
  211. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb555964 @headers={"Privilege"=>"dialplan,all", "Channel"=>"Bridge/SIP/pmx2-0000004b<ZOMBIE>", "Variable"=>"AGISTATUS", "Value"=>"HANGUP", "Uniqueid"=>"1348478236.91"}, @name="VarSet">
  212. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xaf473c4 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"Bridge/SIP/pmx2-0000004b<ZOMBIE>"}, @name="AsyncAGI">
  213. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xad95620 @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-0000004b<ZOMBIE>", "Uniqueid"=>"1348478236.91", "Cause"=>"16"}, @name="SoftHangupRequest">
  214. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xad9cdf8 @headers={"Privilege"=>"dialplan,all", "Channel"=>"Bridge/SIP/pmx2-0000004b<ZOMBIE>", "Context"=>"pstn-incomming", "Extension"=>"h", "Priority"=>"1", "Application"=>"NoOp", "AppData"=>"", "Uniqueid"=>"1348478236.91"}, @name="Newexten">
  215. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb2e8730 @headers={"Privilege"=>"call,all", "Response"=>"Success", "Channel1"=>"SIP/192.168.1.65-0000004c", "Channel2"=>"SIP/pmx2-0000004b"}, @name="BridgeExec">
  216. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52f3e0 @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-0000004b<ZOMBIE>", "Uniqueid"=>"1348478236.91", "CallerIDNum"=>"<unknown>", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Cause"=>"0", "Cause-txt"=>"Unknown"}, @name="Hangup">
  217. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xad17a40 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-0000004b", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  218. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb190428 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-0000004c", "Uniqueid"=>"1348478248.93"}, @name="VarSet">
  219. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb1f132c @headers={"Privilege"=>"call,all", "Bridgestate"=>"Link", "Bridgetype"=>"core", "Channel1"=>"SIP/192.168.1.65-0000004c", "Channel2"=>"SIP/pmx2-0000004b", "Uniqueid1"=>"1348478237.92", "Uniqueid2"=>"1348478248.93", "CallerID1"=>"sip:00024372763", "CallerID2"=>"00024372763"}, @name="Bridge">
  220. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb1e7f5c @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-0000004b", "Uniqueid"=>"1348478248.93", "AccountCode"=>"", "OldAccountCode"=>""}, @name="NewAccountCode">
  221. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb376080 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-0000004b", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  222. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xae4979c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"5d4ac8c21a5104c67fe93f3a5e679bc7@192.168.1.65:5060", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  223. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb575fe8 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"2521f8a1425494ba66c8a068578765e3@192.168.1.40:5060", "Uniqueid"=>"1348478248.93"}, @name="VarSet">
  224. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xae52f90 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-0000004c", "Uniqueid"=>"1348478248.93"}, @name="VarSet">
  225. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb254940 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"5d4ac8c21a5104c67fe93f3a5e679bc7@192.168.1.65:5060", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  226. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5803f8 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-0000004b", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  227. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb275b40 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"2521f8a1425494ba66c8a068578765e3@192.168.1.40:5060", "Uniqueid"=>"1348478248.93"}, @name="VarSet">
  228. [2012-09-24 11:17:28] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb25c848 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-0000004c", "Uniqueid"=>"1348478248.93"}, @name="VarSet">
  229. [2012-09-24 11:17:28] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Sending Punchblock event: #<Punchblock::Event::Joined call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", mixer_name=nil, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  230. [2012-09-24 11:17:28] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Sending Punchblock event: #<Punchblock::Event::Joined call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", mixer_name=nil, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil>
  231. [2012-09-24 11:17:28] DEBUG Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Receiving message: #<Punchblock::Event::Joined call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", mixer_name=nil, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil>
  232. [2012-09-24 11:17:28] DEBUG Adhearsion::OutboundCall: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Receiving message: #<Punchblock::Event::Joined call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", mixer_name=nil, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  233. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5e4844 @headers={"Privilege"=>"dtmf,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Uniqueid"=>"1348478237.92", "Digit"=>"1", "Direction"=>"Received", "Begin"=>"Yes", "End"=>"No"}, @name="DTMF">
  234. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5ecb48 @headers={"Privilege"=>"call,all", "Bridgestate"=>"Unlink", "Bridgetype"=>"core", "Channel1"=>"SIP/192.168.1.65-0000004c", "Channel2"=>"SIP/pmx2-0000004b", "Uniqueid1"=>"1348478237.92", "Uniqueid2"=>"1348478248.93", "CallerID1"=>"sip:00024372763", "CallerID2"=>"00024372763"}, @name="Bridge">
  235. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb600e2c @headers={"Privilege"=>"dtmf,all", "Channel"=>"SIP/pmx2-0000004b", "Uniqueid"=>"1348478248.93", "Digit"=>"1", "Direction"=>"Sent", "Begin"=>"Yes", "End"=>"No"}, @name="DTMF">
  236. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb60c420 @headers={"Privilege"=>"call,all", "Bridgestate"=>"Link", "Bridgetype"=>"core", "Channel1"=>"SIP/192.168.1.65-0000004c", "Channel2"=>"SIP/pmx2-0000004b", "Uniqueid1"=>"1348478237.92", "Uniqueid2"=>"1348478248.93", "CallerID1"=>"sip:00024372763", "CallerID2"=>"00024372763"}, @name="Bridge">
  237. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb626258 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-0000004b", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  238. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb63c1e8 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-0000004c", "Uniqueid"=>"1348478248.93"}, @name="VarSet">
  239. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb631874 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"5d4ac8c21a5104c67fe93f3a5e679bc7@192.168.1.65:5060", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  240. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb6536e0 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-0000004b", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  241. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb648dd0 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"2521f8a1425494ba66c8a068578765e3@192.168.1.40:5060", "Uniqueid"=>"1348478248.93"}, @name="VarSet">
  242. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb66a82c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-0000004c", "Uniqueid"=>"1348478248.93"}, @name="VarSet">
  243. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb65f5e4 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"5d4ac8c21a5104c67fe93f3a5e679bc7@192.168.1.65:5060", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  244. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb6b9990 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"2521f8a1425494ba66c8a068578765e3@192.168.1.40:5060", "Uniqueid"=>"1348478248.93"}, @name="VarSet">
  245. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Sending Punchblock event: #<Punchblock::Event::Unjoined call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", mixer_name=nil, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  246. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Sending Punchblock event: #<Punchblock::Event::Unjoined call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", mixer_name=nil, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil>
  247. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Sending Punchblock event: #<Punchblock::Event::Joined call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", mixer_name=nil, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  248. [2012-09-24 11:17:34] DEBUG Adhearsion::OutboundCall: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Receiving message: #<Punchblock::Event::Joined call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", mixer_name=nil, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  249. [2012-09-24 11:17:34] DEBUG Adhearsion::OutboundCall: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Receiving message: #<Punchblock::Event::Unjoined call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", mixer_name=nil, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  250. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Sending Punchblock event: #<Punchblock::Event::Joined call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", mixer_name=nil, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil>
  251. [2012-09-24 11:17:34] DEBUG Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Receiving message: #<Punchblock::Event::Unjoined call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", mixer_name=nil, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil>
  252. [2012-09-24 11:17:34] DEBUG Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Receiving message: #<Punchblock::Event::Joined call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", mixer_name=nil, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil>
  253. [2012-09-24 11:17:34] DEBUG Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: #dial finished. Hanging up 1 outbound calls: 4069676a-321c-4da1-b78b-c8e5a1bd5c65.
  254. [2012-09-24 11:17:34] INFO Adhearsion::OutboundCall: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Hanging up
  255. [2012-09-24 11:17:34] DEBUG Adhearsion::OutboundCall: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Executing command #<Punchblock::Command::Hangup headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  256. [2012-09-24 11:17:34] 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>
  257. [2012-09-24 11:17:34] DEBUG Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Executing command: #<Punchblock::Command::Hangup headers_hash={}, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil, state_name=:requested>
  258. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Sending AMI action Action: hangup
  259. ActionID: 6cad132f-0b4b-4b85-b180-409c2fe0a99a
  260. Channel: SIP/192.168.1.65-0000004c
  261.  
  262.  
  263. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [QUEUE]: Action: hangup
  264. ActionID: 6cad132f-0b4b-4b85-b180-409c2fe0a99a
  265. Channel: SIP/192.168.1.65-0000004c
  266.  
  267.  
  268. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [SEND]: Action: hangup
  269. ActionID: 6cad132f-0b4b-4b85-b180-409c2fe0a99a
  270. Channel: SIP/192.168.1.65-0000004c
  271.  
  272.  
  273. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-ACTIONS]: #<RubyAMI::Response:0xb5215678 @headers={"ActionID"=>"6cad132f-0b4b-4b85-b180-409c2fe0a99a", "Message"=>"Channel Hungup"}>
  274. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb50874a0 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Uniqueid"=>"1348478237.92", "Cause"=>"16"}, @name="SoftHangupRequest">
  275. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5213828 @headers={"Privilege"=>"call,all", "Bridgestate"=>"Unlink", "Bridgetype"=>"core", "Channel1"=>"SIP/192.168.1.65-0000004c", "Channel2"=>"SIP/pmx2-0000004b", "Uniqueid1"=>"1348478237.92", "Uniqueid2"=>"1348478248.93", "CallerID1"=>"sip:00024372763", "CallerID2"=>"00024372763"}, @name="Bridge">
  276. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5084a20 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Context"=>"voiceservices", "Extension"=>"h", "Priority"=>"1", "Application"=>"NoOp", "AppData"=>"", "Uniqueid"=>"1348478237.92"}, @name="Newexten">
  277. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Sending Punchblock event: #<Punchblock::Event::Unjoined call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", mixer_name=nil, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil>
  278. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Sending Punchblock event: #<Punchblock::Event::Unjoined call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", mixer_name=nil, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  279. [2012-09-24 11:17:34] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: dial Command finished
  280. [2012-09-24 11:17:34] DEBUG Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Receiving message: #<Punchblock::Event::Unjoined call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", mixer_name=nil, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil>
  281. [2012-09-24 11:17:34] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: ++++++++++++++++++++++--===--+++++++
  282. [2012-09-24 11:17:34] DEBUG Adhearsion::OutboundCall: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Receiving message: #<Punchblock::Event::Unjoined call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", mixer_name=nil, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  283. [2012-09-24 11:17:34] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: last_dial_status = answer --- !ruby/object:Adhearsion::CallController::Dial::DialStatus
  284. result: :answer
  285. calls:
  286. - !ruby/object:Adhearsion::OutboundCall
  287. mailbox: !ruby/object:Celluloid::Mailbox
  288. messages: []
  289. mutex: !ruby/object:Mutex {}
  290. dead: false
  291. condition: !ruby/object:ConditionVariable
  292. waiters:
  293. - &89966790 !ruby/object:Thread {}
  294. waiters_mutex: !ruby/object:Mutex {}
  295. thread: !ruby/object:Celluloid::ThreadHandle
  296. mutex: !ruby/object:Mutex {}
  297. join: !ruby/object:ConditionVariable
  298. waiters: []
  299. waiters_mutex: !ruby/object:Mutex {}
  300. thread: *89966790
  301. klass: Adhearsion::OutboundCall
  302.  
  303. [2012-09-24 11:17:34] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: +++++++++++++++++++++++++ BMISSED false answer
  304. [2012-09-24 11:17:34] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: ====================== false answer
  305. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb509783c @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"SIP/192.168.1.65-0000004c", "CommandId"=>"1769381971", "Command"=>"EXEC Bridge \"SIP/pmx2-0000004b\"", "ResultCode"=>"200", "Result"=>"Success"}, @name="AGIExec">
  306. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb801c30 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"BRIDGERESULT", "Value"=>"SUCCESS", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  307. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb509ad20 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-0000004b", "Uniqueid"=>"1348478248.93", "Cause"=>"16"}, @name="SoftHangupRequest">
  308. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb50a04a0 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Exec", "Channel"=>"SIP/192.168.1.65-0000004c", "CommandID"=>"a8b2fbe2-7c48-451c-80e7-04614e5553aa", "Result"=>"200%20result%3D0%0A"}, @name="AsyncAGI">
  309. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5182e04 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Context"=>"pstn-incomming", "Extension"=>"h", "Priority"=>"1", "Application"=>"NoOp", "AppData"=>"", "Uniqueid"=>"1348478248.93"}, @name="Newexten">
  310. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5186284 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"SIP/192.168.1.65-0000004c"}, @name="AsyncAGI">
  311. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Received an AsyncAGI event. Looking for matching AGICommand component.
  312. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5188bc4 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"RTPAUDIOQOS", "Value"=>"ssrc=1686287236;themssrc=386068643;lp=0;rxjitter=0.000018;rxcount=294;txjitter=0.000000;txcount=296;rlp=0;rtt=0.000000", "Uniqueid"=>"1348478248.93"}, @name="VarSet">
  313. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb51943ac @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"RTPAUDIOQOS", "Value"=>"ssrc=125895725;themssrc=593300870;lp=0;rxjitter=0.000016;rxcount=301;txjitter=0.000000;txcount=272;rlp=0;rtt=0.000000", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  314. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5184088 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"AGISTATUS", "Value"=>"HANGUP", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  315. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5199ed8 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "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"=>"1348478237.92"}, @name="VarSet">
  316. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb519746c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "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"=>"1348478248.93"}, @name="VarSet">
  317. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb51a48b0 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "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"=>"1348478248.93"}, @name="VarSet">
  318. [2012-09-24 11:17:34] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 4069676a-321c-4da1-b78b-c8e5a1bd5c65, Component ID: a8b2fbe2-7c48-451c-80e7-04614e5553aa: Handling AMI event: #<RubyAMI::Event:0xb50a04a0 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Exec", "Channel"=>"SIP/192.168.1.65-0000004c", "CommandID"=>"a8b2fbe2-7c48-451c-80e7-04614e5553aa", "Result"=>"200%20result%3D0%0A"}, @name="AsyncAGI">
  319. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb51a7934 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "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"=>"1348478237.92"}, @name="VarSet">
  320. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Received an AsyncAGI event. Looking for matching AGICommand component.
  321. [2012-09-24 11:17:34] WARN Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Could not find component for AMI event: #<RubyAMI::Event:0xb5186284 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"SIP/192.168.1.65-0000004c"}, @name="AsyncAGI">
  322. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52a7e60 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"RTPAUDIOQOS", "Value"=>"ssrc=125895725;themssrc=593300870;lp=0;rxjitter=0.000016;rxcount=301;txjitter=0.000000;txcount=272;rlp=0;rtt=0.000000", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  323. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52abaec @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"RTPAUDIOQOSRTT", "Value"=>"minrtt=0.000000;maxrtt=0.000000;avgrtt=0.000000;stdevrtt=0.000000;", "Uniqueid"=>"1348478248.93"}, @name="VarSet">
  324. [2012-09-24 11:17:34] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 4069676a-321c-4da1-b78b-c8e5a1bd5c65, Component ID: a8b2fbe2-7c48-451c-80e7-04614e5553aa: Received AsyncAGI:Exec event, sending complete event.
  325. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb51b2744 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Variable"=>"RTPAUDIOQOSRTT", "Value"=>"minrtt=0.000000;maxrtt=0.000000;avgrtt=0.000000;stdevrtt=0.000000;", "Uniqueid"=>"1348478237.92"}, @name="VarSet">
  326. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52b42c8 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004c", "Uniqueid"=>"1348478237.92", "CallerIDNum"=>"sip:00024372763", "CallerIDName"=>"00024372763", "ConnectedLineNum"=>"sip:00024372763", "ConnectedLineName"=>"00024372763", "Cause"=>"16", "Cause-txt"=>"Normal Clearing"}, @name="Hangup">
  327. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52beb74 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-0000004b", "Uniqueid"=>"1348478248.93", "CallerIDNum"=>"00024372763", "CallerIDName"=>"00024372763", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Cause"=>"0", "Cause-txt"=>"Unknown"}, @name="Hangup">
  328. [2012-09-24 11:17:34] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52b0470 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-0000004b", "Variable"=>"RTPAUDIOQOS", "Value"=>"ssrc=1686287236;themssrc=386068643;lp=0;rxjitter=0.000018;rxcount=294;txjitter=0.000000;txcount=296;rlp=0;rtt=0.000000", "Uniqueid"=>"1348478248.93"}, @name="VarSet">
  329. [2012-09-24 11:17:34] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 4069676a-321c-4da1-b78b-c8e5a1bd5c65, Component ID: a8b2fbe2-7c48-451c-80e7-04614e5553aa: Sending event #<Punchblock::Event::Complete reason=#<Punchblock::Component::Asterisk::AGI::Command::Complete::Success code=200, result=0, data="">, recording=nil, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id="a8b2fbe2-7c48-451c-80e7-04614e5553aa", target_mixer_name=nil>
  330. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: 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="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id="a8b2fbe2-7c48-451c-80e7-04614e5553aa", target_mixer_name=nil>
  331. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Received a Hangup AMI event. Sending End event.
  332. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Received a Hangup AMI event. Sending End event.
  333. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Sending Punchblock event: #<Punchblock::Event::End reason=:hangup, headers_hash={}, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil>
  334. [2012-09-24 11:17:34] TRACE Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Sending Punchblock event: #<Punchblock::Event::End reason=:hangup, headers_hash={}, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  335. [2012-09-24 11:17:34] DEBUG Adhearsion::OutboundCall: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Receiving message: #<Punchblock::Event::End reason=:hangup, headers_hash={}, target_call_id="4069676a-321c-4da1-b78b-c8e5a1bd5c65", component_id=nil, target_mixer_name=nil>
  336. [2012-09-24 11:17:34] DEBUG Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Receiving message: #<Punchblock::Event::End reason=:hangup, headers_hash={}, target_call_id="5716bba1-0aa8-46dd-be3f-06ae16bed06b", component_id=nil, target_mixer_name=nil>
  337. [2012-09-24 11:17:34] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Call ended
  338. [2012-09-24 11:17:34] INFO Adhearsion::OutboundCall: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Call ended
  339. [2012-09-24 11:17:34] INFO Pbxhelper: No 'platform.url.incomingcall' parameter for user_id '1277'
  340. [2012-09-24 11:17:34] INFO Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Callout/Email notification sent
  341. [2012-09-24 11:17:34] DEBUG Adhearsion::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Finished executing controller #<Voiceservices call=5716bba1-0aa8-46dd-be3f-06ae16bed06b, metadata={}>
  342. [2012-09-24 11:17:39] DEBUG Punchblock::Translator::Asterisk::Call: 4069676a-321c-4da1-b78b-c8e5a1bd5c65: Shutting down
  343. [2012-09-24 11:17:39] DEBUG Punchblock::Translator::Asterisk::Call: 5716bba1-0aa8-46dd-be3f-06ae16bed06b: Shutting down
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement