[asterisk-bugs] [Asterisk 0015602]: chan_dahdi parser assigns channel 1 to wrong context

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 21 14:19:06 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15602 
====================================================================== 
Reported By:                karlfife
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15602
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-28 17:54 CDT
Last Modified:              2009-08-21 14:19 CDT
====================================================================== 
Summary:                    chan_dahdi parser assigns channel 1 to wrong context
Description: 
Based on the config below, Channels 1-23 are properly assigned to the
context 
inbound-pri, and Channels 25-47 are assigned to the context outbound-pri.
As 
expected.

[trunkgroups]
; We do not do NFAS at this time

[channels]
echocancel = yes
switchtype = national

context = outbound-pri
signalling = pri_net
group = 2
channel => 25-47

context = inbound-pri
signalling = pri_cpe
group = 1
channel => 1-23


HOWEVER when I simply reverse the order of the channels on the last few 
lines like so:

[trunkgroups]
; We do not do NFAS at this time

[channels]
echocancel = yes
switchtype = national

;This A part (4 lines) was swapped with the B part
context = inbound-pri
signalling = pri_cpe
group = 1
channel => 1-23

;This B part (4 lines) was swapped with the A part
context = outbound-pri
signalling = pri_net
group = 2
channel => 25-47


UNEXPECTED:
Channels 1 is unexpectedly assigned to the context outbound-pri
Channels 2-23 are 'properly' assigned to the context inbound-pri
Channels 25-47 are 'properly' assigned to the context outbound-pri

This is not a dahdi reload problem.  Even a complete system reboot returns

these results

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-21 14:19 kpfleming      Asterisk Version          => SVN             
2009-08-21 14:19 kpfleming      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
2009-08-21 14:19 kpfleming      Category                 General =>
Channels/chan_dahdi
2009-08-21 14:19 kpfleming      version                  2.2.0 =>            
======================================================================




More information about the asterisk-bugs mailing list