#37 ✓hold
ronin-9952 (at lighthouseapp)

DRb call to proxy.introduce() throws exception upon answer

Reported by ronin-9952 (at lighthouseapp) | November 22nd, 2008 @ 09:58 AM

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)

    ronin-9952 (at lighthouseapp) November 22nd, 2008 @ 06:28 PM

    • 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

    Jay Phillips December 4th, 2008 @ 08:30 PM

    • 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

    Jay Phillips December 4th, 2008 @ 08:54 PM

    • 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

    Jay Phillips December 7th, 2008 @ 10:03 PM

    • 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)

    ronin-9952 (at lighthouseapp) December 18th, 2008 @ 03:41 PM

    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

    Cristian Livadaru October 7th, 2009 @ 07:06 AM

    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

    Daniel Boyles November 24th, 2009 @ 08:42 AM

    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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages