[asterisk-users] Can't change Zaptel driver from FCC mode
Neil Tancock
neil at safeharbourit.co.uk
Mon Oct 23 01:34:10 MST 2006
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: 200 at pbx.safeharbourit.co.uk
email: neil at safeharbourit.co.uk
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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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 I"m 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-0000" 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
More information about the asterisk-users
mailing list