[asterisk-bugs] [Asterisk 0012286]: immediate=yes treats s extension differently than others: doesn't return cause code 1 if doesn't exist

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Mar 24 04:30:15 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12286 
====================================================================== 
Reported By:                lmamane
Assigned To:                crich
====================================================================== 
Project:                    Asterisk
Issue ID:                   12286
Category:                   Channels/chan_misdn
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-24-2008 04:30 CDT
Last Modified:              03-24-2008 04:30 CDT
====================================================================== 
Summary:                    immediate=yes treats s extension differently than
others: doesn't return cause code 1 if doesn't exist
Description: 
On a TE PTP port, configured with immediate=yes, when the base number is
called and the "s" extension doesn't exist in the configured context,
chan-misdn jumps into the dialplan anyway, triggering the Asterisk fallback
to 'default' context machinery. If the "s" extension does not exist in the
'default' context either, chan-misdn returns ISDN cause code 16 (normal
call clearing) to the caller.

In contrast, if an extension is called and it doesn't exist in the
configured context, chan-misdn returns cause code 1 (that is, "this number
is not allocated"), without any fallback to "s" or the 'default' context.

I think the behaviour should be consistent, and always the second one
(cause code 1).
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-24-08 04:30  lmamane        SVN Branch (only for SVN checkou => N/A          
  
======================================================================




More information about the asterisk-bugs mailing list