[asterisk-bugs] [Asterisk 0014993]: [patch] SIP Response 410 incorrectly mapped to Hangupcause 1, should be 22

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 1 15:01:22 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14993 
====================================================================== 
Reported By:                BigJimmy
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   14993
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 191028 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-04-29 09:48 CDT
Last Modified:              2009-05-01 15:01 CDT
====================================================================== 
Summary:                    [patch] SIP Response 410 incorrectly mapped to
Hangupcause 1, should be 22
Description: 
According to documentation here:

http://www.cisco.com/en/US/docs/voice_ip_comm/pgw/9/dial_plan/guide/DP_App_B.html#wp1191041

and here:

http://www.voip-info.org/wiki/view/Asterisk+variable+hangupcause

SIP response 410 should map to ISDN Cause code 22. When going from ISDN to
SIP, this mapping is correct, however, when going from SIP to ISDN, it is
incorrectly mapped to cause code 1.
====================================================================== 

---------------------------------------------------------------------- 
 (0104036) svnbot (reporter) - 2009-05-01 15:01
 http://bugs.digium.com/view.php?id=14993#c104036 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 191560

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r191560 | tilghman | 2009-05-01 15:01:22 -0500 (Fri, 01 May 2009) | 13
lines

Merged revisions 191559 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r191559 | tilghman | 2009-05-01 15:00:23 -0500 (Fri, 01 May 2009) | 6
lines
  
  SIP Response 410 maps to cause code 22 (or 23), not 1.
  (closes issue http://bugs.digium.com/view.php?id=14993)
   Reported by: BigJimmy
   Patches: 
         causepatch uploaded by BigJimmy (license 371)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=191560 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-01 15:01 svnbot         Checkin                                      
2009-05-01 15:01 svnbot         Note Added: 0104036                          
======================================================================




More information about the asterisk-bugs mailing list