[asterisk-bugs] [JIRA] (ASTERISK-26216) res_fax: Deadlock when detect fax while channel executing Playback

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Tue Jul 19 16:39:56 CDT 2016


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

Richard Mudgett commented on ASTERISK-26216:
--------------------------------------------

This is a different deadlock than ASTERISK-24822.  That deadlock is happening in the T.38 framehook while this happens in the CNG tone detection framehook.

> res_fax: Deadlock when detect fax while channel executing Playback
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-26216
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26216
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_dahdi, Channels/chan_pjsip, Channels/chan_sip/General, Resources/res_fax
>    Affects Versions: 13.9.1
>            Reporter: Richard Mudgett
>            Assignee: Richard Mudgett
>
> chan_dahdi, chan_pjsip, chan_sip, and FAXOPT(faxdetect) can all deadlock if the channel is executing the Playback or similar dialplan application that results in a masquerade being necessary to redirect to the fax extension when a fax is detected.  The ast_async_goto() function explicitly documents that the channel lock cannot be held when calling for this very reason.



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



More information about the asterisk-bugs mailing list