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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 26 13:23:28 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15602 
====================================================================== 
Reported By:                karlfife
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   15602
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-07-28 17:54 CDT
Last Modified:              2009-08-26 13:23 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

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

---------------------------------------------------------------------- 
 (0109697) qwell (administrator) - 2009-08-26 13:23
 https://issues.asterisk.org/view.php?id=15602#c109697 
---------------------------------------------------------------------- 
I don't think there's anything we need to do here.  For this to have
happened, the example would have had to have been uncommented by the user. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-26 13:23 qwell          Note Added: 0109697                          
2009-08-26 13:23 qwell          Status                   new => resolved     
2009-08-26 13:23 qwell          Resolution               open => no change
required
2009-08-26 13:23 qwell          Assigned To               => qwell           
======================================================================




More information about the asterisk-bugs mailing list