[asterisk-users] Can't change Zaptel driver from FCC mode
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 am I doing wrong? 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 Todd- Asterisk Sent: 20 October 2006 19:29 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] getting DID info.. Thanks for the help Jerry - I'm getting closer, but still no luck... Now, I hear the lady say S. I think what is happening is that the GoTo command is setting the extension to 's' when it transfers control to the context defined in the IAX.conf -where I have the trunk line defined... exten = h,1,Hangup exten = s,n,Answer exten = s,n,Wait(1) exten = s,n,SayAlpha(${EXTEN}) It is my impression that the EXTEN variable is used as the internal extension - not the incoming DID number, but you seem pretty confident so I must be wrong. What Im looking to do is a FOP pop-up with the DID number and caller ID number in it... I'll tie that into a web-based database... Here's my full log file.. Oct 20 14:23:42 VERBOSE[5387] logger.c: -- Accepting AUTHENTICATED call from 204.11.194.34: requested format = ulaw, requested prefs = (), actual format = ulaw, host prefs = (ulaw|alaw|gsm), priority = mine Oct 20 14:23:42 VERBOSE[5862] logger.c: -- Executing Set (IAX2/204.11.194.34:4569-4, LOOPCOUNT=0) in new stack Oct 20 14:23:42 VERBOSE[5862] logger.c: -- Executing Set (IAX2/204.11.194.34:4569-4, __DIR-CONTEXT=default) in new stack Oct 20 14:23:42 VERBOSE[5862] logger.c: -- Executing Answer (IAX2/204.11.194.34:4569-4, ) in new stack Oct 20 14:23:42 VERBOSE[5862] logger.c: -- Executing Wait (IAX2/204.11.194.34:4569-4, 1) in new stack Oct 20 14:23:43 DEBUG[5387] chan_iax2.c: Ooh, voice format changed to 4 Oct 20 14:23:43 VERBOSE[5862] logger.c: -- Executing SayAlpha (IAX2/204.11.194.34:4569-4, s) in new stack Oct 20 14:23:43 DEBUG[5862] channel.c: Scheduling timer at 160 sample intervals Oct 20 14:23:43 VERBOSE[5862] logger.c: -- Playing 'letters/ s' (language 'en') DID is the inbound call number. The is notation for CallerID name, that won't help. s is the start extension. setting it to FROM_DID makes no sense. (This is the extention that starts in this context; it is a default, if the context is started without an extension. (eg batphone or called from another context)) FROM_DID=${EXTEN} gets you the right number. However, SayNumber is looking for a SINGLE digit. Your 000-000- style number is overflow, and hence zero. You have to parse the number to do this right. If you aren't sure how, let me know, I might have a macro to do it. Thanks, J. ___ --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
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
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
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
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