Summary:ASTERISK-14838: udptl.conf parameter T38FaxUdpEC is not working correctly if set to t38UDPRedundancy
Reporter:Bastian Schern (schern)Labels:
Date Opened:2009-09-15 12:55:53Date Closed:2011-06-07 14:00:32
Versions:Frequency of
Environment:Attachments:( 0) T38UDPFEC_ERROR_01.log.gz
( 1) T38UDPFEC_ERROR_02.log.gz
Description:If I set the parameter T38FaxUdpEC = t38UDPRedundancy in udptl.conf the SDP part of the T.38 re-INVITE from Asterisk to the carrier always contains the wrong EC method:

Correct would be a=T38FaxUdpEC:t38UDPRedundancy.

In Asterisk v1.6.0.6 and 1.4.x the EC method is set correctly to the value of the udptl.conf.

****** STEPS TO REPRODUCE ******

FAX ATA ---SIP+T.38---> Asterisk ---SIP+T.38---> Carrier


My udptl.conf:
T38FaxUdpEC = t38UDPRedundancy
T38FaxMaxDatagram = 1400
udptlfecentries = 3
udptlfecspan = 3
use_even_ports = no
Comments:By: Kevin P. Fleming (kpfleming) 2009-09-15 13:42:35

Your log is nearly impossible to follow; please follow the bug posting guidelines and post *only* a capture of the log from Asterisk itself showing the packets it received and sent, using 'sip set debug on' to see how Asterisk parsed and processed them.

By: Bastian Schern (schern) 2009-09-15 17:04:04

Sorry for bad log. I created a new directly with Asterisk (T38UDPFEC_ERROR_02.log.gz):

The bad EC method you can see at line 485.

The IPs in the log are used by the following devices: = Asterisk IP = ATA Device (internal IP) = ATA Device (external IP) = CUSTOMER PROXY = Carrier Proxy #1

Not so important IPs: = Carrier Proxy #2 = Carrier Proxy #3 = Carrier Gateway

By: Kevin P. Fleming (kpfleming) 2009-10-01 11:02:14

In Asterisk, control over which method of UDPTL redundancy is offered to a SIP endpoint is actually done from sip.conf, not udptl.conf. In fact, the udptl.conf setting for redundancy mode no longer has any useful effect. Please see the sip.conf.sample included with Asterisk to learn how to configure this setting for your peers. Thanks.