Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#37

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]$

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

State: hold
Milestone: none
Assigned to: Jay Phillips Jay Phillips

Activity

  1. ronin-9952 (at lighthouseapp)
    ronin-9952 (at lighthouseapp)
    • 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

    November 22nd, 2008 @ 06:28 PM

  2. Jay Phillips
    Jay Phillips
    • 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....

    December 4th, 2008 @ 08:30 PM

  3. Jay Phillips
    Jay Phillips
    • 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.

    December 4th, 2008 @ 08:54 PM

  4. Jay Phillips
    Jay Phillips
    • 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.

    December 7th, 2008 @ 10:03 PM

  5. ronin-9952 (at lighthouseapp)
    ronin-9952 (at lighthouseapp)

    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.

    December 18th, 2008 @ 03:41 PM

  6. Cristian Livadaru
    Cristian Livadaru

    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?
    

    October 7th, 2009 @ 07:06 AM

  7. Daniel Boyles
    Daniel Boyles

    I'm getting the same response for originate via DRb. Full details in #89 originate calls via DRb throws exception on answer.

    November 24th, 2009 @ 08:42 AM

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.