Summary: | ASTERISK-01771: asterisk fails to start dchanel wrongly set to 24 on E1 | ||
Reporter: | izo (izo) | Labels: | |
Date Opened: | 2004-06-06 17:14:48 | Date Closed: | 2008-01-15 14:57:28.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I have E100P and my /etc/zaptel.conf looks like this span=1,1,0,ccs,hdb3,crc4 bchan=1-15 dchan=16 bchan=17-31 loadzone = us defaultzone=us Fresh cvs asterisk refused to start with error saying that 24 channel is a dchannel. After some investigetion i found that si->totalchans in chan_zap.c in asterisk is set to 0 and in such case dchannel is set up as 24th channel. | ||
Comments: | By: Mark Spencer (markster) 2004-06-06 17:20:23 Fixed in CVS. By: Digium Subversion (svnbot) 2008-01-15 14:57:28.000-0600 Repository: asterisk Revision: 3159 U trunk/channels/chan_zap.c ------------------------------------------------------------------------ r3159 | markster | 2008-01-15 14:57:28 -0600 (Tue, 15 Jan 2008) | 2 lines Must call spanstat before checking number of channels (bug ASTERISK-1771) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=3159 |