[asterisk-bugs] [JIRA] (ASTERISK-30497) ChannelRedirect aborting hangup handler execution

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Wed Apr 19 03:45:03 CDT 2023


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

Joshua C. Colp commented on ASTERISK-30497:
-------------------------------------------

I can not look at unlicensed code.

> ChannelRedirect aborting hangup handler execution
> -------------------------------------------------
>
>                 Key: ASTERISK-30497
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30497
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_channelredirect
>    Affects Versions: 18.17.0
>            Reporter: Egil Hjelmeland
>
> A ChannelRedirect on a channel that is in the process of hanging up can prevent hangup handler on the channel to complete. I believe this is a bug.
> I improved the situation for our part with the following patch 
> <inline patch removed>
> Not sure if this is the right upstream fix for the problem.
> Background: For my employer I have been crafting a queuing application to our liking through dialplan programming, relying heavily on ChannelRedirect to manipulate queue call legs, func_odbc to keep track of call(_leg) states, and hangup handlers to clean up call(_leg) records in the database.



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



More information about the asterisk-bugs mailing list