Advertisement
Guest User

Adhearsion log : test call 3

a guest
Sep 24th, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.41 KB | None | 0 0
  1. last_dial_st = dial 'SIP/00359888783873@192.168.1.65', :from => '359888783777'
  2.  
  3. ====================================
  4.  
  5. [2012-09-24 11:13:47] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xba6c998 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000049", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"Anonymous", "CallerIDName"=>"Anonymous", "AccountCode"=>"", "Exten"=>"667090200", "Context"=>"pstn-incomming", "Uniqueid"=>"1348478027.88"}, @name="Newchannel">
  6. [2012-09-24 11:13:47] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb93a1b0 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"SIPURI", "Value"=>"sip:Anonymous@192.168.1.65:5060", "Uniqueid"=>"1348478027.88"}, @name="VarSet">
  7. [2012-09-24 11:13:47] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb7db288 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"SIPDOMAIN", "Value"=>"192.168.1.40", "Uniqueid"=>"1348478027.88"}, @name="VarSet">
  8. [2012-09-24 11:13:47] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbc5eb84 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"SIPCALLID", "Value"=>"0bf84c4a631cc7a30bf42ba06fceddf6@192.168.1.65:5060", "Uniqueid"=>"1348478027.88"}, @name="VarSet">
  9. [2012-09-24 11:13:47] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb9a472c @headers={"Privilege"=>"system,all", "Channel"=>"SIP/pmx2-00000049", "Uniqueid"=>"1348478027.88", "Channeltype"=>"SIP", "SIPcallid"=>"0bf84c4a631cc7a30bf42ba06fceddf6@192.168.1.65:5060", "SIPfullcontact"=>""}, @name="ChannelUpdate">
  10. [2012-09-24 11:13:47] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xba3be60 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Context"=>"pstn-incomming", "Extension"=>"667090200", "Priority"=>"1", "Application"=>"AGI", "AppData"=>"agi:async", "Uniqueid"=>"1348478027.88"}, @name="Newexten">
  11. [2012-09-24 11:13:47] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbe59b3c @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000049", "ChannelState"=>"4", "ChannelStateDesc"=>"Ring", "CallerIDNum"=>"Anonymous", "CallerIDName"=>"Anonymous", "ConnectedLineNum"=>"", "ConnectedLineName"=>"", "Uniqueid"=>"1348478027.88"}, @name="Newstate">
  12. [2012-09-24 11:13:47] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb8c72dc @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/pmx2-00000049", "Env"=>"agi_request%3A%20async%0Aagi_channel%3A%20SIP%2Fpmx2-00000049%0Aagi_language%3A%20en%0Aagi_type%3A%20SIP%0Aagi_uniqueid%3A%201348478027.88%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-1254479040%0A%0A"}, @name="AsyncAGI">
  13. [2012-09-24 11:13:47] TRACE Punchblock::Translator::Asterisk: Handling AsyncAGI Start event by creating a new call
  14. [2012-09-24 11:13:47] DEBUG Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Starting up call with channel SIP/pmx2-00000049, id c083f959-c12d-4530-855a-d5b39b47ff3c
  15. [2012-09-24 11:13:47] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Sending Punchblock event: #<Punchblock::Event::Offer to="667090200", from="Anonymous <sip:Anonymous>", call_id="c083f959-c12d-4530-855a-d5b39b47ff3c"
  16. [2012-09-24 11:13:47] DEBUG Adhearsion::Call: : Receiving message: #<Punchblock::Event::Offer to="667090200", from="Anonymous <sip:Anonymous>", call_id="c083f959-c12d-4530-855a-d5b39b47ff3c"
  17. [2012-09-24 11:13:47] DEBUG Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: 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:13:47] 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:13:47] DEBUG Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Executing command: #<Punchblock::Command::Accept headers_hash={}, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil, state_name=:requested>
  20. [2012-09-24 11:13:47] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Attempting to accept an inbound call. Executing RINGING.
  21. [2012-09-24 11:13:47] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Sending AGI action EXEC RINGING
  22. [2012-09-24 11:13:48] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: c083f959-c12d-4530-855a-d5b39b47ff3c, Component ID: 7ee17863-6015-4013-8212-adf4241d7205: Starting up...
  23. [2012-09-24 11:13:48] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Sending AMI action Action: agi
  24. ActionID: acf953c3-1530-48be-b124-a9463aead33e
  25. Channel: SIP/pmx2-00000049
  26. Command: EXEC RINGING
  27. CommandID: 7ee17863-6015-4013-8212-adf4241d7205
  28.  
  29.  
  30. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [QUEUE]: Action: agi
  31. ActionID: acf953c3-1530-48be-b124-a9463aead33e
  32. Channel: SIP/pmx2-00000049
  33. Command: EXEC RINGING
  34. CommandID: 7ee17863-6015-4013-8212-adf4241d7205
  35.  
  36.  
  37. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [SEND]: Action: agi
  38. ActionID: acf953c3-1530-48be-b124-a9463aead33e
  39. Channel: SIP/pmx2-00000049
  40. Command: EXEC RINGING
  41. CommandID: 7ee17863-6015-4013-8212-adf4241d7205
  42.  
  43.  
  44. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [RECV-ACTIONS]: #<RubyAMI::Response:0xbe43e68 @headers={"ActionID"=>"acf953c3-1530-48be-b124-a9463aead33e", "Message"=>"Added AGI command to queue"}>
  45. [2012-09-24 11:13:48] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: c083f959-c12d-4530-855a-d5b39b47ff3c, Component ID: 7ee17863-6015-4013-8212-adf4241d7205: Handling response: #<RubyAMI::Response:0xbe43e68 @headers={"ActionID"=>"acf953c3-1530-48be-b124-a9463aead33e", "Message"=>"Added AGI command to queue"}, @action=Action: agi
  46. ActionID: acf953c3-1530-48be-b124-a9463aead33e
  47. Channel: SIP/pmx2-00000049
  48. Command: EXEC RINGING
  49. CommandID: 7ee17863-6015-4013-8212-adf4241d7205
  50.  
  51. >
  52. [2012-09-24 11:13:48] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: c083f959-c12d-4530-855a-d5b39b47ff3c, Component ID: 7ee17863-6015-4013-8212-adf4241d7205: Setting response on component node to #<Punchblock::Ref id="7ee17863-6015-4013-8212-adf4241d7205", target_call_id=nil, component_id=nil, target_mixer_name=nil>
  53. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbbc9070 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/pmx2-00000049", "CommandId"=>"395307382", "Command"=>"EXEC RINGING"}, @name="AGIExec">
  54. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb7d9d34 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"SIP/pmx2-00000049", "CommandId"=>"395307382", "Command"=>"EXEC RINGING", "ResultCode"=>"200", "Result"=>"Success"}, @name="AGIExec">
  55. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb89ab60 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Exec", "Channel"=>"SIP/pmx2-00000049", "CommandID"=>"7ee17863-6015-4013-8212-adf4241d7205", "Result"=>"200%20result%3D0%0A"}, @name="AsyncAGI">
  56. [2012-09-24 11:13:48] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Received an AsyncAGI event. Looking for matching AGICommand component.
  57. [2012-09-24 11:13:48] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: c083f959-c12d-4530-855a-d5b39b47ff3c, Component ID: 7ee17863-6015-4013-8212-adf4241d7205: Handling AMI event: #<RubyAMI::Event:0xb89ab60 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Exec", "Channel"=>"SIP/pmx2-00000049", "CommandID"=>"7ee17863-6015-4013-8212-adf4241d7205", "Result"=>"200%20result%3D0%0A"}, @name="AsyncAGI">
  58. [2012-09-24 11:13:48] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: c083f959-c12d-4530-855a-d5b39b47ff3c, Component ID: 7ee17863-6015-4013-8212-adf4241d7205: Received AsyncAGI:Exec event, sending complete event.
  59. [2012-09-24 11:13:48] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: c083f959-c12d-4530-855a-d5b39b47ff3c, Component ID: 7ee17863-6015-4013-8212-adf4241d7205: Sending event #<Punchblock::Event::Complete reason=#<Punchblock::Component::Asterisk::AGI::Command::Complete::Success code=200, result=0, data="">, recording=nil, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id="7ee17863-6015-4013-8212-adf4241d7205", target_mixer_name=nil>
  60. [2012-09-24 11:13:48] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: 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="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id="7ee17863-6015-4013-8212-adf4241d7205", target_mixer_name=nil>
  61. [2012-09-24 11:13:48] INFO Adhearsion::Router: Call c083f959-c12d-4530-855a-d5b39b47ff3c selected route "FROM-PSTN2" (Voiceservices)
  62. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Voiceservices controller
  63. [2012-09-24 11:13:48] DEBUG Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Receiving message: #<Punchblock::Event::Offer to="667090200", from="Anonymous <sip:Anonymous>", call_id="c083f959-c12d-4530-855a-d5b39b47ff3c"
  64. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: call.from is Anonymous <sip:Anonymous>
  65. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: #<Adhearsion::Call:c083f959-c12d-4530-855a-d5b39b47ff3c offer=#<Punchblock::Event::Offer to="667090200", from="Anonymous <sip:Anonymous>", call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", end_reason=nil, commands=[#<Punchblock::Command::Accept headers_hash={}, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil, state_name=:executing>], variables={:x_agi_request=>"async", :x_agi_channel=>"SIP/pmx2-00000049", :x_agi_language=>"en", :x_agi_type=>"SIP", :x_agi_uniqueid=>"1348478027.88", :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=>"-1254479040"}, controllers=[#<Voiceservices call=c083f959-c12d-4530-855a-d5b39b47ff3c, metadata={}>], to="667090200", from="Anonymous <sip:Anonymous>">
  66. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: call.from Anonymous <sip:Anonymous>
  67. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: call.to 667090200
  68. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Channel: SIP/pmx2-00000049
  69. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: ========cid_num 496151Anonymous <sip:Anonymous>============ Anonymous
  70. [2012-09-24 11:13:48] INFO Peer: ================================ Anonymous
  71. [2012-09-24 11:13:48] INFO Peer: user_id =
  72. [2012-09-24 11:13:48] INFO Peer: ================================ 667090200
  73. [2012-09-24 11:13:48] INFO Peer: user_id = 1277
  74. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: 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:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: PSTN -> VOIP
  76. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: +++++++++++++ owWtTgi
  77. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: SMS = false
  78. [2012-09-24 11:13:48] INFO Pbxhelper: 1 rules found for user.id 1277
  79. [2012-09-24 11:13:48] INFO Pbxhelper: Adding general rule or specific rule for caller 0
  80. [2012-09-24 11:13:48] INFO Pbxhelper: 1 rules found
  81. [2012-09-24 11:13:48] INFO Pbxhelper: 1 triggers found for rule (Revvl Forwarding 667090200)
  82. [2012-09-24 11:13:48] 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:13:48] INFO Pbxhelper: adding trigger to rule (Revvl Forwarding 667090200)
  93. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Rule found (Revvl Forwarding 667090200)
  94. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Executing ring rule
  95. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Number 00359876338826, Type CELL
  96. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Number 00359888783873, Type CELL
  97. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: ++++++++++++ 496151Anonymous +++++++++++++++++++ ["SIP/00359876338826@192.168.1.65", "SIP/00359888783873@192.168.1.65"]
  98. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Dialing:
  99. [2012-09-24 11:13:48] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Dialing ...
  100. [2012-09-24 11:13:48] 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:13:48] 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:13:48] DEBUG Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Starting up call with channel SIP/00359888783873@192.168.1.65, id 5f02674c-044c-4f54-821c-f303a382059d
  103. [2012-09-24 11:13:48] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction: c89e999c-71d3-4934-905d-887d81161be4: Starting up...
  104. [2012-09-24 11:13:48] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction: c89e999c-71d3-4934-905d-887d81161be4: Setting response on component node to #<Punchblock::Ref id="c89e999c-71d3-4934-905d-887d81161be4", target_call_id=nil, component_id=nil, target_mixer_name=nil>
  105. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [QUEUE]: Action: originate
  106. ActionID: c89e999c-71d3-4934-905d-887d81161be4
  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=5f02674c-044c-4f54-821c-f303a382059d
  113.  
  114.  
  115. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [SEND]: Action: originate
  116. ActionID: c89e999c-71d3-4934-905d-887d81161be4
  117. Async: true
  118. Application: AGI
  119. Data: agi:async
  120. Channel: SIP/00359888783873@192.168.1.65
  121. Callerid: 359888783777
  122. Variable: punchblock_call_id=5f02674c-044c-4f54-821c-f303a382059d
  123.  
  124.  
  125. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [RECV-ACTIONS]: #<RubyAMI::Response:0xb7b08d0 @headers={"ActionID"=>"c89e999c-71d3-4934-905d-887d81161be4", "Message"=>"Originate successfully queued"}>
  126. [2012-09-24 11:13:48] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction: c89e999c-71d3-4934-905d-887d81161be4: Handling response #<RubyAMI::Response:0xb7b08d0 @headers={"ActionID"=>"c89e999c-71d3-4934-905d-887d81161be4", "Message"=>"Originate successfully queued"}, @action=Action: originate
  127. ActionID: c89e999c-71d3-4934-905d-887d81161be4
  128. Async: true
  129. Application: AGI
  130. Data: agi:async
  131. Channel: SIP/00359888783873@192.168.1.65
  132. Callerid: 359888783777
  133. Variable: punchblock_call_id=5f02674c-044c-4f54-821c-f303a382059d
  134.  
  135. >
  136. [2012-09-24 11:13:48] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction: c89e999c-71d3-4934-905d-887d81161be4: 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="c89e999c-71d3-4934-905d-887d81161be4", target_mixer_name=nil>
  137. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbce2b8c @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004a", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"", "CallerIDName"=>"", "AccountCode"=>"", "Exten"=>"", "Context"=>"voiceservices", "Uniqueid"=>"1348478028.89"}, @name="Newchannel">
  138. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbd9f2c8 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"SIPCALLID", "Value"=>"45339f3b5691a4de71261a8d0f58669f@192.168.1.40:5060", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  139. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb806f8c @headers={"Privilege"=>"system,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Uniqueid"=>"1348478028.89", "Channeltype"=>"SIP", "SIPcallid"=>"45339f3b5691a4de71261a8d0f58669f@192.168.1.40:5060", "SIPfullcontact"=>""}, @name="ChannelUpdate">
  140. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xba0c3a4 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"punchblock_call_id", "Value"=>"5f02674c-044c-4f54-821c-f303a382059d", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  141. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb64d1f0 @headers={"Privilege"=>"system,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Channeltype"=>"SIP", "SIPcallid"=>"45339f3b5691a4de71261a8d0f58669f@192.168.1.40:5060", "SIPfullcontact"=>"", "Peername"=>"00359888783873"}, @name="ChannelUpdate">
  142. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbc701f4 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Uniqueid"=>"1348478028.89", "AccountCode"=>"", "OldAccountCode"=>""}, @name="NewAccountCode">
  143. [2012-09-24 11:13:48] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbe7862c @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004a", "CallerIDNum"=>"359888783777", "CallerIDName"=>"", "Uniqueid"=>"1348478028.89", "CID-CallingPres"=>"0 (Presentation Allowed, Not Screened)"}, @name="NewCallerid">
  144. [2012-09-24 11:13:48] TRACE Punchblock::Translator::Asterisk: Received a VarSet event indicating the full channel for call #<Punchblock::Translator::Asterisk::Call:5f02674c-044c-4f54-821c-f303a382059d Channel: "SIP/00359888783873@192.168.1.65">
  145. [2012-09-24 11:13:48] TRACE Punchblock::Translator::Asterisk: Removed call with old channel from channel map: {"SIP/pmx2-00000049"=>"c083f959-c12d-4530-855a-d5b39b47ff3c"}
  146. [2012-09-24 11:13:48] INFO Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Channel is changing from SIP/00359888783873@192.168.1.65 to SIP/192.168.1.65-0000004a.
  147. [2012-09-24 11:13:57] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbdeaa5c @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004a", "ChannelState"=>"5", "ChannelStateDesc"=>"Ringing", "CallerIDNum"=>"359888783777", "CallerIDName"=>"", "ConnectedLineNum"=>"359888783777", "ConnectedLineName"=>"", "Uniqueid"=>"1348478028.89"}, @name="Newstate">
  148. [2012-09-24 11:13:57] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Received a Newstate AMI event with state 5: Ringing
  149. [2012-09-24 11:13:57] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Sending Punchblock event: #<Punchblock::Event::Ringing headers_hash={}, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil>
  150. [2012-09-24 11:13:57] DEBUG Adhearsion::OutboundCall: 5f02674c-044c-4f54-821c-f303a382059d: Receiving message: #<Punchblock::Event::Ringing headers_hash={}, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil>
  151. [2012-09-24 11:14:00] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbd41754 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004a", "ChannelState"=>"6", "ChannelStateDesc"=>"Up", "CallerIDNum"=>"359888783777", "CallerIDName"=>"", "ConnectedLineNum"=>"359888783777", "ConnectedLineName"=>"", "Uniqueid"=>"1348478028.89"}, @name="Newstate">
  152. [2012-09-24 11:14:00] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbd2ddbc @headers={"Privilege"=>"system,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Channeltype"=>"SIP", "Uniqueid"=>"1348478028.89", "SIPcallid"=>"45339f3b5691a4de71261a8d0f58669f@192.168.1.40:5060", "SIPfullcontact"=>"sip:00359888783873@192.168.1.65:5060", "Peername"=>"00359888783873"}, @name="ChannelUpdate">
  153. [2012-09-24 11:14:00] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbeb2f48 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"punchblock_call_id", "Value"=>"5f02674c-044c-4f54-821c-f303a382059d", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  154. [2012-09-24 11:14:00] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbcfb164 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Uniqueid"=>"1348478028.89", "AccountCode"=>"", "OldAccountCode"=>""}, @name="NewAccountCode">
  155. [2012-09-24 11:14:00] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Received a Newstate AMI event with state 6: Up
  156. [2012-09-24 11:14:00] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Sending Punchblock event: #<Punchblock::Event::Answered headers_hash={}, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil>
  157. [2012-09-24 11:14:00] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbd05e70 @headers={"Privilege"=>"call,all", "ActionID"=>"c89e999c-71d3-4934-905d-887d81161be4", "Response"=>"Success", "Channel"=>"SIP/192.168.1.65-0000004a", "Context"=>"", "Exten"=>"", "Reason"=>"4", "Uniqueid"=>"1348478028.89", "CallerIDNum"=>"359888783777", "CallerIDName"=>"<unknown>"}, @name="OriginateResponse">
  158. [2012-09-24 11:14:00] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbed9f94 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/192.168.1.65-0000004a", "Env"=>"agi_request%3A%20async%0Aagi_channel%3A%20SIP%2F192.168.1.65-0000004a%0Aagi_language%3A%20en%0Aagi_type%3A%20SIP%0Aagi_uniqueid%3A%201348478028.89%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-1254724800%0A%0A"}, @name="AsyncAGI">
  159. [2012-09-24 11:14:00] TRACE Punchblock::Translator::Asterisk: Received a VarSet event indicating the full channel for call #<Punchblock::Translator::Asterisk::Call:5f02674c-044c-4f54-821c-f303a382059d Channel: "SIP/192.168.1.65-0000004a">
  160. [2012-09-24 11:14:00] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Received an AsyncAGI event. Looking for matching AGICommand component.
  161. [2012-09-24 11:14:00] WARN Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Could not find component for AMI event: #<RubyAMI::Event:0xbed9f94 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/192.168.1.65-0000004a", "Env"=>"agi_request%3A%20async%0Aagi_channel%3A%20SIP%2F192.168.1.65-0000004a%0Aagi_language%3A%20en%0Aagi_type%3A%20SIP%0Aagi_uniqueid%3A%201348478028.89%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-1254724800%0A%0A"}, @name="AsyncAGI">
  162. [2012-09-24 11:14:00] TRACE Punchblock::Translator::Asterisk: Removed call with old channel from channel map: {"SIP/pmx2-00000049"=>"c083f959-c12d-4530-855a-d5b39b47ff3c"}
  163. [2012-09-24 11:14:00] DEBUG Adhearsion::OutboundCall: 5f02674c-044c-4f54-821c-f303a382059d: Receiving message: #<Punchblock::Event::Answered headers_hash={}, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil>
  164. [2012-09-24 11:14:00] INFO Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Channel is changing from SIP/192.168.1.65-0000004a to SIP/192.168.1.65-0000004a.
  165. [2012-09-24 11:14:00] DEBUG Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: #dial joining call 5f02674c-044c-4f54-821c-f303a382059d to c083f959-c12d-4530-855a-d5b39b47ff3c
  166. [2012-09-24 11:14:00] DEBUG Adhearsion::OutboundCall: 5f02674c-044c-4f54-821c-f303a382059d: Executing command #<Punchblock::Command::Join call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", mixer_name=nil, direction=nil, media=nil, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  167. [2012-09-24 11:14:00] TRACE Punchblock::Translator::Asterisk: Executing command #<Punchblock::Command::Join call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", mixer_name=nil, direction=nil, media=nil, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  168. [2012-09-24 11:14:00] DEBUG Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Executing command: #<Punchblock::Command::Join call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", mixer_name=nil, direction=nil, media=nil, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil, state_name=:requested>
  169. [2012-09-24 11:14:00] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Sending AGI action EXEC Bridge
  170. [2012-09-24 11:14:00] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 5f02674c-044c-4f54-821c-f303a382059d, Component ID: fa59a007-9281-4ec9-b7c3-2ac913b26a5e: Starting up...
  171. [2012-09-24 11:14:00] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Sending AMI action Action: agi
  172. ActionID: ede60c89-d6b0-43fc-bfc1-f7ac0d232053
  173. Channel: SIP/192.168.1.65-0000004a
  174. Command: EXEC Bridge "SIP/pmx2-00000049"
  175. CommandID: fa59a007-9281-4ec9-b7c3-2ac913b26a5e
  176.  
  177.  
  178. [2012-09-24 11:14:00] TRACE RubyAMI::Client: [QUEUE]: Action: agi
  179. ActionID: ede60c89-d6b0-43fc-bfc1-f7ac0d232053
  180. Channel: SIP/192.168.1.65-0000004a
  181. Command: EXEC Bridge "SIP/pmx2-00000049"
  182. CommandID: fa59a007-9281-4ec9-b7c3-2ac913b26a5e
  183.  
  184.  
  185. [2012-09-24 11:14:00] TRACE RubyAMI::Client: [SEND]: Action: agi
  186. ActionID: ede60c89-d6b0-43fc-bfc1-f7ac0d232053
  187. Channel: SIP/192.168.1.65-0000004a
  188. Command: EXEC Bridge "SIP/pmx2-00000049"
  189. CommandID: fa59a007-9281-4ec9-b7c3-2ac913b26a5e
  190.  
  191.  
  192. [2012-09-24 11:14:00] TRACE RubyAMI::Client: [RECV-ACTIONS]: #<RubyAMI::Response:0xbbf9a7c @headers={"ActionID"=>"ede60c89-d6b0-43fc-bfc1-f7ac0d232053", "Message"=>"Added AGI command to queue"}>
  193. [2012-09-24 11:14:00] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 5f02674c-044c-4f54-821c-f303a382059d, Component ID: fa59a007-9281-4ec9-b7c3-2ac913b26a5e: Handling response: #<RubyAMI::Response:0xbbf9a7c @headers={"ActionID"=>"ede60c89-d6b0-43fc-bfc1-f7ac0d232053", "Message"=>"Added AGI command to queue"}, @action=Action: agi
  194. ActionID: ede60c89-d6b0-43fc-bfc1-f7ac0d232053
  195. Channel: SIP/192.168.1.65-0000004a
  196. Command: EXEC Bridge "SIP/pmx2-00000049"
  197. CommandID: fa59a007-9281-4ec9-b7c3-2ac913b26a5e
  198.  
  199. >
  200. [2012-09-24 11:14:00] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 5f02674c-044c-4f54-821c-f303a382059d, Component ID: fa59a007-9281-4ec9-b7c3-2ac913b26a5e: Setting response on component node to #<Punchblock::Ref id="fa59a007-9281-4ec9-b7c3-2ac913b26a5e", target_call_id=nil, component_id=nil, target_mixer_name=nil>
  201. [2012-09-24 11:14:00] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbe37f8c @headers={"Privilege"=>"agi,all", "SubEvent"=>"Start", "Channel"=>"SIP/192.168.1.65-0000004a", "CommandId"=>"1040182907", "Command"=>"EXEC Bridge \"SIP/pmx2-00000049\""}, @name="AGIExec">
  202. [2012-09-24 11:14:00] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xba91a18 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000049", "ChannelState"=>"6", "ChannelStateDesc"=>"Up", "CallerIDNum"=>"Anonymous", "CallerIDName"=>"Anonymous", "ConnectedLineNum"=>"", "ConnectedLineName"=>"", "Uniqueid"=>"1348478027.88"}, @name="Newstate">
  203. [2012-09-24 11:14:00] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Received a Newstate AMI event with state 6: Up
  204. [2012-09-24 11:14:00] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Sending Punchblock event: #<Punchblock::Event::Answered headers_hash={}, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil>
  205. [2012-09-24 11:14:00] DEBUG Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Receiving message: #<Punchblock::Event::Answered headers_hash={}, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil>
  206. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbf1d424 @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-00000049", "ChannelState"=>"0", "ChannelStateDesc"=>"Down", "CallerIDNum"=>"", "CallerIDName"=>"", "AccountCode"=>"", "Exten"=>"", "Context"=>"", "Uniqueid"=>"1348478041.90"}, @name="Newchannel">
  207. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbda1000 @headers={"Privilege"=>"call,all", "State"=>"Stop", "Channel"=>"SIP/pmx2-00000049", "UniqueID"=>"1348478027.88"}, @name="MusicOnHold">
  208. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb852658 @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-00000049", "ChannelState"=>"6", "ChannelStateDesc"=>"Up", "CallerIDNum"=>"", "CallerIDName"=>"", "ConnectedLineNum"=>"", "ConnectedLineName"=>"", "Uniqueid"=>"1348478041.90"}, @name="Newstate">
  209. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb64e640 @headers={"Privilege"=>"call,all", "Clone"=>"SIP/pmx2-00000049", "CloneState"=>"Up", "Original"=>"Bridge/SIP/pmx2-00000049", "OriginalState"=>"Up"}, @name="Masquerade">
  210. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xba186f4 @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-00000049", "Newname"=>"SIP/pmx2-00000049", "Uniqueid"=>"1348478041.90"}, @name="Rename">
  211. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xba0fdd8 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000049", "Newname"=>"SIP/pmx2-00000049<MASQ>", "Uniqueid"=>"1348478027.88"}, @name="Rename">
  212. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbe6421c @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000049", "CallerIDNum"=>"Anonymous", "CallerIDName"=>"Anonymous", "Uniqueid"=>"1348478041.90", "CID-CallingPres"=>"0 (Presentation Allowed, Not Screened)"}, @name="NewCallerid">
  213. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbc70a00 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000049<MASQ>", "Newname"=>"Bridge/SIP/pmx2-00000049<ZOMBIE>", "Uniqueid"=>"1348478027.88"}, @name="Rename">
  214. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbc22990 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"Bridge/SIP/pmx2-00000049<ZOMBIE>"}, @name="AsyncAGI">
  215. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbc2c5e4 @headers={"Privilege"=>"dialplan,all", "Channel"=>"Bridge/SIP/pmx2-00000049<ZOMBIE>", "Variable"=>"AGISTATUS", "Value"=>"HANGUP", "Uniqueid"=>"1348478027.88"}, @name="VarSet">
  216. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbf0bc38 @headers={"Privilege"=>"dialplan,all", "Channel"=>"Bridge/SIP/pmx2-00000049<ZOMBIE>", "Context"=>"pstn-incomming", "Extension"=>"h", "Priority"=>"1", "Application"=>"NoOp", "AppData"=>"", "Uniqueid"=>"1348478027.88"}, @name="Newexten">
  217. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbf05f54 @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-00000049<ZOMBIE>", "Uniqueid"=>"1348478027.88", "Cause"=>"16"}, @name="SoftHangupRequest">
  218. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbdcfa7c @headers={"Privilege"=>"call,all", "Channel"=>"Bridge/SIP/pmx2-00000049<ZOMBIE>", "Uniqueid"=>"1348478027.88", "CallerIDNum"=>"<unknown>", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Cause"=>"0", "Cause-txt"=>"Unknown"}, @name="Hangup">
  219. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbc51fd8 @headers={"Privilege"=>"call,all", "Response"=>"Success", "Channel1"=>"SIP/192.168.1.65-0000004a", "Channel2"=>"SIP/pmx2-00000049"}, @name="BridgeExec">
  220. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbd78114 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-0000004a", "Uniqueid"=>"1348478041.90"}, @name="VarSet">
  221. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbde8568 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-00000049", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  222. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb8e71b8 @headers={"Privilege"=>"call,all", "Bridgestate"=>"Link", "Bridgetype"=>"core", "Channel1"=>"SIP/192.168.1.65-0000004a", "Channel2"=>"SIP/pmx2-00000049", "Uniqueid1"=>"1348478028.89", "Uniqueid2"=>"1348478041.90", "CallerID1"=>"359888783777", "CallerID2"=>"Anonymous"}, @name="Bridge">
  223. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbd82088 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000049", "Uniqueid"=>"1348478041.90", "AccountCode"=>"", "OldAccountCode"=>""}, @name="NewAccountCode">
  224. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbd40534 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"0bf84c4a631cc7a30bf42ba06fceddf6@192.168.1.65:5060", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  225. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbd36340 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-00000049", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  226. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbebf02c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"45339f3b5691a4de71261a8d0f58669f@192.168.1.40:5060", "Uniqueid"=>"1348478041.90"}, @name="VarSet">
  227. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbeb5900 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-0000004a", "Uniqueid"=>"1348478041.90"}, @name="VarSet">
  228. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbd035e4 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"0bf84c4a631cc7a30bf42ba06fceddf6@192.168.1.65:5060", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  229. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbcf88b0 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-00000049", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  230. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbee5538 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"45339f3b5691a4de71261a8d0f58669f@192.168.1.40:5060", "Uniqueid"=>"1348478041.90"}, @name="VarSet">
  231. [2012-09-24 11:14:01] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xbeda9e4 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-0000004a", "Uniqueid"=>"1348478041.90"}, @name="VarSet">
  232. [2012-09-24 11:14:01] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Sending Punchblock event: #<Punchblock::Event::Joined call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", mixer_name=nil, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil>
  233. [2012-09-24 11:14:01] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Sending Punchblock event: #<Punchblock::Event::Joined call_id="5f02674c-044c-4f54-821c-f303a382059d", mixer_name=nil, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil>
  234. [2012-09-24 11:14:01] DEBUG Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Receiving message: #<Punchblock::Event::Joined call_id="5f02674c-044c-4f54-821c-f303a382059d", mixer_name=nil, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil>
  235. [2012-09-24 11:14:01] DEBUG Adhearsion::OutboundCall: 5f02674c-044c-4f54-821c-f303a382059d: Receiving message: #<Punchblock::Event::Joined call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", mixer_name=nil, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil>
  236. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xc0477f0 @headers={"Privilege"=>"dtmf,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Uniqueid"=>"1348478028.89", "Digit"=>"8", "Direction"=>"Received", "Begin"=>"Yes", "End"=>"No"}, @name="DTMF">
  237. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xc04f25c @headers={"Privilege"=>"call,all", "Bridgestate"=>"Unlink", "Bridgetype"=>"core", "Channel1"=>"SIP/192.168.1.65-0000004a", "Channel2"=>"SIP/pmx2-00000049", "Uniqueid1"=>"1348478028.89", "Uniqueid2"=>"1348478041.90", "CallerID1"=>"359888783777", "CallerID2"=>"Anonymous"}, @name="Bridge">
  238. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xc0667cc @headers={"Privilege"=>"dtmf,all", "Channel"=>"SIP/pmx2-00000049", "Uniqueid"=>"1348478041.90", "Digit"=>"8", "Direction"=>"Sent", "Begin"=>"Yes", "End"=>"No"}, @name="DTMF">
  239. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xc0725e0 @headers={"Privilege"=>"call,all", "Bridgestate"=>"Link", "Bridgetype"=>"core", "Channel1"=>"SIP/192.168.1.65-0000004a", "Channel2"=>"SIP/pmx2-00000049", "Uniqueid1"=>"1348478028.89", "Uniqueid2"=>"1348478041.90", "CallerID1"=>"359888783777", "CallerID2"=>"Anonymous"}, @name="Bridge">
  240. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xc07c8b0 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-00000049", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  241. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xc0926b0 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-0000004a", "Uniqueid"=>"1348478041.90"}, @name="VarSet">
  242. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xc0878f0 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"0bf84c4a631cc7a30bf42ba06fceddf6@192.168.1.65:5060", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  243. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xc0a9694 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/pmx2-00000049", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  244. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xc09f3ec @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"45339f3b5691a4de71261a8d0f58669f@192.168.1.40:5060", "Uniqueid"=>"1348478041.90"}, @name="VarSet">
  245. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xc0b5b74 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"0bf84c4a631cc7a30bf42ba06fceddf6@192.168.1.65:5060", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  246. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xc113d28 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"BRIDGEPEER", "Value"=>"SIP/192.168.1.65-0000004a", "Uniqueid"=>"1348478041.90"}, @name="VarSet">
  247. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xc11dd14 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"BRIDGEPVTCALLID", "Value"=>"45339f3b5691a4de71261a8d0f58669f@192.168.1.40:5060", "Uniqueid"=>"1348478041.90"}, @name="VarSet">
  248. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Sending Punchblock event: #<Punchblock::Event::Unjoined call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", mixer_name=nil, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil>
  249. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Sending Punchblock event: #<Punchblock::Event::Unjoined call_id="5f02674c-044c-4f54-821c-f303a382059d", mixer_name=nil, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil>
  250. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Sending Punchblock event: #<Punchblock::Event::Joined call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", mixer_name=nil, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil>
  251. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Sending Punchblock event: #<Punchblock::Event::Joined call_id="5f02674c-044c-4f54-821c-f303a382059d", mixer_name=nil, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil>
  252. [2012-09-24 11:14:10] DEBUG Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Receiving message: #<Punchblock::Event::Unjoined call_id="5f02674c-044c-4f54-821c-f303a382059d", mixer_name=nil, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil>
  253. [2012-09-24 11:14:10] DEBUG Adhearsion::OutboundCall: 5f02674c-044c-4f54-821c-f303a382059d: Receiving message: #<Punchblock::Event::Unjoined call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", mixer_name=nil, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil>
  254. [2012-09-24 11:14:10] DEBUG Adhearsion::OutboundCall: 5f02674c-044c-4f54-821c-f303a382059d: Receiving message: #<Punchblock::Event::Joined call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", mixer_name=nil, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil>
  255. [2012-09-24 11:14:10] DEBUG Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Receiving message: #<Punchblock::Event::Joined call_id="5f02674c-044c-4f54-821c-f303a382059d", mixer_name=nil, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil>
  256. [2012-09-24 11:14:10] DEBUG Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: #dial finished. Hanging up 1 outbound calls: 5f02674c-044c-4f54-821c-f303a382059d.
  257. [2012-09-24 11:14:10] INFO Adhearsion::OutboundCall: 5f02674c-044c-4f54-821c-f303a382059d: Hanging up
  258. [2012-09-24 11:14:10] DEBUG Adhearsion::OutboundCall: 5f02674c-044c-4f54-821c-f303a382059d: Executing command #<Punchblock::Command::Hangup headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new>
  259. [2012-09-24 11:14:10] 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>
  260. [2012-09-24 11:14:10] DEBUG Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Executing command: #<Punchblock::Command::Hangup headers_hash={}, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil, state_name=:requested>
  261. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Sending AMI action Action: hangup
  262. ActionID: d7c6e4b5-ae21-42c0-9aaa-00d3de31e600
  263. Channel: SIP/192.168.1.65-0000004a
  264.  
  265.  
  266. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [QUEUE]: Action: hangup
  267. ActionID: d7c6e4b5-ae21-42c0-9aaa-00d3de31e600
  268. Channel: SIP/192.168.1.65-0000004a
  269.  
  270.  
  271. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [SEND]: Action: hangup
  272. ActionID: d7c6e4b5-ae21-42c0-9aaa-00d3de31e600
  273. Channel: SIP/192.168.1.65-0000004a
  274.  
  275.  
  276. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-ACTIONS]: #<RubyAMI::Response:0xb5184920 @headers={"ActionID"=>"d7c6e4b5-ae21-42c0-9aaa-00d3de31e600", "Message"=>"Channel Hungup"}>
  277. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb531cd64 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Uniqueid"=>"1348478028.89", "Cause"=>"16"}, @name="SoftHangupRequest">
  278. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb3a72160 @headers={"Privilege"=>"call,all", "Bridgestate"=>"Unlink", "Bridgetype"=>"core", "Channel1"=>"SIP/192.168.1.65-0000004a", "Channel2"=>"SIP/pmx2-00000049", "Uniqueid1"=>"1348478028.89", "Uniqueid2"=>"1348478041.90", "CallerID1"=>"359888783777", "CallerID2"=>"Anonymous"}, @name="Bridge">
  279. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb518184c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Context"=>"voiceservices", "Extension"=>"h", "Priority"=>"1", "Application"=>"NoOp", "AppData"=>"", "Uniqueid"=>"1348478028.89"}, @name="Newexten">
  280. [2012-09-24 11:14:10] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: dial Command finished
  281. [2012-09-24 11:14:10] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: ++++++++++++++++++++++--===--+++++++
  282. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Sending Punchblock event: #<Punchblock::Event::Unjoined call_id="5f02674c-044c-4f54-821c-f303a382059d", mixer_name=nil, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil>
  283. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Sending Punchblock event: #<Punchblock::Event::Unjoined call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", mixer_name=nil, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil>
  284. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb40dc3d4 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"BRIDGERESULT", "Value"=>"SUCCESS", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  285. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb51963b4 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"SIP/192.168.1.65-0000004a", "CommandId"=>"1040182907", "Command"=>"EXEC Bridge \"SIP/pmx2-00000049\"", "ResultCode"=>"200", "Result"=>"Success"}, @name="AGIExec">
  286. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5199898 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000049", "Uniqueid"=>"1348478041.90", "Cause"=>"16"}, @name="SoftHangupRequest">
  287. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb519eff0 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Exec", "Channel"=>"SIP/192.168.1.65-0000004a", "CommandID"=>"fa59a007-9281-4ec9-b7c3-2ac913b26a5e", "Result"=>"200%20result%3D0%0A"}, @name="AsyncAGI">
  288. [2012-09-24 11:14:10] DEBUG Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Receiving message: #<Punchblock::Event::Unjoined call_id="5f02674c-044c-4f54-821c-f303a382059d", mixer_name=nil, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil>
  289. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5282610 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"SIP/192.168.1.65-0000004a"}, @name="AsyncAGI">
  290. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb51a33d4 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Context"=>"pstn-incomming", "Extension"=>"h", "Priority"=>"1", "Application"=>"NoOp", "AppData"=>"", "Uniqueid"=>"1348478041.90"}, @name="Newexten">
  291. [2012-09-24 11:14:10] DEBUG Adhearsion::OutboundCall: 5f02674c-044c-4f54-821c-f303a382059d: Receiving message: #<Punchblock::Event::Unjoined call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", mixer_name=nil, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id=nil, target_mixer_name=nil>
  292. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5280414 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"RTPAUDIOQOS", "Value"=>"ssrc=1911972014;themssrc=1536292089;lp=0;rxjitter=0.000013;rxcount=477;txjitter=0.000000;txcount=479;rlp=0;rtt=0.000000", "Uniqueid"=>"1348478041.90"}, @name="VarSet">
  293. [2012-09-24 11:14:10] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: last_dial_status = answer --- !ruby/object:Adhearsion::CallController::Dial::DialStatus
  294. result: :answer
  295. calls:
  296. - !ruby/object:Adhearsion::OutboundCall
  297. mailbox: !ruby/object:Celluloid::Mailbox
  298. messages: []
  299. mutex: !ruby/object:Mutex {}
  300. dead: false
  301. condition: !ruby/object:ConditionVariable
  302. waiters: []
  303. waiters_mutex: !ruby/object:Mutex {}
  304. thread: !ruby/object:Celluloid::ThreadHandle
  305. mutex: !ruby/object:Mutex {}
  306. join: !ruby/object:ConditionVariable
  307. waiters: []
  308. waiters_mutex: !ruby/object:Mutex {}
  309. thread: !ruby/object:Thread {}
  310. klass: Adhearsion::OutboundCall
  311.  
  312. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5288178 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"RTPAUDIOQOS", "Value"=>"ssrc=41407523;themssrc=84099329;lp=0;rxjitter=0.000009;rxcount=484;txjitter=0.000000;txcount=455;rlp=0;rtt=0.000000", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  313. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52944f0 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "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"=>"1348478041.90"}, @name="VarSet">
  314. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb5296e80 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "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"=>"1348478028.89"}, @name="VarSet">
  315. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52a1858 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "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"=>"1348478041.90"}, @name="VarSet">
  316. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Received an AsyncAGI event. Looking for matching AGICommand component.
  317. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Received an AsyncAGI event. Looking for matching AGICommand component.
  318. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52a48dc @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "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"=>"1348478028.89"}, @name="VarSet">
  319. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb52af6d8 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"RTPAUDIOQOSRTT", "Value"=>"minrtt=0.000000;maxrtt=0.000000;avgrtt=0.000000;stdevrtt=0.000000;", "Uniqueid"=>"1348478041.90"}, @name="VarSet">
  320. [2012-09-24 11:14:10] WARN Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Could not find component for AMI event: #<RubyAMI::Event:0xb5282610 @headers={"Privilege"=>"agi,all", "SubEvent"=>"End", "Channel"=>"SIP/192.168.1.65-0000004a"}, @name="AsyncAGI">
  321. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb528b634 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"AGISTATUS", "Value"=>"HANGUP", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  322. [2012-09-24 11:14:10] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 5f02674c-044c-4f54-821c-f303a382059d, Component ID: fa59a007-9281-4ec9-b7c3-2ac913b26a5e: Handling AMI event: #<RubyAMI::Event:0xb519eff0 @headers={"Privilege"=>"agi,all", "SubEvent"=>"Exec", "Channel"=>"SIP/192.168.1.65-0000004a", "CommandID"=>"fa59a007-9281-4ec9-b7c3-2ac913b26a5e", "Result"=>"200%20result%3D0%0A"}, @name="AsyncAGI">
  323. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb53ab94c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/pmx2-00000049", "Variable"=>"RTPAUDIOQOS", "Value"=>"ssrc=1911972014;themssrc=1536292089;lp=0;rxjitter=0.000013;rxcount=477;txjitter=0.000000;txcount=479;rlp=0;rtt=0.000000", "Uniqueid"=>"1348478041.90"}, @name="VarSet">
  324. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb53a7d4c @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"RTPAUDIOQOSRTT", "Value"=>"minrtt=0.000000;maxrtt=0.000000;avgrtt=0.000000;stdevrtt=0.000000;", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  325. [2012-09-24 11:14:10] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 5f02674c-044c-4f54-821c-f303a382059d, Component ID: fa59a007-9281-4ec9-b7c3-2ac913b26a5e: Received AsyncAGI:Exec event, sending complete event.
  326. [2012-09-24 11:14:10] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: +++++++++++++++++++++++++ BMISSED false answer
  327. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb53aeb74 @headers={"Privilege"=>"dialplan,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Variable"=>"RTPAUDIOQOS", "Value"=>"ssrc=41407523;themssrc=84099329;lp=0;rxjitter=0.000009;rxcount=484;txjitter=0.000000;txcount=455;rlp=0;rtt=0.000000", "Uniqueid"=>"1348478028.89"}, @name="VarSet">
  328. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb53b1cac @headers={"Privilege"=>"call,all", "Channel"=>"SIP/192.168.1.65-0000004a", "Uniqueid"=>"1348478028.89", "CallerIDNum"=>"359888783777", "CallerIDName"=>"<unknown>", "ConnectedLineNum"=>"359888783777", "ConnectedLineName"=>"<unknown>", "Cause"=>"16", "Cause-txt"=>"Normal Clearing"}, @name="Hangup">
  329. [2012-09-24 11:14:10] TRACE RubyAMI::Client: [RECV-EVENTS]: #<RubyAMI::Event:0xb53bb888 @headers={"Privilege"=>"call,all", "Channel"=>"SIP/pmx2-00000049", "Uniqueid"=>"1348478041.90", "CallerIDNum"=>"Anonymous", "CallerIDName"=>"Anonymous", "ConnectedLineNum"=>"<unknown>", "ConnectedLineName"=>"<unknown>", "Cause"=>"0", "Cause-txt"=>"Unknown"}, @name="Hangup">
  330. [2012-09-24 11:14:10] DEBUG Punchblock::Translator::Asterisk::Component::Asterisk::AGICommand: Call ID: 5f02674c-044c-4f54-821c-f303a382059d, Component ID: fa59a007-9281-4ec9-b7c3-2ac913b26a5e: Sending event #<Punchblock::Event::Complete reason=#<Punchblock::Component::Asterisk::AGI::Command::Complete::Success code=200, result=0, data="">, recording=nil, target_call_id="5f02674c-044c-4f54-821c-f303a382059d", component_id="fa59a007-9281-4ec9-b7c3-2ac913b26a5e", target_mixer_name=nil>
  331. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: 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="5f02674c-044c-4f54-821c-f303a382059d", component_id="fa59a007-9281-4ec9-b7c3-2ac913b26a5e", target_mixer_name=nil>
  332. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: 5f02674c-044c-4f54-821c-f303a382059d: Received a Hangup AMI event. Sending End event.
  333. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Received a Hangup AMI event. Sending End event.
  334. [2012-09-24 11:14:10] TRACE Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Sending Punchblock event: #<Punchblock::Event::End reason=:hangup, headers_hash={}, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil>
  335. [2012-09-24 11:14:10] ERROR Celluloid: Punchblock::Translator::Asterisk::Call crashed!
  336. Celluloid::DeadActorError: attempted to call a dead actor
  337. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/celluloid-0.11.0/lib/celluloid/responses.rb:22:in `value'
  338. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/celluloid-0.11.0/lib/celluloid/actor.rb:52:in `call'
  339. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/celluloid-0.11.0/lib/celluloid/actor_proxy.rb:99:in `method_missing'
  340. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/punchblock-1.2.0/lib/punchblock/translator/asterisk/call.rb:114:in `block in process_ami_event'
  341. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/punchblock-1.2.0/lib/punchblock/translator/asterisk/call.rb:113:in `each_pair'
  342. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/punchblock-1.2.0/lib/punchblock/translator/asterisk/call.rb:113:in `process_ami_event'
  343. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/celluloid-0.11.0/lib/celluloid/calls.rb:98:in `dispatch'
  344. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/celluloid-0.11.0/lib/celluloid/actor.rb:225:in `block in handle_message'
  345. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/celluloid-0.11.0/lib/celluloid/task.rb:45:in `block in initialize'
  346. [2012-09-24 11:14:10] ERROR Adhearsion::Initializer: <Celluloid::DeadActorError> attempted to call a dead actor
  347. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/celluloid-0.11.0/lib/celluloid/responses.rb:22:in `value'
  348. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/celluloid-0.11.0/lib/celluloid/actor.rb:52:in `call'
  349. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/celluloid-0.11.0/lib/celluloid/actor_proxy.rb:99:in `method_missing'
  350. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/punchblock-1.2.0/lib/punchblock/translator/asterisk/call.rb:114:in `block in process_ami_event'
  351. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/punchblock-1.2.0/lib/punchblock/translator/asterisk/call.rb:113:in `each_pair'
  352. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/punchblock-1.2.0/lib/punchblock/translator/asterisk/call.rb:113:in `process_ami_event'
  353. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/celluloid-0.11.0/lib/celluloid/calls.rb:98:in `dispatch'
  354. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/celluloid-0.11.0/lib/celluloid/actor.rb:225:in `block in handle_message'
  355. /usr/local/rvm/gems/ruby-1.9.3-p194/gems/celluloid-0.11.0/lib/celluloid/task.rb:45:in `block in initialize'
  356. [2012-09-24 11:14:10] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: ====================== false answer
  357. [2012-09-24 11:14:10] DEBUG Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Receiving message: #<Punchblock::Event::End reason=:hangup, headers_hash={}, target_call_id="c083f959-c12d-4530-855a-d5b39b47ff3c", component_id=nil, target_mixer_name=nil>
  358. [2012-09-24 11:14:10] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Call ended
  359. [2012-09-24 11:14:10] INFO Pbxhelper: No 'platform.url.incomingcall' parameter for user_id '1277'
  360. [2012-09-24 11:14:10] INFO Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Callout/Email notification sent
  361. [2012-09-24 11:14:10] DEBUG Adhearsion::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Finished executing controller #<Voiceservices call=c083f959-c12d-4530-855a-d5b39b47ff3c, metadata={}>
  362.  
  363.  
  364. [2012-09-24 11:14:15] DEBUG Punchblock::Translator::Asterisk::Call: c083f959-c12d-4530-855a-d5b39b47ff3c: Shutting down
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement