[asterisk-bugs] [JIRA] (ASTERISK-23975) Description of variables field for userEvent operation missing details.

Samuel Galarneau (JIRA) noreply at issues.asterisk.org
Thu Jul 3 11:11:56 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samuel Galarneau closed ASTERISK-23975.
---------------------------------------

    Resolution: Fixed

> Description of variables field for userEvent operation missing details.
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-23975
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23975
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Resources/res_ari
>            Reporter: Samuel Galarneau
>            Assignee: Samuel Galarneau
>            Severity: Minor
>
> The variables body parameter on the userEvent operations states that it accepts arbitrary key value pairs as json to be passed to a user event.
> Because the implementation copied the way variables work on a channel originate, the key value pairs must be passed in under a variables key in order to be parsed correctly. (i.e. {"variables":{"myvar":"myvarvalue"}})
> The field description does not make this clear. The field description should be changed to make this clear for users of the API.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list