[asterisk-bugs] [Asterisk 0016327]: Asterisk responds 488 - Not acceptable here on T38 reinvite

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 25 12:36:06 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16327 
====================================================================== 
Reported By:                serje
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16327
Category:                   Channels/chan_sip/T.38
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           Older 1.6.1 - please test a newer version 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-26 03:48 CST
Last Modified:              2010-02-25 12:36 CST
====================================================================== 
Summary:                    Asterisk responds 488 - Not acceptable here on T38
reinvite
Description: 
I'm trying to send a fax from asterisk through Audiocodes Mediant1000
gateway to PSTN using T38.
The call is being set up in audio, then Mediant sends reinvite with T38 -
and asterisk responds "488 Not acceptable here". 
This can be observed in 1.6.0.15, 1.6.1.5, 1.6.1.9 (current 1.6 trunk and
latest releases nave another bug (is is on bug tracker) - they can't
establish connection on sip trunk, so I couldn't verify, whether T38 issue
present in them.
====================================================================== 

---------------------------------------------------------------------- 
 (0118555) Censo (reporter) - 2010-02-25 12:36
 https://issues.asterisk.org/view.php?id=16327#c118555 
---------------------------------------------------------------------- 
This looks to happen in chan_sip.c, handle_request_invite() around line
19547 in trunk. When re-invite is received, "100 trying" is sent out and
5000ms timer is started to send "488 not acceptable here" reply. Since the
other party sends nothing in reply to "100 trying" and we do not send
anything as well, call is terminated in 5 seconds.

case AST_STATE_UP:
   ast_debug(2, "%s: This call is UP.... \n", c->name);
   transmit_response(p, "100 Trying", req);

   if (p->t38.state == T38_PEER_REINVITE) {
     p->t38id = ast_sched_add(sched, 5000, sip_t38_abort, dialog_ref(p,
"passing dialog
   } else if (p->t38.state == T38_ENABLED) {
     ast_set_flag(&p->flags[1], SIP_PAGE2_DIALOG_ESTABLISHED);
     transmit_response_with_t38_sdp(p, "200 OK", req, (reinvite ?
XMIT_RELIABLE : (req->
   } else if (p->t38.state == T38_DISABLED) {
 
We are waiting something from other party? But it looks like they should
not send anything else. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-25 12:36 Censo          Note Added: 0118555                          
======================================================================




More information about the asterisk-bugs mailing list