[Home]

Summary:ASTERISK-14034: [patch] SIP Response 410 incorrectly mapped to Hangupcause 1, should be 22
Reporter:James Terhune (bigjimmy)Labels:
Date Opened:2009-04-29 09:48:51Date Closed:2009-05-01 15:02:51
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) causepatch
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.
Comments:By: Digium Subversion (svnbot) 2009-05-01 15:00:24

Repository: asterisk
Revision: 191559

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r191559 | tilghman | 2009-05-01 15:00:24 -0500 (Fri, 01 May 2009) | 6 lines

SIP Response 410 maps to cause code 22 (or 23), not 1.
(closes issue ASTERISK-14034)
Reported by: BigJimmy
Patches:
      causepatch uploaded by BigJimmy (license 371)

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

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

By: Digium Subversion (svnbot) 2009-05-01 15:01:22

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 ASTERISK-14034)
  Reported by: BigJimmy
  Patches:
        causepatch uploaded by BigJimmy (license 371)
........

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

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

By: Digium Subversion (svnbot) 2009-05-01 15:02:34

Repository: asterisk
Revision: 191561

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r191561 | tilghman | 2009-05-01 15:02:34 -0500 (Fri, 01 May 2009) | 20 lines

Merged revisions 191560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r191560 | tilghman | 2009-05-01 15:01:21 -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 ASTERISK-14034)
    Reported by: BigJimmy
    Patches:
          causepatch uploaded by BigJimmy (license 371)
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-05-01 15:02:42

Repository: asterisk
Revision: 191562

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_sip.c

------------------------------------------------------------------------
r191562 | tilghman | 2009-05-01 15:02:42 -0500 (Fri, 01 May 2009) | 20 lines

Merged revisions 191560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r191560 | tilghman | 2009-05-01 15:01:21 -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 ASTERISK-14034)
    Reported by: BigJimmy
    Patches:
          causepatch uploaded by BigJimmy (license 371)
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-05-01 15:02:50

Repository: asterisk
Revision: 191563

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r191563 | tilghman | 2009-05-01 15:02:50 -0500 (Fri, 01 May 2009) | 20 lines

Merged revisions 191560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r191560 | tilghman | 2009-05-01 15:01:21 -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 ASTERISK-14034)
    Reported by: BigJimmy
    Patches:
          causepatch uploaded by BigJimmy (license 371)
 ........
................

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

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