[asterisk-bugs] [JIRA] (ASTERISK-25104) Unnecessary Unlink event on reINVITE when using Monitor()

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu May 21 09:12:33 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226315#comment-226315 ] 

Matt Jordan commented on ASTERISK-25104:
----------------------------------------

Honestly: I'm not sure this is going to get much, if any, traction.

Admittedly, the {{Bridge}} events with their "Link" and "Unlinks" are kind of ... dumb. I think we're all aware of that :-) This would be why we spent the past two years rearchitecting Asterisk and providing a sane view of the world in 12+. The {{BridgeEnter}} and {{BridgeLeave}} events are now consistent and predictable, and certainly aren't going to be affected by a re-INVITE.

This is one of those bugs where we would be:
# Addressing a hopelessly poorly architected event to address a single errant behaviour, when the entire fundamental design behind those events is flawed
# Injecting additional risk into an LTS version which would affect those poor individuals who did build some application that required those events

I'm not saying it isn't a bug... I'm just thinking we already fixed this in 12+, and the risk of doing anything with this event in 11 probably outweighs the pain you're experiencing.

> Unnecessary Unlink event on reINVITE when using Monitor()
> ---------------------------------------------------------
>
>                 Key: ASTERISK-25104
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25104
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 11.7.0
>         Environment: Ubuntu package 11.7.0~dfsg-1ubuntu1 running on Ubuntu 12.04
>            Reporter: Luca Pradovera
>            Assignee: Rusty Newton
>         Attachments: ami.txt, dialplan.txt, pcap.txt
>
>
> When using a simple dialplan with Monitor() and the 'm' option, and a reINVITE (line 2970 in pcap.txt below) is issued for any reason, an unwanted Unlink event (line 361 in ami.txt as attached) is sent over AMI, thus breaking connected applications that rely on that kind of event.
> Its emission should avoided when recording for the same reason that masquerades are undesirable.
> The same event is not emitted if there is no Monitor() running.



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



More information about the asterisk-bugs mailing list