Skip to content

Instantly share code, notes, and snippets.

ayo.c:1432 Deliver 54.213.58.94 => 1@54.213.58.94/ip-172-31-41-127.us-west-2.compute.internal-20729 <iq type='result' from='54.213.58.94' to='1@54.213.58.94/ip-172-31-41-127.us-west-2.compute.internal-20729' id='blatherd9aa'/>
2014-03-03 16:48:23.291176 [DEBUG] mod_rayo.c:631 Unlock 1@54.213.58.94/ip-172-31-41-127.us-west-2.compute.internal-20729: ref count = 1
2014-03-03 16:48:23.291176 [DEBUG] xmpp_streams.c:190 c2s_in 1@54.213.58.94/ip-172-31-41-127.us-west-2.compute.internal-20729 SEND <iq type='result' from='54.213.58.94' to='1@54.213.58.94/ip-172-31-41-127.us-west-2.compute.internal-20729' id='blatherd9aa'/>
2014-03-03 16:48:28.086319 [DEBUG] xmpp_streams.c:190 c2s_in 1@54.213.58.94/ip-172-31-41-127.us-west-2.compute.internal-1696 RECV <iq type="get" to="54.213.58.94" id="blather2303e"><ping xmlns="urn:xmpp:ping"/></iq>
2014-03-03 16:48:28.086319 [DEBUG] xmpp_streams.c:1058 1@54.213.58.94/ip-172-31-41-127.us-west-2.compute.internal-1696, state = READY, node type = NODE_NORMAL
2014-03-03 16:48:28.086319
<joined xmlns="urn:xmpp:rayo:1" call-uri="xmpp:32d2ea84-a321-11e3-92a8-af6f720258e8@176.9.89.23"/>
</presence>
[2014-03-03 23:14:43.550] DEBUG Adhearsion::OutboundCall: 32d2ea84-a321-11e3-92a8-af6f720258e8@176.9.89.23: Receiving message: #<Punchblock::Event:Joined target_call_id="32d2ea84-a321-11e3-92a8-af6f720258e8", target_mixer_name=nil, component_id=nil, source_uri="xmpp:32d2ea84-a321-11e3-92a8-a6f720258e8@176.9.89.23", domain="176.9.89.23", transport="xmpp", timestamp=Mon, 03 Mar 2014 23:14:43 +0100, call_uri="xmpp:dd2a3551-9e30-44f1-1eddb32afc293bd6@176.9.89.23", mixer_name=nil>
[2014-03-03 23:14:43.550] INFO Adhearsion::OutboundCall: 32d2ea84-a321-11e3-92a8-af6f720258e8@176.9.89.23: Joined to call xmpp:dd2a3551-9e30-44f11edd-b32afc293bd6@176.9.89.23
[2014-03-03 23:14:43.554] DEBUG Adhearsion::Call: dd2a3551-9e30-44f1-1edd-b32afc293bd6@176.9.89.23: Receiving message: #<Punchblock::Event::Joinedtarget_call_id="dd2a3551-9e30-44f1-1edd-b32afc293bd6", target_mixer_name=nil, component_id=nil, source_uri="x
2014-03-03 23:23:27.931130 [NOTICE] switch_channel.c:1053 New Channel sofia/internal/test7@176.9.89.23 [54173acc-0fd9-dc5e-4924-6e28477897c6]
2014-03-03 23:23:27.931130 [DEBUG] switch_core_session.c:1049 Send signal sofia/internal/test7@176.9.89.23 [BREAK]
2014-03-03 23:23:27.931130 [DEBUG] switch_core_session.c:1049 Send signal sofia/internal/test7@176.9.89.23 [BREAK]
2014-03-03 23:23:27.931130 [DEBUG] switch_core_state_machine.c:467 (sofia/internal/test7@176.9.89.23) Running State Change CS_NEW
2014-03-03 23:23:27.931130 [DEBUG] sofia.c:8211 sofia/internal/test7@176.9.89.23 receiving invite from 202.157.93.2:59343 version: 1.5.11b git 4b6c08b 2014-02-28 02:17:26Z 64bit
2014-03-03 23:23:27.931130 [DEBUG] sofia.c:8378 IP 202.157.93.2 Rejected by acl "domains". Falling back to Digest auth.
2014-03-03 23:23:27.931130 [DEBUG] switch_core_state_machine.c:486 (sofia/internal/test7@176.9.89.23) State NEW
2014-03-03 23:23:27.931130 [DEBUG] switch_core_session.c:1049 Send signal sofia/internal/test7@176.9.89.23 [BREA
[2014-03-03 23:44:03.901] TRACE Punchblock::Connection::XMPP: RECEIVING (iq) <iq type="error" to="1@176.9.89.23/voz.io-11369" id="5039193b-c91c-48d0-a7e0-fbaac3195ef1" from="4d039cd8-a325-11e3-9789-af6f720258e8@176.9.89.23">
<join xmlns="urn:xmpp:rayo:1" call-uri="xmpp:1ffc3cf6-4fcb-7b7c-c1a1-c435767121eb@176.9.89.23" direction="duplex" media="bridge" mixer-name=""/>
<error type="cancel">
<service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" lang="en">b-leg is not a rayo call</text>
</error>
</iq>
[2014-03-03 23:44:03.904] ERROR Adhearsion::OutboundCall: 4d039cd8-a325-11e3-9789-af6f720258e8@176.9.89.23: <Punchblock::ProtocolError> #<Punchblock::ProtocolError: name=:service_unavailable text="b-leg is not a rayo call" call_id="4d039cd8-a325-11e3-9789-af6f720258e8" component_id=nil>
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/celluloid-0.15.2/lib/celluloid/responses.rb:29:in `value'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/
[2014-03-04 21:35:11] TRACE Adhearsion::Initializer: OS: linux - RUBY: jruby 1.9.3
[2014-03-04 21:35:11] TRACE Adhearsion::Initializer: Environment: {"NLSPATH"=>"/usr/dt/lib/nls/msg/%L/%N.cat", "MY_RUBY_HOME"=>"/home/letmecallu_voip/.rvm/rubies/jruby-1.7.11", "RUBYLIB"=>"/home/letmecallu_voip/.rvm/gems/jruby-1.7.11@global/gems/bundler-1.5.3/lib", "USERNAME"=>"root", "BUNDLE_BIN_PATH"=>"/home/letmecallu_voip/.rvm/gems/jruby-1.7.11@global/gems/bundler-1.5.3/bin/bundle", "SHELL"=>"/bin/bash", "XFILESEARCHPATH"=>"/usr/dt/app-defaults/%L/Dt", "TERM"=>"xterm", "IRBRC"=>"/home/letmecallu_voip/.rvm/rubies/jruby-1.7.11/.irbrc", "MAIL"=>"/var/spool/mail/letmecallu_voip", "HOSTNAME"=>"st.letmecallu.roobykon.com", "PWD"=>"/home/letmecallu_voip/voip-server-side/vozio-server-rayo", "GEM_HOME"=>"/home/letmecallu_voip/.rvm/gems/jruby-1.7.11", "SUDO_USER"=>"letmecallu_voip", "HOME"=>"/root", "USER"=>"root", "RUBYOPT"=>"-rbundler/setup", "BUNDLE_GEMFILE"=>"/home/letmecallu_voip/voip-server-side/vozio-server-rayo/Gemfile", "PAT
This file has been truncated, but you can view the full file.
[2014-03-04 21:35:11] TRACE Adhearsion::Initializer: OS: linux - RUBY: jruby 1.9.3
=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:", "BUNDLE_GEMFILE"=>"/home/letmecallu_voip/voip-server-side/vozio-server-rayo/Gemfile", "HISTCONTROL"=>"ignoredups", "RUBYOPT"=>"-rbundler/setup", "NLSPATH"=>"/usr/dt/lib/nls/msg/%L/%N.cat", "LANG"=>"en_US.UTF-8", "HOME"=>"/home/letmecallu_voip", "rvm_prefix"=>"/home/letmecallu_voip", "G_BROKEN_FILENAMES"=>"1", "_system_arch"=>"x86_64", "XFILESEARCHPATH"=>"/usr/dt/app-defaults/%L/Dt", "LESSOPEN"=>"|/usr/bin/lesspipe.sh %s", "RUBYLIB"=>"/home/letmecallu_voip/.rvm/gems/jruby-1.7.11@global/gems/bundler-1.5.3/lib", "LOGNAME"=>"letmecallu_voip", "_system_name"=>"CentOS", "SHELL"=>"/bin/bash", "BUNDLE_BIN_PATH"=>"/home/letmecallu_voip/.rvm/gems/jruby-1.7.11@global/gems/bundler-1.5.3/bin/bundle", "rvm_path"=>"/home/letmecallu_voip/.rvm", "IRBRC"=>"/home/letmecallu_voip/.rvm/rubies/jruby-1.7.11/.irbrc", "PATH"=>"/home/letmecallu_voip/.rvm/gems/jruby-1.7.11/bin:/home/letmecallu_voip/.rvm/gems/jruby-1.7.11@global/bin
# encoding: utf-8
require_relative '../media/aws.rb'
require 'mechanize'
require 'json'
require 'redis'
require 'openssl'
GET_COMPANY_ID = "#{API_URL}/api/export_companies?number="
GET_COMPANY_AGENTS = "#{API_URL}/api/export_agents?company="
GET_ALL_AGENTS = "#{API_URL}/api/export_agents"
POST_CALL_RECORDING = "#{API_URL}/api/update_calls"
[2014-03-05 20:41:58] TRACE Punchblock::Connection::XMPP: RECEIVING (presence) <presence from="f0f50ab8-7e0a-9b50-4899-8645fe698e1e@176.9.89.23" to="1@176.9.89.23/voz.io-7514"><c hash="sha-1" node="urn:xmpp:rayo:call:1" ver="L9rOKMEJl9rssEggArljiapRd9k=" xmlns="http://jabber.org/protocol/caps"/><offer from="sip:irving.avila_web93.mx@176.9.89.23" to="sip:+529999304141@176.9.89.23" xmlns="urn:xmpp:rayo:1"><header name="from" value="&quot;Irving&quot; &lt;sip:irving.avila_web93.mx@176.9.89.23&gt;;tag=tg3I1VXdN9kqTMDMc7tp"/><header name="to" value="&lt;sip:+529999304141@176.9.89.23&gt;"/><header name="via" value="SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKaWa7s9Q7sMbIyR9z0cJtGKIykeyl289N;rport=40286;received=187.147.142.169"/><header name="X-route" value="DEFAULT"/></offer></presence>
[2014-03-05 20:43:00] TRACE Punchblock::Connection::XMPP: RECEIVING (presence) <presence from="f0f50ab8-7e0a-9b50-4899-8645fe698e1e@176.9.89.23" to="1@176.9.89.23/voz.io-7514" type="unavailable"><end xmlns="urn:xmpp:rayo:1"><hung
[root@voz log]# grep f0f50ab8-7e0a-9b50-4899-8645fe698e1e@ *
Binary file all.tar matches
freeswitch.log.2014-03-05-21-00-10.1:2014-03-05 20:41:58.211102 [DEBUG] mod_rayo.c:3404 Init f0f50ab8-7e0a-9b50-4899-8645fe698e1e@176.9.89.23
freeswitch.log.2014-03-05-21-00-10.1:2014-03-05 20:41:58.211102 [DEBUG] mod_rayo.c:3426 Deliver f0f50ab8-7e0a-9b50-4899-8645fe698e1e@176.9.89.23 => 1@176.9.89.23/voz.io-7514 <presence from='f0f50ab8-7e0a-9b50-4899-8645fe698e1e@176.9.89.23' to='1@176.9.89.23/voz.io-7514'><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='urn:xmpp:rayo:call:1' ver='L9rOKMEJl9rssEggArljiapRd9k='/><offer xmlns='urn:xmpp:rayo:1' from='sip:irving.avila_web93.mx@176.9.89.23' to='sip:+529999304141@176.9.89.23'><header name='from' value='&quot;Irving&quot; &lt;sip:irving.avila_web93.mx@176.9.89.23&gt;;tag=tg3I1VXdN9kqTMDMc7tp'/><header name='to' value='&lt;sip:+529999304141@176.9.89.23&gt;'/><header name='via' value='SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKaWa7s9Q7sMbIyR9z0cJtGKIykeyl289N;rp