[asterisk-bugs] [Asterisk 0017750]: Wrong DIALSTATUS/HANGUPCAUSE set on receiving 416 reply to INVITE

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 29 14:05:43 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17750 
====================================================================== 
Reported By:                edo
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17750
Category:                   Channels/chan_sip/General
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           Older 1.6.2 - 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:             2010-07-29 11:56 CDT
Last Modified:              2010-07-29 14:05 CDT
====================================================================== 
Summary:                    Wrong DIALSTATUS/HANGUPCAUSE set on receiving 416
reply to INVITE
Description: 
Misconfigured provider's server send 416 reply to INVITE:
<--- SIP read from TCP:193.201.229.35:5060 --->
SIP/2.0 416 Unsupported URI Scheme
Via: SIP/2.0/TCP
91.144.xxx.xxx:5060;received=91.144.xxx.xxx;branch=z9hG4bK13c51815;rport=35656
From: "7927xxxxxxx" <sip:7927xxxxxxx at multifon.ru>;tag=as3ae65d97
To: <sip:7927yyyyyyy at sbc.multifon.ru:5060>;tag=96FF324631353641E9DD3100
Call-ID: 2d653d043cdcf4b8153def7942de9d22 at multifon.ru
CSeq: 103 INVITE

After call hangup Asterisk set DIALSTATUS to NOANSWER, HANGUPCAUSE to 16,
that is incorrect.
====================================================================== 

---------------------------------------------------------------------- 
 (0125291) edo (reporter) - 2010-07-29 14:05
 https://issues.asterisk.org/view.php?id=17750#c125291 
---------------------------------------------------------------------- 
Accoring to rfc4497 HANGUPCAUSE must be set to AST_CAUSE_INTERWORKING.

btw. hangup_sip2cause function must follow this rfc:
http://www.asterisk.org/doxygen/trunk/chan__sip_8c-source.html#l05530 

about DIALSTATUS - I think CONGESTION is reasonable value. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-29 14:05 edo            Note Added: 0125291                          
======================================================================




More information about the asterisk-bugs mailing list