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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 31 15:43:36 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15602 
====================================================================== 
Reported By:                karlfife
Assigned To:                
====================================================================== 
Project:                    DAHDI-tools
Issue ID:                   15602
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2009-07-28 17:54 CDT
Last Modified:              2009-07-31 15:43 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

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

---------------------------------------------------------------------- 
 (0108477) qwell (administrator) - 2009-07-31 15:43
 https://issues.asterisk.org/view.php?id=15602#c108477 
---------------------------------------------------------------------- 
Hmm..  Do you by chance have a users.conf that might be specifying channel
1?  Also, what version(s) of Asterisk does this happen with? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-31 15:43 qwell          Note Added: 0108477                          
======================================================================




More information about the asterisk-bugs mailing list