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.

Commands class uses | instead of ,

#95

I am using Asterisk 1.6 with adhearsion. In Asterisk 1.6 the '|' was replaced by a ',' to seperate parameters on Asterisk actions like Dial(). This causes the commands not to be executed.
I fixed this with the following workaround:

def execute(application, *arguments)
result = raw_response("EXEC #{application} #{arguments * '|'}") return false if error?(result) result end

is changed to

def execute(application, *arguments)
result = raw_response("EXEC #{application} #{arguments * ','}") return false if error?(result) result end

Reported by Roland Kloeters · April 16th, 2010 @ 08:43 PM

State: resolved
Milestone: 0.8.4
Assigned to: Ben Klang Ben Klang

Activity

  1. Ben Klang
    Ben Klang
    • State changed from new to hold
    • Assigned user changed from Jay Phillips to Ben Klang

    A patch to address this issue has been committed. We are waiting for the patch to be merged into the official Adhearsion repository.

    June 15th, 2010 @ 09:17 AM

  2. Ben Klang
    Ben Klang
    • Milestone set to 0.8.4
    • State changed from hold to resolved

    The delimiter for AGI/AMI commands is now configurable to support Asterisk 1.4 and 1.6.

    June 22nd, 2010 @ 01:33 PM

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.