[asterisk-bugs] [Asterisk 0016310]: 488 not acceptable when receiving T.38 at 14400 speed

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 9 10:01:24 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16310 
====================================================================== 
Reported By:                prandini
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16310
Category:                   Channels/chan_sip/T.38
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 230766 
Request Review:              
====================================================================== 
Date Submitted:             2009-11-23 08:11 CST
Last Modified:              2010-02-09 10:01 CST
====================================================================== 
Summary:                    488 not acceptable when receiving T.38 at 14400
speed
Description: 
When I get a re-INVITE like this one:

INVITE sip:0119209223 at 91.112.73.125:5060 SIP/2.0^M
Max-Forwards: 19^M
f: <sip:0237009198 at 82.113.193.76>;tag=2F3F031C-231F^M
t: <sip:50119209223 at sip.twt.it>;tag=as7319a027^M
i: B8AC0C90-D5B411DE-AD06EC60-9C02B256 at 82.113.193.76^M
m: <sip:0237009198 at 82.113.193.76:5060>^M
CSeq: 102 INVITE^M
Expires: 180^M
User-Agent: Cisco-SIPGateway/IOS-12.x^M
Min-SE: 1800^M
l: 399^M
^M
v=0^M
o=CiscoSystemsSIP-GW-UserAgent 2486 1092 IN IP4 82.113.193.76^M
s=SIP Call^M
c=IN IP4 82.113.193.76^M
t=0 0^M
m=image 16808 udptl t38^M
c=IN IP4 82.113.193.76^M
a=T38FaxFillBitRemoval:0^M
a=T38FaxMaxBuffer:200^M
a=T38FaxMaxDatagram:72^M
a=T38FaxRateManagement:transferredTCF^M
a=T38FaxTranscodingJBIG:0^M
a=T38FaxTranscodingMMR:0^M
a=T38FaxUdpEC:t38UDPRedundancy^M
a=T38FaxVersion:0^M
a=T38MaxBitRate:14400^M

asterisk replies with

SIP/2.0 100 Trying^M
Via: SIP/2.0/UDP
82.113.194.190:5060;branch=z9hG4bK827014-kmbcnrv;cgp=twtmail.twt.it;upaddr=82.113.193.76;received=82.113.194.190;rport=5060^M
Via: SIP/2.0/UDP 
82.113.193.76:5060;x-route-tag="cid:3 at 82.113.193.76";branch=z9hG4bKD701F222C^M
From: <sip:0237009198 at 82.113.193.76>;tag=2F3F031C-231F^M
To: <sip:50119209223 at sip.twt.it>;tag=as7319a027^M
Call-ID: B8AC0C90-D5B411DE-AD06EC60-9C02B256 at 82.113.193.76^M
CSeq: 102 INVITE^M
User-Agent: Asterisk PBX 1.6.0.11^M
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO^M
Supported: replaces, timer^M
Contact: <sip:0119209223 at 91.112.73.125>^M
Content-Length: 0^M

and then with

SIP/2.0 488 Not acceptable here^M
Via: SIP/2.0/UDP
82.113.194.190:5060;branch=z9hG4bK827014-kmbcnrv;cgp=twtmail.twt.it;upaddr=82.113.193.76;received=82.113.194.190;rport=5060^M
Via: SIP/2.0/UDP 
82.113.193.76:5060;x-route-tag="cid:3 at 82.113.193.76";branch=z9hG4bKD701F222C^M
From: <sip:0237009198 at 82.113.193.76>;tag=2F3F031C-231F^M
To: <sip:50119209223 at sip.twt.it>;tag=as7319a027^M
Call-ID: B8AC0C90-D5B411DE-AD06EC60-9C02B256 at 82.113.193.76^M
CSeq: 102 INVITE^M
User-Agent: Asterisk PBX 1.6.0.11^M
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO^M
Supported: replaces, timer^M
Content-Length: 0^M
^M

If I get a re-invite with 9600 speed, everything is ok.
Why on earth is it refusing 14400 ?
====================================================================== 

---------------------------------------------------------------------- 
 (0117889) haggard (reporter) - 2010-02-09 10:01
 https://issues.asterisk.org/view.php?id=16310#c117889 
---------------------------------------------------------------------- 
it's just guessing but as i can remember, the default is a max fax rate of
9600 defined in chan_sip.c
on line 1120.

----
/*!< This is default: NO MMR and JBIG transcoding, NO fill bit removal,
transferredTCF TCF, UDP FEC, Version 0 and 9600 max fax rate */
static int global_t38_capability = T38FAX_VERSION_0 | T38FAX_RATE_2400 |
T38FAX_RATE_4800 | T38FAX_RATE_7200 | T38FAX_RATE_9600;
----

have you tried to add "| T38FAX_RATE_14400" and recompile ?

It works for my setup... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-09 10:01 haggard        Note Added: 0117889                          
======================================================================




More information about the asterisk-bugs mailing list