[asterisk-bugs] [Asterisk 0016793]: T.38 session fails with '488 Not acceptable here' if within 5 seconds there is no "SIP 100 Trying" REINVITE reply from remote

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 2 05:39:14 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16793 
====================================================================== 
Reported By:                rlr2maverick
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16793
Category:                   Applications/app_fax
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.1.14 
JIRA:                       SWP-890 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-09 09:10 CST
Last Modified:              2010-03-02 05:39 CST
====================================================================== 
Summary:                    T.38 session fails with '488 Not acceptable here' if
within 5 seconds there is no "SIP 100 Trying" REINVITE reply from remote
Description: 
Good morning,

our setup is based on asterisk 1.6.1.14 & spandsp 0.0.6-pre17. We're
always receiving fax with no error.

When sending we're experiencing a quite strange chan_sip codecs
negotiation, selecting ulaw (8kbit??? with fax @14400 ???) even if slin is
preferred and available.

At the first write (TSI) from asterisk to the channel remote side (fax)
we're encountering HDLC carrier down and the transmission never takes
place.

T38 nego can't proceed and fax is never sent.

Is there any experience to share ?

Indeed,
RLR
====================================================================== 

---------------------------------------------------------------------- 
 (0118747) haggard (reporter) - 2010-03-02 05:39
 https://issues.asterisk.org/view.php?id=16793#c118747 
---------------------------------------------------------------------- 
hello,

I ran into a similar problem when I got a Session-Timer based reinvite
with no audio parameters from a Fritz!Box after 15 mins. while receiving a
fax over T.38. Asterisk answers the reinvite with 488 and the Fritz!Box
drops the call. Could this also be based on this problem ?


[Mar  1 17:46:00] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 16)
[Mar  1 17:46:00] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 10)
[Mar  1 17:46:00] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 8)
[Mar  1 17:46:00] VERBOSE[1723] chan_sip.c:
<--- SIP read from UDP://192.168.10.17:5060 --->
INVITE sip:<hiddenusername>@192.168.10.251 SIP/2.0
Record-Route: <sip:192.168.10.17;lr=on;ftag=1DC6ABCA53CA5DFE>
Via: SIP/2.0/UDP 192.168.10.17;branch=z9hG4bKddcc.f9f07bc6.0
Via: SIP/2.0/UDP 192.168.10.70:5060;branch=z9hG4bK00F4D62CD74DEC94
From: <sip:<hiddenusername>@192.168.10.17>;tag=1DC6ABCA53CA5DFE
To: <sip:<hiddenusername>@192.168.10.17>;tag=as179c2945
Call-ID: 0D0ED0C1801A8404 at 192.168.10.70
CSeq: 3412 INVITE
Contact:
<sip:<hiddenusername>@192.168.10.70;uniq=7C753EB6F51196D06B341D62CE1C7>
Max-Forwards: 69
Session-Expires: 1800;refresher=uac
Min-SE: 1800
X-Designated-Service: fax/t38
User-Agent: AVM FRITZ!Box Fon WLAN 7170 29.04.76 (Jul 13 2009)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer
Allow:
INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length:   350

v=0
o=user 6496966 6496968 IN IP4 192.168.10.70
s=call
c=IN IP4 192.168.10.70
t=0 0
m=image 7078 udptl t38
a=T38FaxVersion:1
a=T38MaxBitRate:14400
a=T38FaxTranscodingMMR
a=T38FaxTranscodingJBIG
a=T38FaxRateManagement:transferredTCF
a=T38FaxUdpEC:t38UDPRedundancy
a=T38FaxUdpEC:t38UDPFEC
a=T38FaxMaxBuffer:512
a=T38FaxMaxDatagram:500

<------------->
[Mar  1 17:46:00] VERBOSE[1723] chan_sip.c: --- (24 headers 15 lines) ---
                                                                          
   
<------------->
[Mar  1 17:46:00] VERBOSE[1723] chan_sip.c: --- (24 headers 15 lines) ---
[Mar  1 17:46:00] VERBOSE[1723] chan_sip.c: Sending to 192.168.10.17 :
5060 (no NAT)
[Mar  1 17:46:00] VERBOSE[1723] chan_sip.c: Got T.38 offer in SDP in
dialog 0D0ED0C1801A8404 at 192.168.10.70
[Mar  1 17:46:00] VERBOSE[1723] chan_sip.c: Capabilities: us - 0xc
(ulaw|alaw), peer - audio=0x0 (nothing)/video=0x0 (nothing)/text=0x0
(nothing), combined - 0x0 (nothing)
[Mar  1 17:46:00] VERBOSE[1723] chan_sip.c: Non-codec capabilities (dtmf):
us - 0x1 (telephone-event), peer - 0x0 (nothing), combined - 0x0 (nothing)
[Mar  1 17:46:00] VERBOSE[1723] chan_sip.c: Got T.38 Re-invite without
audio. Keeping RTP active during T.38 session.
[Mar  1 17:46:00] VERBOSE[1723] chan_sip.c:
<--- Transmitting (no NAT) to 192.168.10.17:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
192.168.10.17;branch=z9hG4bKddcc.f9f07bc6.0;received=192.168.10.17
Via: SIP/2.0/UDP 192.168.10.70:5060;branch=z9hG4bK00F4D62CD74DEC94
Record-Route: <sip:192.168.10.17;lr=on;ftag=1DC6ABCA53CA5DFE>
From: <sip:<hiddenusername>@192.168.10.17>;tag=1DC6ABCA53CA5DFE
To: <sip:<hiddenusername>@192.168.10.17>;tag=as179c2945
Call-ID: 0D0ED0C1801A8404 at 192.168.10.70
CSeq: 3412 INVITE
Server: Fax2Mail1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:<hiddenusername>@192.168.10.251>
Content-Length: 0


<------------>
[Mar  1 17:46:00] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 8)
[Mar  1 17:46:01] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:01] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:01] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:01] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:01] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:01] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:01] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:01] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 10)
[Mar  1 17:46:05] VERBOSE[1723] chan_sip.c:
<--- Reliably Transmitting (no NAT) to 192.168.10.17:5060 --->
SIP/2.0 488 Not acceptable here
Via: SIP/2.0/UDP
192.168.10.17;branch=z9hG4bKddcc.f9f07bc6.0;received=192.168.10.17
Via: SIP/2.0/UDP 192.168.10.70:5060;branch=z9hG4bK00F4D62CD74DEC94
From: <sip:<hiddenusername>@192.168.10.17>;tag=1DC6ABCA53CA5DFE
To: <sip:<hiddenusername>@192.168.10.17>;tag=as179c2945
Call-ID: 0D0ED0C1801A8404 at 192.168.10.70
CSeq: 3412 INVITE
Server: Fax2Mail1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16


<------------>
[Mar  1 17:46:05] VERBOSE[1723] chan_sip.c:
<--- SIP read from UDP://192.168.10.17:5060 --->
ACK sip:<hiddenusername>@192.168.10.251 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.17;branch=z9hG4bKddcc.f9f07bc6.0
From: <sip:<hiddenusername>@192.168.10.17>;tag=1DC6ABCA53CA5DFE
Call-ID: 0D0ED0C1801A8404 at 192.168.10.70
To: <sip:<hiddenusername>@192.168.10.17>;tag=as179c2945
CSeq: 3412 ACK
Max-Forwards: 70
User-Agent: openSER
Content-Length: 0


<------------->
[Mar  1 17:46:05] VERBOSE[1723] chan_sip.c: --- (9 headers 0 lines) ---
[Mar  1 17:46:07] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 8)
[Mar  1 17:46:07] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:07] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:07] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:08] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:08] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:08] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:08] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:08] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 10)
[Mar  1 17:46:13] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 8)
[Mar  1 17:46:14] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:14] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:14] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:14] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:14] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:14] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:14] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:14] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 10)
[Mar  1 17:46:19] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 8)
[Mar  1 17:46:20] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:20] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:20] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 13)
[Mar  1 17:46:20] VERBOSE[2629] udptl.c:  UDPTL (SIP/): packet from
192.168.10.70:7078 (type 0, seq 0, len 10)
[Mar  1 17:46:21] VERBOSE[1723] chan_sip.c:
<--- SIP read from UDP://192.168.10.17:5060 --->
BYE sip:<hiddenusername>@192.168.10.251 SIP/2.0
Record-Route: <sip:192.168.10.17;lr=on;ftag=1DC6ABCA53CA5DFE>
Via: SIP/2.0/UDP 192.168.10.17;branch=z9hG4bKedcc.6c141d05.0
Via: SIP/2.0/UDP 192.168.10.70:5060;branch=z9hG4bK17AA5CEB003B3B81
From: <sip:<hiddenusername>@192.168.10.17>;tag=1DC6ABCA53CA5DFE
To: <sip:<hiddenusername>@192.168.10.17>;tag=as179c2945
Call-ID: 0D0ED0C1801A8404 at 192.168.10.70
CSeq: 3413 BYE
X-RTP-Stat:
CS=1360;PS=5666;ES=0;OS=8400;SP=0/0;SO=0;QS=-;PR=305;ER=0;OR=0;CR=0;SR=0;QR=-;PL=0,0;BL=0;LS=0;RB=0/0;SB=0/0;EN=PCMA,FAX;DE=;JI=0,0;DL=0,0,0;IP=192.168.10.70,192.168.10.251:4483
Reason: Q.850; cause=16
Max-Forwards: 69
User-Agent: AVM FRITZ!Box Fon WLAN 7170 29.04.76 (Jul 13 2009)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer
Content-Length: 0 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-02 05:39 haggard        Note Added: 0118747                          
======================================================================




More information about the asterisk-bugs mailing list