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

Egil Hjelmeland (JIRA) noreply at issues.asterisk.org
Wed Apr 19 03:43:03 CDT 2023


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

Egil Hjelmeland commented on ASTERISK-30497:
--------------------------------------------

OK. A quick feedback on whether the patch makes sense would be nice though, so I don't waste my my time on something that will be rejected.

> 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