[asterisk-bugs] [Asterisk 0015994]: Wrong handling of INVITE with Diversion tag when Asterisk has seen the callid before

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 4 15:23:10 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15994 
====================================================================== 
Reported By:                orn
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15994
Category:                   Channels/chan_sip/Transfers
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           Older 1.6.0 
JIRA:                       SWP-2325 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-30 14:18 CDT
Last Modified:              2010-10-04 15:23 CDT
====================================================================== 
Summary:                    Wrong handling of INVITE with Diversion tag when
Asterisk has seen the callid before
Description: 
Same scenario as 15095, but on 1.6 this time with very different (worse)
behaviour. Same hardware and operating system as that report.

When asterisk receives a call (via PSTN in this case), sends an INVITE to
a SIP proxy, that SIP proxy adds a Diversion tag and sends it back to
asterisk to get back to the PSTN, the call doesn't complete an asterisk
complains with a peculiar error:
[Sep 28 15:41:24] WARNING[32316]: chan_sip.c:4224 create_addr: No such
host: 5555555

5555555 is the number being forwarded to, and is nowhere specified as a
destination host.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015095 Behaviour when dealing with Diversion t...
====================================================================== 

---------------------------------------------------------------------- 
 (0127679) schmidts (developer) - 2010-10-04 15:23
 https://issues.asterisk.org/view.php?id=15994#c127679 
---------------------------------------------------------------------- 
sorry but it looks like your proxy doesnt do it right. 
pending on rfc 5806 a sip proxy should send a 30x message back with the
diversion header or create a new request (invite) with the diversion
header, but your proxy does not change the caller-id,branch and from tag so
asterisk thinks its a response not a request and the diversion header
finally brakes this dialog. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-04 15:23 schmidts       Note Added: 0127679                          
======================================================================




More information about the asterisk-bugs mailing list