[asterisk-bugs] [JIRA] (ASTERISK-21002) Originate without Exten header does not work
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Mon Jan 28 11:44:58 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-21002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=202303#comment-202303 ]
Matt Jordan commented on ASTERISK-21002:
----------------------------------------
{quote}
Yes, you are correct in this case. However if any of (Exten, Context, Priority) is in the Originate request it will fail with "Extension does not exist.". Personally I believe the code should be smart enough to figure out that you want to use Application/Data method instead of Exten/Context/Priority, if you have specified Application and Data headers. And this was the case for older Asterisk 1.4.X releases. This also might cause backward compatibility issue for the software that was using Asterisk 1.4.X as it did for us.
{quote}
Fair enough on a behavior change.
This is, however, a "bad idea". If you specify context and priority, as well as application and data, which one did you really mean? Did you really mean context, extension, and priority and you have an error (in which case we should reject it) - or did you really mean application and data?
Having the software make guesses - and probably guess wrong for some set of users - is probably why the behavior is changed.
> Originate without Exten header does not work
> --------------------------------------------
>
> Key: ASTERISK-21002
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-21002
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 11.2.1
> Reporter: Vilius
> Severity: Minor
> Attachments: manager.patch
>
>
> Asterisk 11 ManagerAction_Originate description states "Generates an outgoing call to a Extension/Context/Priority or Application/Data". However I have noticed that only Extension/Context/Priority is working. When trying to use Application/Data the manager generates an error:
> Response: Error
> Message: Extension does not exist.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list