Skip to content

Missing Priority in originate action #1

@dumbuzz

Description

@dumbuzz

There is a bug in ami.lua in originate action.
In config table there is a field "priority", but when constructing command to perform originate action this field is not used and Asterisk returns error "Originate with 'Exten' requires 'Context' and 'Priority'".

To fix this you need to add field Priority = config.priority in originate command construction code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions