DRb call to proxy.introduce() throws exception upon answer
Reported by ronin-9952 (at lighthouseapp) | 2008-11-22 09:58:14 UTC
A simple call to introduce via DRb raises an exception as soon as the call is answered by the first party. introduce() in the ahn process continues to run properly (both parties are called, in order).
[wwalker@emc2 test_originate]$ ./test_originate.rb
/opt/depot/ruby-1.8.7-p72/lib/ruby/1.8/drb/drb.rb:585:in
load':
Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceResponse does
not refer class/module (TypeError)
from /opt/depot/ruby-1.8.7-p72/lib/ruby/1.8/drb/drb.rb:585:in `load'
from /opt/depot/ruby-1.8.7-p72/lib/ruby/1.8/drb/drb.rb:581:in `synchronize'
from /opt/depot/ruby-1.8.7-p72/lib/ruby/1.8/drb/drb.rb:581:in `load'
from /opt/depot/ruby-1.8.7-p72/lib/ruby/1.8/drb/drb.rb:633:in `recv_reply'
from /opt/depot/ruby-1.8.7-p72/lib/ruby/1.8/drb/drb.rb:923:in `recv_reply'
from /opt/depot/ruby-1.8.7-p72/lib/ruby/1.8/drb/drb.rb:1202:in `send_message'
from /opt/depot/ruby-1.8.7-p72/lib/ruby/1.8/drb/drb.rb:1093:in `method_missing'
from /opt/depot/ruby-1.8.7-p72/lib/ruby/1.8/drb/drb.rb:1177:in `open'
from /opt/depot/ruby-1.8.7-p72/lib/ruby/1.8/drb/drb.rb:1092:in `method_missing'
from /opt/depot/ruby-1.8.7-p72/lib/ruby/1.8/drb/drb.rb:1110:in `with_friend'
from /opt/depot/ruby-1.8.7-p72/lib/ruby/1.8/drb/drb.rb:1091:in `method_missing'
from ./test_originate.rb:9
[wwalker@emc2 test_originate]$ cat ./test_originate.rb
!/usr/bin/env ruby
$:.unshift File.dirname(FILE)
require 'drb'
DRb.start_service
Adhearsion = DRbObject.new_with_uri 'druby://localhost:8888' Adhearsion.proxy.introduce('SIP/+15556338076@voicepulse-primary', 'SIP/+15555887308@voicepulse-primary') puts "success" [wwalker@emc2 test_originate]$
Comments and changes to this ticket
-

ronin-9952 (at lighthouseapp) 2008-11-22 18:28:40 UTC
- Title changed from DRb call to proxy.introcude() throws exception upon answer to DRb call to proxy.introduce() throws exception upon answer
As expected, the same problem exists for the other methods such as call_into_context
-

Jay Phillips 2008-12-04 20:30:46 UTC
- State changed from new to hold
Wayne, is this still an issue? You mentioned on the IRC this was a problem with your SIP trunk....
-

Jay Phillips 2008-12-04 20:54:15 UTC
- State changed from hold to open
Wayne said this on the IRC:
[5:53pm] wwalker: jicksta: bug 40 was an error with my provider. bug [37] is still very much alive with multiple providers on multiple projects.
-

Jay Phillips 2008-12-07 22:03:32 UTC
- State changed from open to hold
I see this was a bug with the DRb stuff.
Wayne, can you confirm this is still an issue on the components branch? I've redone all the DRb stuff. Find me on IRC if you need help.
-

ronin-9952 (at lighthouseapp) 2008-12-18 15:41:02 UTC
This is still an issue on the current master branch (which now has components rewrite and DRb rewrite in it).
Trace is identical to original above.
-

Cristian Livadaru 2009-10-07 07:06:08 UTC
having the same issue:
@@@/opt/local/lib/ruby/1.8/drb/drb.rb:585:in
load': Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceResponse does not refer class/module (TypeError)from /opt/local/lib/ruby/1.8/drb/drb.rb:585:in `load' from /opt/local/lib/ruby/1.8/drb/drb.rb:581:in `synchronize' from /opt/local/lib/ruby/1.8/drb/drb.rb:581:in `load' from /opt/local/lib/ruby/1.8/drb/drb.rb:633:in `recv_reply' from /opt/local/lib/ruby/1.8/drb/drb.rb:923:in `recv_reply' from /opt/local/lib/ruby/1.8/drb/drb.rb:1202:in `send_message' from /opt/local/lib/ruby/1.8/drb/drb.rb:1093:in `method_missing' from /opt/local/lib/ruby/1.8/drb/drb.rb:1177:in `open' from /opt/local/lib/ruby/1.8/drb/drb.rb:1092:in `method_missing' from /opt/local/lib/ruby/1.8/drb/drb.rb:1110:in `with_friend' from /opt/local/lib/ruby/1.8/drb/drb.rb:1091:in `method_missing'can I provide any further informations to help solve this issue? -

Daniel Boyles 2009-11-24 08:42:03 UTC
I'm getting the same response for originate via DRb. Full details in #89
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป