Re: [asterisk-users] Can't change Zaptel driver from FCC mode

2006-10-23 Thread Tzafrir Cohen
On Mon, Oct 23, 2006 at 09:34:10AM +0100, Neil Tancock wrote:
 Hi, I'm using Asterisk with a Digium TDM10B FXO card and it's driving me
 nuts.  I'm based in the UK and have echo problems and need to switch the
 driver from FCC mode to UK mode.
 
 I've tried modprobe zaptel and modprobe wctdm opermode=UK and the ztcfg.  I
 get no error messages but when I reboot it still comes up as FCC mode?

What is the actual parameter? Any chance it is set elsewhere or that the
module was already loaded?

To check the current value:

cat /sys/modules/wctdm/parameters/opermode

Also verify you don't use the parameter _opermode.

-- 
Tzafrir Cohen   iax:[EMAIL PROTECTED]/tzafrir
icq#16849755   mailto:[EMAIL PROTECTED] 
+972-50-7952406  jabber:[EMAIL PROTECTED]
 http://www.xorcom.com 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Can't change Zaptel driver from FCC mode

2006-10-23 Thread Neil Tancock
Hi Tzafrir,

If I do a cat of /sys/module/wctdm/opermode I get:

FCC

I thought I could change it here and then do a ztcfg or a genzaptelconf but
it just overwrites it with FCC again.

How do I change it? 

Neil

safeharbour IT Ltd
Your IT Department
 
tel: 0845 644 3607
fax: 0845 867 2891
mob: 07812 114784
voip: [EMAIL PROTECTED]
email: [EMAIL PROTECTED]
web: www.safeharbourit.co.uk
 
 The information in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this e-mail
by anyone else is unauthorised. If you are not the intended recipient, any
disclosure, copying, distribution or any action taken or omitted to be taken
in reliance on it, is prohibited and may be unlawful. When addressed to our
clients, any opinions or advice contained in this e-mail are subject to the
terms and conditions expressed in any applicable governing terms of
business.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tzafrir Cohen
Sent: 23 October 2006 10:41
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Can't change Zaptel driver from FCC mode

On Mon, Oct 23, 2006 at 09:34:10AM +0100, Neil Tancock wrote:
 Hi, I'm using Asterisk with a Digium TDM10B FXO card and it's driving 
 me nuts.  I'm based in the UK and have echo problems and need to 
 switch the driver from FCC mode to UK mode.
 
 I've tried modprobe zaptel and modprobe wctdm opermode=UK and the 
 ztcfg.  I get no error messages but when I reboot it still comes up as FCC
mode?

What is the actual parameter? Any chance it is set elsewhere or that the
module was already loaded?

To check the current value:

cat /sys/modules/wctdm/parameters/opermode

Also verify you don't use the parameter _opermode.

-- 
Tzafrir Cohen   iax:[EMAIL PROTECTED]/tzafrir
icq#16849755   mailto:[EMAIL PROTECTED] 
+972-50-7952406  jabber:[EMAIL PROTECTED]
 http://www.xorcom.com 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Can't change Zaptel driver from FCC mode

2006-10-23 Thread Tzafrir Cohen
On Mon, Oct 23, 2006 at 01:46:53PM +0100, Neil Tancock wrote:
 Hi Tzafrir,
 
 If I do a cat of /sys/module/wctdm/opermode I get:
 
 FCC
 
 I thought I could change it here 

No point in changing it there. It is used when the module is initialized
(and should be a read-only parameter, hint-hint)

 and then do a ztcfg 

ztcfg is irrelevant here: it only operates after the module is loaded.

 or a genzaptelconf 

Again, not exactly relevant

 but
 it just overwrites it with FCC again.

Have you unloaded the kernel module wctdm?

Again: 'lsmod | grep wctdm' shows if it is loaded.

grep wctdm /etc/modprobe.conf

-- 
Tzafrir Cohen   iax:[EMAIL PROTECTED]/tzafrir
icq#16849755   mailto:[EMAIL PROTECTED] 
+972-50-7952406  jabber:[EMAIL PROTECTED]
 http://www.xorcom.com 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Can't change Zaptel driver from FCC mode

2006-10-23 Thread Neil Tancock
Ok, I've somehow resolved this.  I've added the line options wctdm
opermode=UK to modprobe.conf, rebuilt zaptel and now when it boots I get UK
mode instead of FCC mode and, hey presto, less echo!

Many thanks Tzafrir!

Neil 


safeharbour IT Ltd
Your IT Department
 
tel: 0845 644 3607
fax: 0845 867 2891
mob: 07812 114784
voip: [EMAIL PROTECTED]
email: [EMAIL PROTECTED]
web: www.safeharbourit.co.uk
 
 The information in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this e-mail
by anyone else is unauthorised. If you are not the intended recipient, any
disclosure, copying, distribution or any action taken or omitted to be taken
in reliance on it, is prohibited and may be unlawful. When addressed to our
clients, any opinions or advice contained in this e-mail are subject to the
terms and conditions expressed in any applicable governing terms of
business.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tzafrir Cohen
Sent: 23 October 2006 15:17
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Can't change Zaptel driver from FCC mode

On Mon, Oct 23, 2006 at 01:46:53PM +0100, Neil Tancock wrote:
 Hi Tzafrir,
 
 If I do a cat of /sys/module/wctdm/opermode I get:
 
 FCC
 
 I thought I could change it here

No point in changing it there. It is used when the module is initialized
(and should be a read-only parameter, hint-hint)

 and then do a ztcfg

ztcfg is irrelevant here: it only operates after the module is loaded.

 or a genzaptelconf

Again, not exactly relevant

 but
 it just overwrites it with FCC again.

Have you unloaded the kernel module wctdm?

Again: 'lsmod | grep wctdm' shows if it is loaded.

grep wctdm /etc/modprobe.conf

-- 
Tzafrir Cohen   iax:[EMAIL PROTECTED]/tzafrir
icq#16849755   mailto:[EMAIL PROTECTED] 
+972-50-7952406  jabber:[EMAIL PROTECTED]
 http://www.xorcom.com 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users