[asterisk-bugs] [JIRA] (ASTERISK-24409) AMI action Originate not working when in sync mode
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Fri Oct 10 08:53:29 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=222982#comment-222982 ]
Matt Jordan commented on ASTERISK-24409:
----------------------------------------
The error message returned from AMI could probably be better, but your Originate action is invalid. Priorities begin with {{1}}, not {{0}}.
However, you are correct that specifying a priority of 0 does work when run asynchronously... which is indeed odd.
As it is, this is a duplicate of ASTERISK-15992.
> AMI action Originate not working when in sync mode
> --------------------------------------------------
>
> Key: ASTERISK-24409
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24409
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/ManagerInterface
> Affects Versions: 12.5.0
> Environment: Linux KRA-WS-DAFI 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Dafi Ni
>
> when trying orginate to extension/context/priority with proper values,
> ami respond "Originate with 'Exten' requires 'Context' and 'Priority'."
> there arent any console or log related writes.
> here is ngrep:
> {quote}
> T 127.0.0.1:60497 -> 127.0.0.1:5038
> id: 9.
> ActionID: 9.
> Action: Originate.
> Async: false.
> Channel: Local/7777 at dialer_caller/n.
> Exten: inc.
> Context: dialer.
> Priority: 0.
> Timeout: 30.
> .
> #
> T 127.0.0.1:5038 -> 127.0.0.1:60497
> Response: Error.
> #
> T 127.0.0.1:5038 -> 127.0.0.1:60497
> ActionID: 9.
> #
> T 127.0.0.1:5038 -> 127.0.0.1:60497
> Message: Originate with 'Exten' requires 'Context' and 'Priority'.
> {quote}
> same action with Async = true works.
> maybe referenced to ASTERISK-15992
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list