Bug 153702

Summary: Zaptel sysconfig file unusable in YAST
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Nigel Hathaway <nigel>
Component: YaST2Assignee: Reinhard Max <max>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Minor    
Priority: P5 - None CC: max
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Nigel Hathaway 2006-02-27 15:35:16 UTC
The sysconfig file containing ZAPTEL_MODULES has it as type "sting" instead of "string", so YAST won't let you enter a value.

In addition the default is blank. Really the default should be "ztdummy". This is because Asterisk always requires some Zaptel (etc.) hardware to give it a source of timing. If you have no specific hardware then you have to use ztdummy.ko to provide this - most people don't know that - so that IAX and music-on-hold work. Note that ztdummy isn't even in the list of possibles and it should be right at the front.
Comment 1 Michael Gross 2006-02-27 15:45:09 UTC
Which file is that?
Comment 2 Michael Gross 2006-03-01 10:12:45 UTC
Ladislav: I suppose this has to be corrected in the YaST module rather than in sysconfig? If not, assign it back to us.
Comment 3 Nigel Hathaway 2006-03-05 14:28:21 UTC
No. It's the file "zaptel" in /etc/sysconfig. Just the text in that file needs changing, not Yast itself.
Comment 4 Nigel Hathaway 2006-03-05 15:27:26 UTC
## Directory:      Hardware/Telephony
## Description:    Zaptel Modules
## Type:           string
## Default:        "ztdummy"
## Config          ""
## ServiceRestart: zaptel
#
# This is a space saparated list of zaptel modules to be
# loaded. Valid module names are:
#
# ztdummy, qozap, tor2, torisa, wcfxo, wcfxs, wct1xxp,
# wct4xxp, wcusb, zaphfc, ztd-eth.
#
ZAPTEL_MODULES="ztdummy"
Comment 5 Ladislav Slezák 2006-03-06 07:43:39 UTC
Michael, no the bug is in zaptel itself. See comment #4, there is corrected sysconfig file. (Nigel, thank you!)
Comment 6 Reinhard Max 2006-03-06 08:36:30 UTC
OK, I'll fix the typo in the type field, but making ztdummy the default is useless, as it requires the kernel's HZ value to be 1000, and our kernels have 250.

AFAIK the zaptel timing is only needed for conferencing (meetme), but not for MoH and IAX.
Comment 7 Michael Gross 2006-03-08 16:12:22 UTC
Nigel: Please don't assign bugs (back) to me but to the screening-team to avoid unwanted stalls. Reassigning to Reinhard.
Comment 8 Reinhard Max 2006-03-09 10:41:27 UTC
Fixed for BETA8.