[asterisk-bugs] [JIRA] (ASTERISK-22942) asterisk crashed after Set(FAXOPT(faxdetect)=t38)

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sat Dec 7 17:57:03 CST 2013


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

Matt Jordan commented on ASTERISK-22942:
----------------------------------------

Patch looks correct, particularly since just prior to this point we break out of {{AST_FRAME_VOICE}} processing if {{faxdetect->dsp}} is NULL:

{noformat}
	switch (f->frametype) {
	case AST_FRAME_VOICE:
		/* we have no DSP this means we not detecting CNG */
		if (!faxdetect->dsp) {
			break;
		}
{noformat}

Thanks for contributing back the patch!
                
> asterisk crashed after Set(FAXOPT(faxdetect)=t38)
> -------------------------------------------------
>
>                 Key: ASTERISK-22942
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22942
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_fax
>    Affects Versions: 11.6.0
>         Environment: Centos 6.5 x86_64
>            Reporter: adomjan
>         Attachments: bt-full, res_fax.c-_fix_crash_on_t38detect_mode.patch
>
>
> Asterisk crash after set Set(FAXOPT(faxdetect)=t38) Set(FAXOPT(gateway)=yes) and receiving voice frames.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list