]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Set the INVALID_EXTEN channel variable when chan_misdn forces the 'i' extension
authorMatthew Jordan <mjordan@digium.com>
Wed, 16 Jan 2013 00:14:38 +0000 (00:14 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 16 Jan 2013 00:14:38 +0000 (00:14 +0000)
commit9495a7ba7e019acfae120d17ae2c25e7db69b3c0
treec45a64e038595b7c3fd35724482cce0d870fde24
parenteabe99a23cacfeeec1afdfc8d17f668148b1cfc5
Set the INVALID_EXTEN channel variable when chan_misdn forces the 'i' extension

The chan_misdn channel driver will send a channel with an invalid destination
to the 'i' extension itself if said extension can be reached. It forgot,
however, to set the INVALID_EXTEN channel variable when it bounces the channel
to this extension. Dialplan writers everywhere moaned at yet another
inconsistency.

This is yet another example of why duplicating logic in multiple places results
in bugs that stick around in Jira for just under three years.

Yes: ASTERISK-15456 was created on January 18th, 2010. Patch committed on
January 15th, 2013. Ouch.

(closes issue ASTERISK-15456)
Reported by: Thomas Omerzu
patches:
  chan_misdn_invalid.patch2 uploaded by Thomas Omerzu (license 5927)
........

Merged revisions 379145 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@379146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_misdn.c