#95 ✓resolved
Roland Kloeters

Commands class uses | instead of ,

Reported by Roland Kloeters | April 16th, 2010 @ 08:43 PM | in 0.8.4

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

Comments and changes to this ticket

  • Ben Klang

    Ben Klang June 15th, 2010 @ 09:17 AM

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

  • Ben Klang

    Ben Klang June 22nd, 2010 @ 01:33 PM

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

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

Pages