[asterisk-bugs] [JIRA] (ASTERISK-28811) Crash occurs when fax session switches from T.38 to audio

Alexei Gradinari (JIRA) noreply at issues.asterisk.org
Mon Apr 20 14:47:25 CDT 2020


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

Alexei Gradinari edited comment on ASTERISK-28811 at 4/20/20 2:46 PM:
----------------------------------------------------------------------

The FAX1 sends INVITE (VOICE) to asterisk, asterisk sends INVITE to FAX2 (VOICE).
The FAX2 replies with 200 to asterisk, asterisk replies with 200 to FAX1.

The FAX1 detects fax tone and sends re-INVITE (T.38) to asterisk, asterisk sends re-INVITE (T.38) to FAX2.
The FAX2 replies 488 to asterisk, asterisk replies 488 to FAX1.
The FAX1 switches back to voice as T.38 not supported and sends re-INVITE (VOICE) to asterisk, asterisk DOES NOT send re-INVITE (VOICE) to FAX2.

The FAX1 sends BYE to asterisk, the asterisk send BYE to FAX2.
The FAX2 replies 481 Call Leg/Transaction Does Not Exist to asterisk... I think because the asterisk didn't switch to VOICE.

In version 16.9.0 without patch the asterisk always crached on 488, my files crash2-backtrace.txt and crash2-sip-trace.txt.
I didn't check this scenario with version 16.8.0.

The "481 Call Leg/Transaction Does Not Exist " bothers me in this scenario.
I think the asterisk should switch to voice after 488.
But may be this is not related issue.



was (Author: alexei gradinari):
The FAX1 sens INVITE (VOICE) to asterisk, asterisk sends INVITE to FAX2 (VOICE).
The FAX2 replies with 200 to asterisk, asterisk replies with 200 to FAX1.

The FAX1 detects fax tone and send re-INVITE (T.38) to asterisk, asterisk sends re-INVITE (T.38) to FAX2.
The FAX2 replies 488 to asterisk, asterisk replies 488 to FAX1.
The FAX1 switches back to voice as T.38 not supported and sends re-INVITE (VOICE) to asterisk, asterisk DO NOT send re-INVITE (VOICE) to FAX2.

The FAX1 sends BYE to asterisk, the asterisk send BYE to FAX2.
The FAX2 replies 481 Call Leg/Transaction Does Not Exist to asterisk... I think because the asterisk didn't switch to VOICE.

In version 16.9.0 without patch the asterisk always crached on 488, my files crash2-backtrace.txt and crash2-sip-trace.txt.
I didn't check this scenario with version 16.8.0.

The "481 Call Leg/Transaction Does Not Exist " bothers me in this scenario.
I think the asterisk should switch to voice after 488.
But may be this is not related issue.


> Crash occurs when fax session switches from T.38 to audio
> ---------------------------------------------------------
>
>                 Key: ASTERISK-28811
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28811
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 16.9.0
>         Environment: CentOS Linux release 7.7.1908 (Core) 3.10.0-1062.4.3.el7.x86_64
>            Reporter: Alexey Vasilyev
>            Assignee: Alexey Vasilyev
>              Labels: fax, patch
>         Attachments: ASTERISK-28811-2.diff, cisco-pbx.txt, core.28811.tar.gz, crash1-backtrace.txt, crash1-sip-trace.txt, crash2-backtrace.txt, crash2-sip-trace.txt, pbx-fax.txt, pjsip.conf, sip-flow-488.txt, sip-trace-488.txt
>
>
> During sending fax from Cisco SPA112 device through several Asterisk servers, latest updated server is crashed (Asterisk 16.9.0). But we can't reproduce crash, as sometimes faxes send fine, from other Cisco SPA112 devices faxes just stopped sending (receiving works fine). After downgrade to 16.8.0 everything works fine again.



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



More information about the asterisk-bugs mailing list