dev works, prod works, test doesn't... =8-{

1 view
Skip to first unread message

Wayne Walker

unread,
May 21, 2008, 12:35:37 PM5/21/08
to adhea...@googlegroups.com
Hi,

I'm running 0.7.7 (yes, still...) I have an app that works fine in dev
environment, and in production, but my test server was rebuilt and it
now raise()s on all phone calls. It gives no information useful to me in
the exception. Here is what little I have to go on. Any ideas? How can
I get more info as to what it's dying on? I have logger statements,
but none of them are writing to the log (in test, they work in dev).

[Wed May 21 11:15:55 2008] Executing call with variables: {"enhanced"=>"0.0", "uniqueid"=>"1211386555.528", "uri"=>#<URI::Generic:0x154b8df030 URL://127.0.0.1>, "extension"=>"8888082631", "callingpres"=>"0", "language"=>"en", "callingtns"=>"0", "network"=>"yes", "accountcode"=>"agi_accountcode", "priority"=>2, "callingani2"=>"0", "type"=>"SIP", "dnid"=>8888082631, "calleridname"=>"unknown", "channel"=>"SIP/5060-9f70e6e0", "context"=>"default", "callington"=>"0", "query"=>{}, "request"=>"//127.0.0.1", "rdnis"=>8888082631, "callerid"=>9729101981}
[Wed May 21 11:15:55 2008] Parsing of extensions.rb complete
#<NoMethodError: undefined method `default' for Object:Class>
/opt/depot/ruby-1.8.6-p110/lib/ruby/gems/1.8/gems/adhearsion-0.7.7/lib/adhearsion.rb:824:in `method_missing'
/opt/depot/ruby-1.8.6-p110/lib/ruby/gems/1.8/gems/adhearsion-0.7.7/lib/servlet_container.rb:128:in `send'
/opt/depot/ruby-1.8.6-p110/lib/ruby/gems/1.8/gems/adhearsion-0.7.7/lib/servlet_container.rb:128:in `serve'
/opt/depot/ruby-1.8.6-p110/lib/ruby/gems/1.8/gems/adhearsion-0.7.7/lib/adhearsion.rb:828:in `instance_eval'
/opt/depot/ruby-1.8.6-p110/lib/ruby/gems/1.8/gems/adhearsion-0.7.7/lib/adhearsion.rb:828:in `run_inside'
/opt/depot/ruby-1.8.6-p110/lib/ruby/gems/1.8/gems/adhearsion-0.7.7/lib/servlet_container.rb:125:in `serve'
/opt/depot/ruby-1.8.6-p110/lib/ruby/1.8/gserver.rb:211:in `start'
/opt/depot/ruby-1.8.6-p110/lib/ruby/1.8/gserver.rb:208:in `initialize'
/opt/depot/ruby-1.8.6-p110/lib/ruby/1.8/gserver.rb:208:in `new'
/opt/depot/ruby-1.8.6-p110/lib/ruby/1.8/gserver.rb:208:in `start'
/opt/depot/ruby-1.8.6-p110/lib/ruby/1.8/gserver.rb:198:in `initialize'
/opt/depot/ruby-1.8.6-p110/lib/ruby/1.8/gserver.rb:198:in `new'
/opt/depot/ruby-1.8.6-p110/lib/ruby/1.8/gserver.rb:198:in `start'
/opt/depot/ruby-1.8.6-p110/lib/ruby/gems/1.8/gems/adhearsion-0.7.7/lib/servlet_container.rb:165:in `initialize'
/opt/depot/ruby-1.8.6-p110/lib/ruby/gems/1.8/gems/adhearsion-0.7.7/./ahn:216:in `new'
/opt/depot/ruby-1.8.6-p110/lib/ruby/gems/1.8/gems/adhearsion-0.7.7/./ahn:216
/opt/depot/ruby-1.8.6-p110/bin/ahn:16:in `load'
/opt/depot/ruby-1.8.6-p110/bin/ahn:16
[Wed May 21 11:15:55 2008] Call routing complete
Call likely ended (socket closed). It's okay if exceptions follow.

--

Wayne Walker

wwa...@bybent.com Do you use Linux?!
http://www.bybent.com Get Counted! http://counter.li.org/
Perl - http://www.perl.org/ Perl User Groups - http://www.pm.org/
Jabber: wwa...@jabber.bybent.com AIM: lwwalkerbybent
IRC: wwalker on freenode.net

Reply all
Reply to author
Forward
0 new messages