[Home]

Summary:ASTERISK-03065: can't play files via IAX if zaptel + T1/E1 board drivers loaded and no span lines defined in zaptel.conf
Reporter:Brian West (bkw918)Labels:
Date Opened:2004-12-22 00:05:57.000-0600Date Closed:2004-12-24 03:00:54.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:This is more of an anoyance than anything and it shouldn't be doing this.  If you load any T1/E1 board drivers but don't configure a span line in zaptel.conf and call your box via IAX it will be unable to play audio.

Comments:By: Mark Spencer (markster) 2004-12-22 21:34:44.000-0600

The performance penalty of checking for an active span on every open of /dev/zap/pseudo is not worth it.  Perhaps we could add a zap check at the beginning of Asterisk which would open /dev/zap/pesudo and try to wait up to 100ms for some data to be there and then print a warning if it isn't.  If you like that idea, feel free to create a patch and submit.  Thanks!