[asterisk-bugs] [Asterisk 0017010]: When a context is defined in [general] section of sip.conf, other contexts are ignored

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 13 10:28:15 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17010 
====================================================================== 
Reported By:                hugolivude
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17010
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Target Version:             1.6.2.9
Asterisk Version:           1.6.1 - SECURITY ONLY! Test 1.6.2 
JIRA:                       SWP-1299 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-11 20:47 CST
Last Modified:              2010-05-13 10:28 CDT
====================================================================== 
Summary:                    When a context is defined in [general] section of
sip.conf, other contexts are ignored
Description: 
Cent OS 5.0

When a context is defined in the general section of sip.conf, contexts
defined in other sections are ignored.

Set up sip.conf this way:

[general]
context=incoming-bogus-calls
.
.
.
[voip-provider]
context=ValidIncoming
.
.
.


Calls from my voip-provider should go to “ValidIncoming”, but Asterisk
attempts to send them to “incoming-bogus-calls”

I’ve had sip.conf set up this way for a long time. The idea was
recommended to thwart DOS attacks. It worked in Version 1.4 (and previous
versions) but when I upgraded to 1.6, all calls were sent to
incoming-bogus-calls regardless of source.  I suppose allowguest can be
used now to achieve the desired effect, but the current behaviour is not
backwards compatible.
====================================================================== 

---------------------------------------------------------------------- 
 (0121872) tilghman (administrator) - 2010-05-13 10:28
 https://issues.asterisk.org/view.php?id=17010#c121872 
---------------------------------------------------------------------- 
Per the Asterisk maintenance timeline page at
http://www.asterisk.org/asterisk-versions maintenance (bug) support for the
1.6.0 and 1.6.1 branches has ended. For continued maintenance support
please move to the 1.6.2 branch.

More information on this change can be found in the release announcement:
http://www.asterisk.org/node/49924 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-13 10:28 tilghman       Note Added: 0121872                          
======================================================================




More information about the asterisk-bugs mailing list