[asterisk-bugs] [JIRA] (ASTERISK-26135) ari: Event subscribe and unsubscribe are not symmetric

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Jun 21 19:15:57 CDT 2016


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

Joshua Colp updated ASTERISK-26135:
-----------------------------------

    Status: Open  (was: Triage)

> ari: Event subscribe and unsubscribe are not symmetric
> ------------------------------------------------------
>
>                 Key: ASTERISK-26135
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26135
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari_applications
>    Affects Versions: 13.10.0
>         Environment: N/A
>            Reporter: Sean Bright
>            Severity: Minor
>
> An application can subscribe to all bridge events using something like this:
> {noformat}
> POST http://localhost:8088/ari/applications/foobar/subscription?eventSource=bridge:
> {noformat}
> But attempting to unsubscribe using the same format fails:
> {noformat}
> DELETE http://localhost:8088/ari/applications/foobar/subscription?eventSource=bridge:
> {noformat}
> If you pass the "magic" value that Asterisk uses internally, it works:
> {noformat}
> DELETE http://localhost:8088/ari/applications/foobar/subscription?eventSource=bridge:__AST_BRIDGE_ALL_TOPIC
> {noformat}
> But this is not intuitive. I assume the behavior is the same for other event sources, but I haven't tested them.



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



More information about the asterisk-bugs mailing list