[Asterisk-Users] TDM400P + FXO module = PSTN woes
Paul Hewlett
paul at cottonpickinminds.co.za
Mon Nov 14 02:34:57 MST 2005
Jacques
On Sunday 13 November 20O05 23:45, Jacques Beyers wrote:
> Hi everyone,
>
> >> wctdm may need a different country identification in order to properly
> >> interface to your telephone network? (opermode kernel module parameter,
>
No - wcfxs works with the default FCC setting in SA
> and
>
> >> also 'loadzone' in zaptel.conf.)
>
> I have tried adding in the opermode, but I think I did something wrong.
> Here is a copy of my unmodified /etc/modprobe.conf file.
>
Try
options wcfxs opermode=SOUTHAFRICA fxshonormode=1
in /etc/modprobe.conf
> [root at voip ~]# cat /etc/modprobe.conf
> alias eth0 r8169
> install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 &&
> /usr/sbin/alsactl restore >/dev/null 2>&1 || :
> alias usb-controller ehci-hcd
> alias usb-controller1 ohci-hcd
> options torisa base=0xd0000
>
> alias char-major-196 torisa
> install tor2 /sbin/modprobe --ignore-install tor2 && /sbin/ztcfg
> install torisa /sbin/modprobe --ignore-install torisa && /sbin/ztcfg
> install wcusb /sbin/modprobe --ignore-install wcusb && /sbin/ztcfg
> install wcfxo /sbin/modprobe --ignore-install wcfxo && /sbin/ztcfg
> install wcfxs /sbin/modprobe --ignore-install wcfxs && /sbin/ztcfg
> install ztdynamic /sbin/modprobe --ignore-install ztdynamic && /sbin/ztcfg
> install ztd-eth /sbin/modprobe --ignore-install ztd-eth && /sbin/ztcfg
> install wct1xxp /sbin/modprobe --ignore-install wct1xxp && /sbin/ztcfg
> install wct4xxp /sbin/modprobe --ignore-install wct4xxp && /sbin/ztcfg
> install wcte11xp /sbin/modprobe --ignore-install wcte11xp && /sbin/ztcfg
> alias wctdm wcfxs
> alias wct2xxp wct4xxp
> alias eth3 hisax
> [root at voip ~]#
> Where do I make the changes, and how should they look?
>
The problem is that with 2 different types of card in the system,
modprobing each one causes ztcfg to be run twice - this is a no-no.
Add an entry to /etc/modprobe.conf for zaphfc like so
install zaphfc /sbin/modprobe --ignore-install zaphfc && /sbin/ztcfg -vv
and then a further entry for the combination like so( all on 1 line)
install zaphfctdm /sbin/modprobe --ignore-install zaphfc && /sbin/modprobe
wctdm
and a line to remove the modules
remove zaphfctdm /sbin/modprobe -r wcfxs && /sbin/modprobe -r zaphfc
Test this by typing
modprobe -v zaphfctdm
and
modprobe -r -v zaphfctdm
PAul
--
Paul Hewlett - CottonPickinMinds - www.cottonpickinminds.co.za
Tel: +27 21 852 8812 Cel: +27 84 420 9282 Fax: +27 86 672 0563
--
More information about the asterisk-users
mailing list