[asterisk-bugs] [Asterisk 0018681]: [regression] Asterisk 1.8x, SIP 484 set HANGUPCAUSE to 111 instead of 28

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 18 13:05:44 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18681 
====================================================================== 
Reported By:                mickecarlsson
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18681
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-3014 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-26 08:47 CST
Last Modified:              2011-05-18 13:05 CDT
====================================================================== 
Summary:                    [regression] Asterisk 1.8x, SIP 484 set HANGUPCAUSE
to 111 instead of 28
Description: 
When dialing an incomplete number provider returns "SIP/2.0 484 Number
incomplete" but HANGUPCASE is set to 111 instead of 28.
This is working with Asterisk 1.4
Running 1.8.3-rc1

====================================================================== 

---------------------------------------------------------------------- 
 (0135104) mickecarlsson (reporter) - 2011-05-18 13:05
 https://issues.asterisk.org/view.php?id=18681#c135104 
---------------------------------------------------------------------- 
This was added between 1.6.0.28 and 1.6.1.0 in app_dial.c:
+
+               /* SIP, in particular, sends back this error code to
indicate an
+                * overlap dialled number needs more digits. */
+               if (chan->hangupcause == AST_CAUSE_INVALID_NUMBER_FORMAT)
{
+                       res = AST_PBX_INCOMPLETE;
+               }
+

Here is the bug that is breaking functionality from previous versions
causing an unnecessary timeout of three seconds before going to 't' exten.

I will now dig into 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-18 13:05 mickecarlsson  Note Added: 0135104                          
======================================================================




More information about the asterisk-bugs mailing list