SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
bigblokeOffline



Joined: Aug 15, 2004
Posts: 69
Location: Newport South Wales
Status: Offline
Posted: Sep 11, 2005 - 02:04 AM Reply with quote Back to top
Hi All,

Having played about for a while with an old winmodem card I decided it was time to invest in a proper Digium board.

I installed the card, booted the machine then ran

genzaptelconf -s

Happilly, the card was recognised first time.

However, a review of the DMESG log shows:

<snip>
Freshmakehmaker passed register test
Module 0: Installed -- AUTO FXS/DPO
Module 1: Installed -- AUTO FXS/DPO
Module 2: Installed -- AUTO FXS/DPO
Module 3: Installed -- AUTO FXO (FCC mode)
Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules)
</snip>

Now its been a few years since I worked on PSTN exchanges (17+ years in fact!) and I recall that although exchange battery is -48V (-54.6v on an AXE exchange for the pedants out there Very Happy) , FCC levels of AC ring voltage are somewhat below the 80V AC used by BT (ISTR it was 50-70V AC ?)

Therefore I'm a little reluctant to plug my shiny new card
into the BT socket "just yet"

Presumably, I need to "Hand edit" the appropriate parameters
in one of the /etc/asterisk/zap*.conf files...but which parameters ? theres no "TFM" to "R" Very Happy Very Happy

Also I see my tones are set for region 0 (USA) , where / how do I set them for UK / Europe please ?

All salient URLs / info greatly appreciated!

[EDIT] forgot to add

tried genzaptelconf -d -s -c 44

to no avail

[/EDIT]

Regards

BB


Last edited by bigbloke on Sep 11, 2005 - 02:22 AM; edited 1 time in total
View user's profile Send private message MSN Messenger ICQ Number
bigblokeOffline



Joined: Aug 15, 2004
Posts: 69
Location: Newport South Wales
Status: Offline
Posted: Sep 11, 2005 - 02:19 AM Reply with quote Back to top
bigbloke :


[EDIT] forgot to add

tried genzaptelconf -d -s -c 44

to no avail

[/EDIT]



Oh ***** !

it IS (in my defence) > 2am here Wink

answer to one part found !

genzaptelconf -d -s -c uk

But dmesg now shows:

Quote:

Freshmaker version: 73
Freshmaker passed register test
Module 0: Installed -- AUTO FXS/DPO
Module 1: Installed -- AUTO FXS/DPO
Module 2: Installed -- AUTO FXS/DPO
Module 3: Installed -- AUTO FXO (FCC mode)
Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules)
Registered tone zone 4 (United Kingdom)
usb.c: registered new driver wcusb
Wildcard USB FXS Interface driver registered
Registered tone zone 4 (United Kingdom)
Registered tone zone 4 (United Kingdom)


so still looking for an answer to the "FCC" part

regards

BB
View user's profile Send private message MSN Messenger ICQ Number
DigitalDazOffline



Joined: Jul 09, 2005
Posts: 23

Status: Offline
Posted: Sep 11, 2005 - 10:10 AM Reply with quote Back to top
I'm by no means knowledgable about asterisk, only been playing with it for about a month but it seems to be about the way the module is loaded. I'm using asterisk@home and have the following:

Module 0: Installed -- AUTO FXS/DPO
Module 1: Not installed
Module 2: Not installed
Module 3: Installed -- AUTO FXO (UK mode)
Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules)
Registered tone zone 4 (United Kingdom)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver wcusb
Wildcard USB FXS Interface driver registered
Registered tone zone 4 (United Kingdom)
Registered tone zone 4 (United Kingdom)

It appears to be the way the module is loaded, this works for me with a 2,4 kernel:

[root@asterisk1 etc]# more modules.conf
alias eth0 e100
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1
|| :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 |
| :
options torisa base=0xd0000
alias char-major-196 torisa
post-install tor2 /sbin/ztcfg
post-install torisa /sbin/ztcfg
post-install wcusb /sbin/ztcfg
post-install wcfxo /sbin/ztcfg
post-install wctdm /sbin/ztcfg
post-install ztdynamic /sbin/ztcfg
post-install ztd-eth /sbin/ztcfg
post-install wct1xxp /sbin/ztcfg
post-install wct4xxp /sbin/ztcfg
post-install wcte11xp /sbin/ztcfg
post-install pciradio /sbin/ztcfg
post-install ztd-loc /sbin/ztcfg
post-install ztdummy /sbin/ztcfg
alias wcfxs wctdm
options wctdm opermode=UK

Check out the following for more info:

http://www.voip-info.org/tiki-index.php?page=TDM400P
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3364
Location: Bath UK
Status: Offline
Posted: Sep 11, 2005 - 01:04 PM Reply with quote Back to top
HI

The basic settings for UK working are

/etc/zaptel.conf
make sure the following are as below

loadzone = uk
defaultzone=uk

and in /etc/asterisk/zapata.conf

for CLI to work

cidsignalling=v23 ; Added for UK CLI detection
cidstart=polarity ; Added for UK CLI detection
Immediate=yes ; as we recieve cli info before not after first ring.


Hope that will help.

Ian
View user's profile Send private message
bigblokeOffline



Joined: Aug 15, 2004
Posts: 69
Location: Newport South Wales
Status: Offline
Posted: Sep 13, 2005 - 10:46 PM Reply with quote Back to top
Hi Chaps,

thanks for the feedback Exclamation

DigitalDaz:

presently running a 2.4.21 kernel *@home distro on a P2 500
my modules.conf is certainly different to yours, and was missing the line:

options wctdm opermode=UK

It now looks like:

Code:

alias eth0 3c59x
alias usb-controller usb-uhci
options torisa base=0xd0000
alias char-major-196 torisa
post-install tor2 /sbin/ztcfg
post-install torisa /sbin/ztcfg
post-install wcusb /sbin/ztcfg
post-install wcfxo /sbin/ztcfg
post-install wctdm /sbin/ztcfg
post-install ztdynamic /sbin/ztcfg
post-install ztd-eth /sbin/ztcfg
post-install wct1xxp /sbin/ztcfg
post-install wct4xxp /sbin/ztcfg
post-install wcte11xp /sbin/ztcfg
post-install pciradio /sbin/ztcfg
post-install ztd-loc /sbin/ztcfg
post-install ztdummy /sbin/ztcfg
alias wcfxs wctdm
alias wct2xxp wct4xxp
options wctdm opermode=UK


for the benefit of people following in my footsteps the UK needed to be in uppercase. Fortunately DMESG moans at you
about it and gives a verbose geography lesson Wink

but now dmesg |grep Module

gives:

Module 0: Installed -- AUTO FXS/DPO
Module 1: Installed -- AUTO FXS/DPO
Module 2: Installed -- AUTO FXS/DPO
Module 3: Installed -- AUTO FXO (UK mode)

IanPlain

Thanks for your contribution too! all the tones sound correct now, the only thing that sems a "little" odd is that the FXO port seems a little quiet - that could be me though! touch of bronchitis keeps "popping" my ears of late Wink

Regards & Thanks again.

BB
View user's profile Send private message MSN Messenger ICQ Number
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3364
Location: Bath UK
Status: Offline
Posted: Sep 13, 2005 - 11:36 PM Reply with quote Back to top
Hi

As to the volume, Have you run ztmonitor and set the levels ?

Ian
View user's profile Send private message
bigblokeOffline



Joined: Aug 15, 2004
Posts: 69
Location: Newport South Wales
Status: Offline
Posted: Sep 13, 2005 - 11:40 PM Reply with quote Back to top
not yet Very Happy

next job methinks !

Regards

BB

[edit] hmm...only ztmonitor is in /usr/src/zaptel
command not recognised better compile it [/edit]
View user's profile Send private message MSN Messenger ICQ Number
middletnOffline



Joined: Sep 12, 2005
Posts: 453
Location: Devon
Status: Offline
Posted: Sep 26, 2005 - 12:59 PM Reply with quote Back to top
Can't seem to get mine to go to uk mode. Can you tell me where you insert the line?

options wctdm opermode=UK

Did you manage to figure out why the volume was so low? I must say I get better quality comming over IP than I do from using the card.
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3364
Location: Bath UK
Status: Offline
Posted: Sep 26, 2005 - 02:04 PM Reply with quote Back to top
Hi

What OS are you running? as its dependant on OS.

Does you asterisk auto start ? and do you have any other cards.

Ian
View user's profile Send private message
middletnOffline



Joined: Sep 12, 2005
Posts: 453
Location: Devon
Status: Offline
Posted: Sep 26, 2005 - 07:03 PM Reply with quote Back to top
I'm running CentOS release 4.1 (Final)
Kernel Version 2.6.9-11.EL
and yes it does auto start, but I can't find out what version of asterisk I'm running
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3364
Location: Bath UK
Status: Offline
Posted: Sep 26, 2005 - 07:23 PM Reply with quote Back to top
Hi

Thats a 2.6 kernel isnt it ? from my notes you need to add the line to the modprobe.conf file
Code:
install wctdm /sbin/modprobe --ignore-install wctdm opermode=UK && /sbin/ztcfg


see if that does it. if it doesnt then the you need to add the options line to /etc/modprobe.d/asterisk

Ian
View user's profile Send private message
middletnOffline



Joined: Sep 12, 2005
Posts: 453
Location: Devon
Status: Offline
Posted: Sep 26, 2005 - 11:46 PM Reply with quote Back to top
Thanks, I'll try that when I get home tomorrow. Can you give me a clue to where the file is located?

Boy it's a steep learning curve on this product. Just when you think it's all a piece of cake, something else pops up to bite you. Still todate, they're slowly getting resolved one by one.
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3364
Location: Bath UK
Status: Offline
Posted: Sep 27, 2005 - 09:44 PM Reply with quote Back to top
Hi

Ok

from the linux promp

find / -name file_name_you_want

Ian
View user's profile Send private message
middletnOffline



Joined: Sep 12, 2005
Posts: 453
Location: Devon
Status: Offline
Posted: Sep 27, 2005 - 09:55 PM Reply with quote Back to top
tried it and this is what I got

Quote:
ACPI: PCI interrupt 0000:02:0a.0[A] -> GSI 11 (level, low) -> IRQ 11
Freshmaker version: 73
Freshmaker passed register test
Module 0: Installed -- AUTO FXO (UK mode)
Module 1: Installed -- AUTO FXO (UK mode)
Module 2: Installed -- AUTO FXO (UK mode)
Module 3: Installed -- AUTO FXO (UK mode)
Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules)
Registered tone zone 4 (United Kingdom)
Registered tone zone 4 (United Kingdom)
ip_tables: (C) 2000-2002 Netfilter core team
ip_tables: (C) 2000-2002 Netfilter core team
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
i2c /dev entries driver


Looks like it did the trick, thanks
View user's profile Send private message
middletnOffline



Joined: Sep 12, 2005
Posts: 453
Location: Devon
Status: Offline
Posted: Sep 27, 2005 - 10:15 PM Reply with quote Back to top
Issue I have now is,

Call fixed line number, phone rings for a few times, then * picks it up and rings extension.

Issue 1. Why 3 rings before inbound call detected by *?

Issue 2. If I hang up after handover to *, extension keeps ringing until it goes into voicemail. In otherwords a hangup detection is not happening. Line is only put back on hook when voicemail silence period expires? I'm beginning to suspect these cards aren't really suitable for UK PSTN use.

rgds
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic
Goto page 1, 2, 3  Next

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.