[Asterisk-code-review] res_fax: gateway sends T.38 request to both endpoints if V.21 detected (...asterisk[16])

Alexei Gradinari asteriskteam at digium.com
Wed Jun 19 14:09:45 CDT 2019


Alexei Gradinari has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/11422 )

Change subject: res_fax: gateway sends T.38 request to both endpoints if V.21 detected
......................................................................


Patch Set 4:

(1 comment)

https://gerrit.asterisk.org/#/c/11422/4/res/res_fax.c 
File res/res_fax.c:

https://gerrit.asterisk.org/#/c/11422/4/res/res_fax.c@3050 
PS4, Line 3050: 			if (state_other == T38_STATE_UNKNOWN) {
> That's what I am not understanding, so need clarification. […]
The goal is to switch to T.38 whenever possible.

The SIP endpoint equipment doesn't always detect Fax tone.
For example Cisco SPA adapter has option "FAX Tone Detect Mode" with possible values:
"caller or callee",
"caller only",
"callee only".
Even if the direction of Fax tone matches with this option the adapter stops to detect Fax tone if there is voice packets (fax manual mode).

The scenario when both SIP endpoint supports T.38, but nobody switch to T.38 on fax tone.
In this case the asterisk as T.38 gateway can detect fax tone and can ask both SIP endpoints to switch to T.38.
If both endpoints agree to switch to T.38 then the gateway will step out of the way, allowing transparent T.38 passthrough (ideal scenario).



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/11422
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I73bb24799bfe1a48adae9c034a2edbae54cc2a39
Gerrit-Change-Number: 11422
Gerrit-PatchSet: 4
Gerrit-Owner: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Comment-Date: Wed, 19 Jun 2019 19:09:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Kevin Harwell <kharwell at digium.com>
Comment-In-Reply-To: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190619/6a0b8604/attachment.html>


More information about the asterisk-code-review mailing list