[asterisk-bugs] [Asterisk 0012286]: [patch] immediate=yes treats s extension differently than others: doesn't return cause code 1 if doesn't exist
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri May 22 08:57:57 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=12286
======================================================================
Reported By: lmamane
Assigned To: file
======================================================================
Project: Asterisk
Issue ID: 12286
Category: Channels/chan_misdn
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.4.18
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2008-03-24 04:30 CDT
Last Modified: 2009-05-22 08:57 CDT
======================================================================
Summary: [patch] 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).
======================================================================
----------------------------------------------------------------------
(0105298) svnbot (reporter) - 2009-05-22 08:57
https://issues.asterisk.org/view.php?id=12286#c105298
----------------------------------------------------------------------
Repository: asterisk
Revision: 196118
_U branches/1.6.0/
U branches/1.6.0/channels/chan_misdn.c
------------------------------------------------------------------------
r196118 | file | 2009-05-22 08:57:57 -0500 (Fri, 22 May 2009) | 19 lines
Merged revisions 196117 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r196117 | file | 2009-05-22 10:56:47 -0300 (Fri, 22 May 2009) | 12 lines
Merged revisions 196116 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r196116 | file | 2009-05-22 10:54:17 -0300 (Fri, 22 May 2009) | 5
lines
Fix a bug where using immediate with mISDN caused a cause code of 16
to get sent back instead of 1 if the 's' extension did not exist.
(closes issue https://issues.asterisk.org/view.php?id=12286)
Reported by: lmamane
........
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=196118
Issue History
Date Modified Username Field Change
======================================================================
2009-05-22 08:57 svnbot Checkin
2009-05-22 08:57 svnbot Note Added: 0105298
======================================================================
More information about the asterisk-bugs
mailing list