[Home]

Summary:ASTERISK-02922: chan_zap.c always tries to use channel 24 as D-channel
Reporter:markhagler (markhagler)Labels:
Date Opened:2004-12-04 15:23:18.000-0600Date Closed:2011-06-07 14:05:10
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Carrier provides me some data/voice circuits where D-Channel signalling is on T1 channel 7.     I am able to configure /etc/zaptel.conf for dchan=7 but Asterisk and the Zap channel driver does not obey this and errors.   Output:

Dec  4 12:54:48 ERROR[16384]: Unable to open D-channel 24 (No such device or add
ress)
Dec  4 12:54:48 ERROR[16384]: Unable to start D-channel on span 1
Dec  4 12:54:48 WARNING[16384]: chan_zap.so: load_module failed, return...

I think chan_zap.c should locate the D-channel from zaptel.conf to handle cases of the D-channel being something other than 24.


****** ADDITIONAL INFORMATION ******

Modifying chan_zap.c to change '24' to '7' inside of pri_resolve_span() makes it work.  
Comments:By: Mark Spencer (markster) 2004-12-04 18:31:22.000-0600

Not only is this not a bug but it's even configurable if you use a span mapping.  Please do not enter technical support requests in the bug tracker but e-mail support@digium.com instead.  Thanks!