[asterisk-bugs] [JIRA] (ASTERISK-27208) ARI:channel announcer in event ChannelLeftBridge

Hajek Michal (JIRA) noreply at issues.asterisk.org
Mon Aug 21 03:41:09 CDT 2017


Hajek Michal created ASTERISK-27208:
---------------------------------------

             Summary: ARI:channel announcer in event ChannelLeftBridge
                 Key: ASTERISK-27208
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27208
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: . I did not set the category correctly.
    Affects Versions: 13.17.0
         Environment: CentOS release 6.9 (Final)
2.6.32-696.1.1.el6.x86_64
            Reporter: Hajek Michal



Steps I use to reproduce:
1. chan_sip channel run Stasis app
2. create bridge of type dtmf_events, mixing
3. add channel to bridge
4. start music on hold on bridge
5. When ask asterisk on channels on bridge, receive only one channel (chan_sip)
5. channel hangup
6. Incoming event channelLeftBridge contain wrong channelID in  bridge.channels object. This channelId is for Announcer/ARI_MOH and this is maybe bug.

Call API when channel listening MOH
[root at stasis ~]# curl  -u x:y -X GET "http://localhost:8088/ari/bridges/5995ad73d508a"
{"creator":"Stasis","bridge_class":"stasis","bridge_type":"mixing","id":"5995ad73d508a","technology":"simple_bridge","name":"bridgename","video_mode":"talker","channels":["1502981491.88"]}

stasis*CLI> core show channels concise
Announcer/ARI_MOH-0000001c;2!default!s!1!Up!(None)!!!!!3!22!5995ad73d508a!1502981492.90
Announcer/ARI_MOH-0000001c;1!default!s!1!Up!(None)!!!!!3!22!!1502981492.89
SIP/proxy-00000020!ext-queues!2000!9!Up!Stasis!incall,wait!491200163!!!3!22!5995ad73d508a!1502981491.88

When channel hangup, asterisk send event channelLeftBridge, which looks like this:
{"channel":{"id":"1502981491.88","name":"SIP/proxy-00000020","connected":{"number":"","name":""},"state":"Up","caller":{"number":"491200163","name":"ZVEDEJ"},"creationtime":"2017-08-17T16:51:31.779+0200","accountcode":"","dialplan":{"context":"ext-queues","exten":"2000","priority":9},"language":"cs"},"bridge":{"creator":"Stasis","bridge_class":"stasis","bridge_type":"mixing","id":"5995ad73d508a","technology":"simple_bridge","name":"bridgename","video_mode":"talker","channels":["1502981492.90"]},"type":"ChannelLeftBridge","timestamp":"2017-08-17T16:51:58.611+0200","asterisk_id":"00:60:a8:58:ad:fd","application":"incall"}

The "channels" attribute should be empty, but it contains ["1502981492.90"].








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



More information about the asterisk-bugs mailing list