[asterisk-bugs] [JIRA] (ASTERISK-28985) ari: Sends channel event to multiple applications when connecting multiple over same socket

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Thu Jul 9 07:44:25 CDT 2020


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

Joshua C. Colp updated ASTERISK-28985:
--------------------------------------

    Assignee: Marcelo Garay  (was: Unassigned)
      Status: Waiting for Feedback  (was: Triage)

How about specific ARI requests that exhibit the problem? For example I've done the following:

1. I connected a Websocket client to ARI using "ws://127.0.0.1:8088/ari/events?app=CallControl,CallQueueing,CallDialing&subscribeAll=false"
2. I originated a call using "http://127.0.0.1:8088/ari/channels?endpoint=Local/test1@users&app=CallDialing"

The resulting ARI events were all for the CallDialing application and events were not duplicated.

> ari: Sends channel event to multiple applications when connecting multiple over same socket
> -------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-28985
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28985
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari_events
>    Affects Versions: 17.5.1
>         Environment: Linux (centos 7.8.2003) + External custom applications interacting with Asterisk via ARI. PJSIP, and ARI with Automatic Context Creation (no dialplan).
>            Reporter: Marcelo Garay
>            Assignee: Marcelo Garay
>            Severity: Minor
>         Attachments: arilog.txt
>
>
> As described on this forum post: https://community.asterisk.org/t/ari-channel-events-subscription/84865
> Expected behavior: When multiple ARI applications subscribe to ARI events using "subscribeAll=false", only the application that originates a channel should receive channel related events (Dial, ChannelDestroyed, etc.). 
> Observed behavior: ARI generates channel related events for multiple applications, not just the one that originated the channel.



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



More information about the asterisk-bugs mailing list