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.

ronin-9952 (at lighthouseapp)'s latest activity

Tuesday, November 20 2007
16 ami hangs forever on "meetme list" command was updated in Adhearsion
  • ronin-9952 (at lighthouseapp)
    ronin-9952 (at lighthouseapp) created the ticket at 2:19 PM

    wwalker@elephant:~/ami$ cat t4.rb

    require 'rubygems'

    require 'adhearsion'

    require 'adhearsion/voip/asterisk/ami'

    @ami = Adhearsion::VoIP::Asterisk::AMI.new...

15 ami strips line separators from raw command output was updated in Adhearsion
  • ronin-9952 (at lighthouseapp)
    ronin-9952 (at lighthouseapp) commented at 12:30 PM

    I've fixed this for my use by adding "\n" as an argument to join in line 137 of lib/adhearsion/voip/asterisk/ami/parser.rb

    @current_packet[:raw] = @__ragel_ra...

  • ronin-9952 (at lighthouseapp)
    ronin-9952 (at lighthouseapp) created the ticket at 12:23 PM

    ami strips line separators from mulit-line command responses. Without line separations, the ugly data returned by most asterisk commands is nearly unparsable....

Friday, November 16 2007
11 Adhearsion::Voip::Asterisk::AMI hangs was updated in Adhearsion
  • ronin-9952 (at lighthouseapp)
    ronin-9952 (at lighthouseapp) commented at 1:23 PM

    November 9th, 2007 @ 12:56 PM comment above shows that the data arrives in two separate packets. I've also once seen it arrive in 3 packets in my local testin...

  • ronin-9952 (at lighthouseapp)
    ronin-9952 (at lighthouseapp) commented at 1:08 PM

    ruby -p -i -e " gsub(/localhost/,'dlsacs01')" spec/voip/asterisk/test_ami.rb

    ruby -p -i -e " gsub(/flexmock/,'#flexmock')" spec/voip/asterisk/test_ami.rb

    sh...

  • ronin-9952 (at lighthouseapp)
    ronin-9952 (at lighthouseapp) commented at 12:07 PM

    Asterisk 1.4.11

    Linux (CentOS 5)

    I have noticed that the system may send the response as 1 2 or 3 packets rather than just one. And that the order of the he...

Saturday, November 10 2007
11 Adhearsion::Voip::Asterisk::AMI hangs was updated in Adhearsion
  • ronin-9952 (at lighthouseapp)
    ronin-9952 (at lighthouseapp) commented at 12:09 PM

    A patch to flip the order of the headers.

    wwalker@elephant:~/sandboxes/ahn-0.8.0-trunk-2$ svn diff spec/voip/asterisk/mock_ami_server.rb

    Index: spec/voip/ast...

Friday, November 09 2007
11 Adhearsion::Voip::Asterisk::AMI hangs was updated in Adhearsion
  • ronin-9952 (at lighthouseapp)
    ronin-9952 (at lighthouseapp) commented at 12:56 PM

    I tested against the flexmock server and against a real server. It appears that out of order headers from a real server may be the culprit:

    What the flexmock...

  • ronin-9952 (at lighthouseapp)
    ronin-9952 (at lighthouseapp) commented at 10:48 AM

    many commands do not return Event: headers. All the commands I want to use currently end with

    "--END COMMAND--\r\n\r\n"

    some examples:

    set verbose 5

    sip s...

Thursday, November 08 2007
11 Adhearsion::Voip::Asterisk::AMI hangs was updated in Adhearsion
  • ronin-9952 (at lighthouseapp)
    ronin-9952 (at lighthouseapp) created the ticket at 8:57 PM

    When making calls to command() the system hangs completely.

    attaching tar file with these files:

    procfs-info README run.out strace.out testit.rb

    short j...