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

Ben Klang (JIRA) noreply at issues.asterisk.org
Tue May 19 16:41:32 CDT 2015


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

Ben Klang commented on ASTERISK-25104:
--------------------------------------

To add some context behind this issue: extra applications that rely on Bridge state events to determine whether a bridge is still active, will break when this event is raised. The upshot is that those applications may determine that the call is ready to end because the bridge has apparently ended (even though it hasn't, really).  In one particular case, this is causing Adhearsion applications to hang up after exactly 15 minutes, which is when the SIP provider is sending a re-INVITE with no session changes.

> 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
>    Affects Versions: 11.7.0
>         Environment: Ubuntu package 11.7.0~dfsg-1ubuntu1 running on Ubuntu 12.04
>            Reporter: Luca Pradovera
>
> When using a simple dialplan (https://gist.github.com/polysics/341637a22bd2be20c186) with Monitor() and the 'm' option, and a reINVITE (https://gist.github.com/polysics/b74ee410d604ed1e7108#file-gistfile1-txt-L2970) is issued for any reason, an unwanted Unlink event (https://gist.github.com/polysics/6ecb3aa92817fdad9b4e#file-gistfile1-txt-L361) 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