[asterisk-bugs] [JIRA] (ASTERISK-26135) [ARI] Event subscribe and unsubscribe are not symmetric
Sean Bright (JIRA)
noreply at issues.asterisk.org
Tue Jun 21 16:59:56 CDT 2016
Sean Bright created ASTERISK-26135:
--------------------------------------
Summary: [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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list