[asterisk-bugs] [JIRA] Created: (ASTERISK-20455) invalid i extension not being dispatched

Richard Miller (JIRA) noreply at issues.asterisk.org
Thu Sep 20 22:59:27 CDT 2012


invalid i extension not being dispatched
----------------------------------------

                 Key: ASTERISK-20455
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20455
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/PBX
    Affects Versions: 1.8.16.0
         Environment: Fedora Core 5 i868 i386, gcc 4.1.1
            Reporter: Richard Miller
            Severity: Blocker


The dialplan fails to run the invalid "i" extension due to an uninitialized variable dat_exten in main/pbx.c

I have another newer system under CentOS 6.2 x86_64 that does not exhibit the problem, but nevertheless, there is a flaw in the code that goes back many generations.

My company's production system had been running Asterisk 1.6.2.11-rc2 for several years under Fedora Core 5.  I wanted to use some of the newer features in Asterisk 1.8, so I installed the latest version.  However, when I tried placing a call, it would not go through.

The console showed:
auto fallthrough, channel 'SIP/131-00000005' status is 'UNKNOWN'

My dialplan uses the i extension in several places and this was happening right where it should have dispatched extension i.  Once I applied the one line patch I am submitting, the problem went away.

   As soon as I applied the fix in my patch, the problem went away on my old production system running Fedora Core 5.  I had previously been running version 1.6.2.11-rc2 which was working fine, but the code does have the same flaw.



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list