[asterisk-bugs] [JIRA] (ASTERISK-23671) PRESENCE_STATE write base64 option not working as intended

Mark Michelson (JIRA) noreply at issues.asterisk.org
Fri Apr 25 13:51:18 CDT 2014


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

Mark Michelson updated ASTERISK-23671:
--------------------------------------

    Regression: No  (was: Yes)

I have removed the "regression" indication from this issue because after testing with Asterisk 11, it turns out that it behaved this way back then as well. For trunk, I am going to change the behavior and be sure to document it properly.

> PRESENCE_STATE write base64 option not working as intended
> ----------------------------------------------------------
>
>                 Key: ASTERISK-23671
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23671
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 12.2.0
>            Reporter: Mark Michelson
>
> When using the PRESENCE_STATE() function to set the presence state of an entity and specifying the 'e' option, this is intended to indicate that you are passing in base64-encoded data. This data should be stored base64-encoded in the astdb, but the data should be decoded before being sent to consumers.
> In Asterisk 12, it appears that when using the 'e' option, consumers are being sent base64-encoded data. This is likely due to the fact that the presence state events now have the presence data attached and the data is not having to be retrieved from the astdb.



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



More information about the asterisk-bugs mailing list