[asterisk-bugs] [JIRA] (ASTERISK-28273) H245 logical channels don't close when asterisk is terminated the call.

Alexander Anikin (JIRA) noreply at issues.asterisk.org
Wed Apr 10 17:42:47 CDT 2019


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

Alexander Anikin commented on ASTERISK-28273:
---------------------------------------------

Hi Dimos,

Are you sure that you have patched with second patch in your latest test?
There is strange history:

16:47:43:394  In ooEndCall call state is - OO_CALL_CLEAR (outgoing, ooh323c_o_2)
...
16:47:43:405  CloseLogicalChannelAck received for 1001 (outgoing, ooh323c_o_2)
16:47:43:405  Deleted CloseLogicalChannel Timer. (outgoing, ooh323c_o_2)
16:47:43:405  Closing logical channel 1001 (outgoing, ooh323c_o_2)
16:47:43:405  Clearing logical channel number 1001. (outgoing, ooh323c_o_2)
16:47:43:405  Removed logical channel 1001 (outgoing, ooh323c_o_2)
16:47:43:405  Listing logical channel 25684 cap 2 state 3 for (outgoing, ooh323c_o_2)
16:47:43:405  Opening logical channels (outgoing, ooh323c_o_2)

where second patch contain:

int ooOpenLogicalChannels(OOH323CallData *call)
{
   int ret=0;

   if (call->callState >= OO_CALL_CLEAR) {
        OOTRACEINFO3("Not open logical channels on closing call(%s, %s)\n", call->callType,
                 call->callToken);
        return OO_OK;

   }
   OOTRACEINFO3("Opening logical channels (%s, %s)\n", call->callType,
                 call->callToken);


Logical channels opening could be happen if callState < OO_CALL_CLEAR only according this.


> H245 logical channels don't close when asterisk is terminated the call.
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-28273
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28273
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Addons/chan_ooh323
>    Affects Versions: 13.19.0
>         Environment: Debian 
>            Reporter: Dimos
>            Assignee: Alexander Anikin
>              Labels: patch
>         Attachments: alcatel_ends_call.png, alcatel_terminating_call.txt, ASTERISK-28273-1.patch, ASTERISK-28273-2.patch, asterisk_ends_call_2.jpeg, asterisk_ends_call.png, asterisk_terminating_call.txt, Astrisk-Alcatel_afterPaching.txt, call_with_patch2.png, ooh323_log-call_with_patch2.txt
>
>
> There is a H323 trunk between asterisk and Alcatel pbx. When asterisk terminates the call, it does not send H245 closeLogicalChannel  request for the opened logical channels but only sends H245 EndSessionCommand. So, the Alcatel pbx keeps the H245 logical channels active in conference room and  that makes zombie/stucked channels. When Alcatel pbx ends the call there is no problem. 



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



More information about the asterisk-bugs mailing list