Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Soren Rathje
Thomas Andrews wrote:
 On Sun, Nov 14, 2004 at 11:46:15AM +0100, Soren Rathje wrote:

 Can you post your actual configuration ?

 /etc/zaptel.conf

 fxols=1 #S100U
 fxsls=2 #X100P
 loadzone = us
 defaultzone=us

Looks fine allthough the comments are wrong :-)


 /etc/asterisk/zapata.conf

 [trunkgroups]
 [channels]
 context=default

Remove the next two lines, switchtype is related to ISDN circuits and the
signalling you specify later in the file.

 switchtype=national
 signalling=fxo_ls


 rxwink=300
 usecallerid=yes

; Type of caller ID signalling in use
; bell = bell202 as used in US, v23 = v23 as used in the UK, dtmf = DTMF as
used in Denmark, Sweden and Netherlands
;
cidsignalling=bell
;
; What signals the start of caller ID
; ring = a ring signals the start, polarity = polarity reversal signals the
start
;
cidstart=ring

 hidecallerid=no
 callwaiting=yes
 usecallingpres=yes
 callwaitingcallerid=yes
 threewaycalling=yes
 transfer=yes
 cancallforward=yes
 callreturn=yes
 echocancel=yes
 echocancelwhenbridged=yes
 rxgain=0.0
 txgain=0.0
 group=1
 callgroup=1
 pickupgroup=1
 immediate=no
 context=internal

callerid=House Phone 1234 # Change to match your settings..

 signalling=fxo_ls

You may want to change Loop Start to Kewl Start (fxo_ks)

 channel=1
 context=incoming

callerid=asreceived

 signalling=fxs_ls


You may want to change Loop Start to Kewl Start (fxs_ks)

 channel=2


/Soren

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Soren Rathje
Thomas Andrews wrote:
 Hi Cirelle,
 
 On Sun, Nov 14, 2004 at 07:28:56AM -0500, Cirelle Enterprises wrote:
 
 you might have to power the box down - no power for
 the modules to load  (appears to be common for this card)
 if that is the case, do a search on tdm in the email archive
 as there is a fix for the reboot problem
 
 I'm afraid I don't understand this sentence. I did power the machine
 down to make sure that the power was indeed plugged in. Are you saying
 there's a startup problem with these cards.
 
 module 1 (closest to the top of the bracket (furthest from the pci
 connector) is for the phone line
 module 2 is for the handset
 
 I don't agree, but perhaps I'm wrong. The green module (fxs) is
 number 1 and the red module (fxo) is number 2. As I understand it you
 plug the handset into the green one (fxs). Not so ?
 

Green is phone  Red is line if we're using modem terminology.. :-)

/Soren

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
On Sun, Nov 14, 2004 at 02:22:18PM +0100, Soren Rathje wrote:

  /etc/zaptel.conf
 
  fxols=1 #S100U
  fxsls=2 #X100P
  loadzone = us
  defaultzone=us
 
 Looks fine allthough the comments are wrong :-)

Thanks Soren. I made all the changes you suggested, but do I have to
change the above to ...

fxoks=1
fxsks=2

... if I changed to kewel-start in zapata.conf ?

I assumed so, and went ahead and did so. Still no dial-tone though.

Thanks,
Thomas
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Soren Rathje
Thomas Andrews wrote:
 On Sun, Nov 14, 2004 at 02:22:18PM +0100, Soren Rathje wrote:
 
 /etc/zaptel.conf
 
 fxols=1 #S100U
 fxsls=2 #X100P
 loadzone = us
 defaultzone=us
 
 Looks fine allthough the comments are wrong :-)
 
 Thanks Soren. I made all the changes you suggested, but do I have to
 change the above to ...
 
 fxoks=1
 fxsks=2
 
 ... if I changed to kewel-start in zapata.conf ?

My fault, you should change it in both files.

 
 I assumed so, and went ahead and did so. Still no dial-tone though.
 

Hmm.. Does Asterisk load chan_zap ?

/Soren

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
On Sun, Nov 14, 2004 at 03:01:28PM +0100, Soren Rathje wrote:

 Hmm.. Does Asterisk load chan_zap ?

I believe so:

 [chan_zap.so] = (Zapata Telephony)
  == Parsing '/etc/asterisk/zapata.conf': Found
-- Registered channel 1, FXO Kewlstart signalling
-- Registered channel 2, FXS Kewlstart signalling
-- Automatically generated pseudo channel
  == Registered channel type 'Zap' (Zapata Telephony Driver)
  == Registered application 'CallingPres'
  == Manager registered action ZapTransfer
  == Manager registered action ZapHangup
  == Manager registered action ZapDialOffhook
  == Manager registered action ZapDNDon
  == Manager registered action ZapDNDoff
  == Manager registered action ZapShowChannels

Thanks again!
Thomas
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Soren Rathje
Thomas Andrews wrote:
 On Sun, Nov 14, 2004 at 03:01:28PM +0100, Soren Rathje wrote:

 Hmm.. Does Asterisk load chan_zap ?

 I believe so:

  [chan_zap.so] = (Zapata Telephony)
   == Parsing '/etc/asterisk/zapata.conf': Found
 -- Registered channel 1, FXO Kewlstart signalling
 -- Registered channel 2, FXS Kewlstart signalling
 -- Automatically generated pseudo channel
   == Registered channel type 'Zap' (Zapata Telephony Driver)
   == Registered application 'CallingPres'
   == Manager registered action ZapTransfer
   == Manager registered action ZapHangup
   == Manager registered action ZapDialOffhook
   == Manager registered action ZapDNDon
   == Manager registered action ZapDNDoff
   == Manager registered action ZapShowChannels


Hang on... What line pair do you use on the phone; 1+4 or 2+3 ??  I believe
the correct pair to use should be 2+3.

/Soren

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
On Sun, Nov 14, 2004 at 03:16:13PM +0100, Soren Rathje wrote:

 Hang on... What line pair do you use on the phone; 1+4 or 2+3 ??  I believe
 the correct pair to use should be 2+3.

It's the middle pair. I assume that's 2+3 on an RJ connector ?
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Soren Rathje
Thomas Andrews wrote:
 On Sun, Nov 14, 2004 at 03:16:13PM +0100, Soren Rathje wrote:

 Hang on... What line pair do you use on the phone; 1+4 or 2+3 ??  I
 believe the correct pair to use should be 2+3.

 It's the middle pair. I assume that's 2+3 on an RJ connector ?

Correct..

Just for verification, do you have any green led's lit on the back of your
card ??

/Soren

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
I think I know what the problem is. I think that asterisk cannot
generate dialtone because it had a problem with the soundcard.

[chan_oss.so] = (OSS Console Channel Driver)
Nov 14 16:35:49 WARNING[2078]: chan_oss.c:994 load_module: XXX I don't work 
right with non-full duplex sound cards XXX
  == Registered channel type 'Console' (OSS Console Channel Driver)
  == Parsing '/etc/asterisk/oss.conf': Found
Nov 14 16:35:49 WARNING[2091]: chan_oss.c:240 sound_thread: Read error on sound 
device: Resource temporarily unavailable


I had to put this in modules.conf to get rid of the error:
noload = chan_oss.so

So I assume now that it's not capable of making dialtone ?

Regards,
Thomas
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
On Sun, Nov 14, 2004 at 03:35:06PM +0100, Soren Rathje wrote:

 Just for verification, do you have any green led's lit on the back of your
 card ??

Yes, and I have tested with a different telephone and cable that I know
works.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Dave Cotton
On Sun, 2004-11-14 at 15:16 +0100, Soren Rathje wrote:

 Hang on... What line pair do you use on the phone; 1+4 or 2+3 ??  I believe
 the correct pair to use should be 2+3.

Just an idea because I'm also trying to get an old (pre power
connection) TDM400 working, and have no dial tone.

Try cat /proc/interrupts a number of times, do the interrupts on wctdm
show an increase?

Can you dial the extension from another? Watch out mine rings on the
rack but nothing from the phone then if I try again it locks completely
and requires a complete power reset.

-- 
Dave Cotton [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
Hi Dave,

On Sun, Nov 14, 2004 at 03:38:27PM +0100, Dave Cotton wrote:

 Try cat /proc/interrupts a number of times, do the interrupts on wctdm
 show an increase?

They do! What also bothers me is that the interrupt is shared:
 16661397   IO-APIC-level  ohci1394, wctdm

I have no idea what ohci1394 is. I don't have any infra-red devices
connected, but I assume this (Intel) motherboard has support, hence this
driver ??

 Can you dial the extension from another? Watch out mine rings on the
 rack but nothing from the phone then if I try again it locks completely
 and requires a complete power reset.

Sorry to be so dumb, but how would I do that ? I only have one FXS
module. Or is it possible to simulate a call from the *CLI console ?

Thanks,
Thomas
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Dave Cotton
On Sun, 2004-11-14 at 16:52 +0200, Thomas Andrews wrote:

 They do! What also bothers me is that the interrupt is shared:
  16661397   IO-APIC-level  ohci1394, wctdm
 
 I have no idea what ohci1394 is. I don't have any infra-red devices
 connected, but I assume this (Intel) motherboard has support, hence this
 driver ??

Firewire, either disable it from the BIOS or move your cards around,
Digium cards do not like shared interrupts.


  Can you dial the extension from another? Watch out mine rings on the
  rack but nothing from the phone then if I try again it locks completely
  and requires a complete power reset.
 
 Sorry to be so dumb, but how would I do that ? I only have one FXS
 module. Or is it possible to simulate a call from the *CLI console ?

Yes, but from your earlier post you cast doubt on the sound card.
Can't you use a softphone from another machine?


-- 
Dave Cotton [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Soren Rathje
Thomas Andrews wrote:
 I think I know what the problem is. I think that asterisk cannot
 generate dialtone because it had a problem with the soundcard.

 [chan_oss.so] = (OSS Console Channel Driver)
 Nov 14 16:35:49 WARNING[2078]: chan_oss.c:994 load_module: XXX I
   don't work right with non-full duplex sound cards XXX == Registered
   channel type 'Console' (OSS Console Channel Driver) == Parsing
 '/etc/asterisk/oss.conf': Found
 Nov 14 16:35:49 WARNING[2091]: chan_oss.c:240 sound_thread: Read
 error on sound device: Resource temporarily unavailable


 I had to put this in modules.conf to get rid of the error:
 noload = chan_oss.so

 So I assume now that it's not capable of making dialtone ?


I have noload'ed both chan_oss and chan_alsa and I still get a dialtone.

OK, Excercise 1;

Stop Asterisk, Stop Zaptel.

(I'm using FC1 so do the equivalent for Debian)
modprobe zaptel debug=1
insmod wctdm debug=1
/sbin/ztcfg

Now you can tail -f /var/log/messages and see hookstate. Already at this
point I get a dialtone on my FXS port.

/Soren

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
On Sun, Nov 14, 2004 at 04:06:37PM +0100, Soren Rathje wrote:

 modprobe zaptel debug=1

 kernel: Zapata Telephony Interface Registered on major 196

 insmod wctdm debug=1

 kernel: Setting FXS hook state to 0 (00)
 last message repeated 3 times
 kernel: Registered Span 1 ('WCTDM/0') with 4 channels
 kernel: Span ('WCTDM/0') is new master
 kernel: Freshmaker version: 71
 kernel: Freshmaker passed register test
 kernel: ProSLIC on module 0, product 0, version 5
 kernel: ProSLIC on module 0 seems sane.
 kernel: ProSLIC on module 0 powered up to -72 volts (c2) in 20 ms
 kernel: Loop current set to 20mA!
 kernel: Post-leakage voltage: 25 volts
 kernel: ProSLIC on module 0 powered up to -72 volts (c0) in 10 ms
 kernel: Loop current set to 20mA!
 kernel: Calibration Vector Regs 98 - 107: 
 kernel: 98: 10
 kernel: 99: 11
 kernel: 100: 11
 kernel: 101: 0f
 kernel: 102: 07
 kernel: 103: 64
 kernel: 104: 09
 kernel: 105: d7
 kernel: 106: 07
 kernel: 107: 08
 kernel: Init Indirect Registers completed successfully.
 kernel: Proslic module 0 loop current is 20mA
 kernel: Module 0: Installed -- AUTO FXS/DPO
 kernel: ProSLIC on module 1, product 0, version 0
 kernel: VoiceDAA System: 04
 kernel: ISO-Cap is now up, line side: 03 rev 03
 kernel: Module 1: Installed -- AUTO FXO (FCC mode)
 kernel: ProSLIC on module 2, product 0, version 0
 kernel: Module 2: Not installed
 kernel: ProSLIC on module 3, product 0, version 0
 kernel: Module 3: Not installed
 kernel: Found a Wildcard TDM: Wildcard TDM400P REV E/F (4 modules)
 kernel: NO BATTERY on 1/2!

 /sbin/ztcfg

 kernel: Setting FXS hook state to 0 (00)
 kernel: Registered tone zone 0 (United States / North America)
 kernel: Power alarm on module 1, resetting!
 last message repeated 9 times

 asterisk -vvvgc

 kernel: Setting FXS hook state to 0 (00)
 kernel: Setting FXS hook state to 0 (00)

I don't like the look of that NO BATTERY message. What do you think
Soren ?

-Thomas
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Soren Rathje
Thomas Andrews wrote:

  kernel: NO BATTERY on 1/2!

 I don't like the look of that NO BATTERY message. What do you think
 Soren ?

NO BATTERY applies to FXO ports and says that Span 1/Card 2 does not
receive power from the line, i.e. it is not plugged into the wall socket.
(if I read the source correctly)

BTW. Does the hookstate change change is you lift the handset ??

/Soren

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Cirelle Enterprises

- Original Message - 
From: Thomas Andrews [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
[EMAIL PROTECTED]
Sent: Sunday, November 14, 2004 5:58 AM
Subject: Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card


| On Sun, Nov 14, 2004 at 11:46:15AM +0100, Soren Rathje wrote:
| 
|  Can you post your actual configuration ?
|  
|  /etc/zaptel.conf
snip| 
|  /etc/asterisk/zapata.conf
| 
| [trunkgroups]
snip
| echocancel=yes
| echocancelwhenbridged=yes
| rxgain=0.0
| txgain=0.0
| group=1
| callgroup=1
| pickupgroup=1
| immediate=no   

snip

try changing the immediate parameter in your Zapata.conf
to 

immediate=dialtone

greg

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
On Sun, Nov 14, 2004 at 04:36:21PM +0100, Soren Rathje wrote:

 NO BATTERY applies to FXO ports and says that Span 1/Card 2 does not
 receive power from the line, i.e. it is not plugged into the wall socket.
 (if I read the source correctly)

ok. I connected it to the PABX and I got this so I assume that ports ok

Nov 14 17:49:30 zorg kernel: 63761 Polarity reversed (0 - -1)
Nov 14 17:49:30 zorg kernel: BATTERY on 1/2 (-)!


 BTW. Does the hookstate change change is you lift the handset ??

In /var/log/messages ?
nothing happens as far as I can see.


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
Hi Dave,

On Sun, Nov 14, 2004 at 04:05:04PM +0100, Dave Cotton wrote:

 Firewire, either disable it from the BIOS or move your cards around,
 Digium cards do not like shared interrupts.

Yes firewire :) I couldn't disable it in the BIOS, so I took your advice
and swapped cards. Now it's not shared:

 22:1043486   IO-APIC-level  wctdm

The interrupt count is still steadily increasing. (and asterisk isn't
running at the moment.)

 Yes, but from your earlier post you cast doubt on the sound card.
 Can't you use a softphone from another machine?

If there is something I can install on either linux or windows I'm happy
to try. What would you suggest as the easiest softpone to install ?

Thanks,
Thomas
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Soren Rathje
Thomas Andrews wrote:
 On Sun, Nov 14, 2004 at 04:36:21PM +0100, Soren Rathje wrote:

 NO BATTERY applies to FXO ports and says that Span 1/Card 2 does
 not receive power from the line, i.e. it is not plugged into the
 wall socket. (if I read the source correctly)

 ok. I connected it to the PABX and I got this so I assume that ports
 ok

 Nov 14 17:49:30 zorg kernel: 63761 Polarity reversed (0 - -1)
 Nov 14 17:49:30 zorg kernel: BATTERY on 1/2 (-)!


 BTW. Does the hookstate change change is you lift the handset ??

 In /var/log/messages ?
 nothing happens as far as I can see.


May I suggest you call the nearest medicine man and have him drive out the
gremlin...

Or, look for contact problems in the sockets/connectors, you may have a
faulty FXS module since the FXO module and the base card seems to function
as expected.

/Soren

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
On Sun, Nov 14, 2004 at 05:42:36PM +0100, Soren Rathje wrote:

 May I suggest you call the nearest medicine man and have him drive out the
 gremlin...

Local tradition dictates that I slaughter the whitest goat :)

 Or, look for contact problems in the sockets/connectors, you may have a
 faulty FXS module since the FXO module and the base card seems to function
 as expected.

I agree. I looped the fxo back to the fxs to see if battery voltage was
being supplied by the fxs: it looks fine because /var/log/messages shows
the change of battery state when I (un)plug it, so at least the
connectors are ok.

I'm going to get hold of the supplier and see if he can test the module
for me.

Thanks so much for your help Soren. I have *really* appreciated it!

Regards,
Thomas
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
On Sun, Nov 14, 2004 at 11:19:26AM +0200, Thomas Andrews wrote:

 I hear no dialtone on the telephone plugged into the TDM400 card.

Here's the relevant output from dmesg:

Zapata Telephony Interface Registered on major 196
Freshmaker version: 71
Freshmaker passed register test
Module 0: Installed -- AUTO FXS/DPO
Module 1: Installed -- AUTO FXO (FCC mode)
Module 2: Not installed
Module 3: Not installed
Found a Wildcard TDM: Wildcard TDM400P REV E/F (4 modules)
Registered tone zone 0 (United States / North America)
Power alarm on module 1, resetting!
Power alarm on module 1, resetting!
Power alarm on module 1, resetting!
Power alarm on module 1, resetting!
Power alarm on module 1, resetting!
Power alarm on module 1, resetting!
Power alarm on module 1, resetting!
Power alarm on module 1, resetting!
Power alarm on module 1, resetting!
Power alarm on module 1, resetting!


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Matt Riddell
Power alarm on module 1, resetting!
Have you plugged the power into the TDM400P?
--
Cheers,
Matt Riddell
___
http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
On Sun, Nov 14, 2004 at 10:32:40PM +1300, Matt Riddell wrote:

 Power alarm on module 1, resetting!
 
 Have you plugged the power into the TDM400P?

I have yes.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
On Sun, Nov 14, 2004 at 10:32:40PM +1300, Matt Riddell wrote:

 Power alarm on module 1, resetting!
 
 Have you plugged the power into the TDM400P?

The wierd thing is that asterisk refuses to start *until* I've had those
Power alarm error messages. Until then I get these errors:

= (Zapata Telephony)
   Parsing '/etc/asterisk/zapata.conf': Found
Nov 14 12:13:56 WARNING[1490]: chan_zap.c:774 zt_open: Unable to specify 
channel 1: No such device or address
Nov 14 12:13:56 ERROR[1490]: chan_zap.c:6247 mkintf: Unable to open channel 1: 
No such device or address here = 0, tmp-channel = 1, channel = 1
Nov 14 12:13:56 ERROR[1490]: chan_zap.c:9202 setup_zap: Unable to register 
channel '1'
Nov 14 12:13:56 WARNING[1490]: loader.c:385 ast_load_resource: chan_zap.so: 
load_module failed, returning -1
  Unregistered channel type 'Zap'
Nov 14 12:13:56 WARNING[1490]: loader.c:480 load_modules: Loading module 
chan_zap.so failed!


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Rich Adamson
  Power alarm on module 1, resetting!
  
  Have you plugged the power into the TDM400P?
 
 The wierd thing is that asterisk refuses to start *until* I've had those
 Power alarm error messages. Until then I get these errors:
 
 = (Zapata Telephony)
Parsing '/etc/asterisk/zapata.conf': Found
 Nov 14 12:13:56 WARNING[1490]: chan_zap.c:774 zt_open: Unable to specify 
 channel 1: No 
such device or address
 Nov 14 12:13:56 ERROR[1490]: chan_zap.c:6247 mkintf: Unable to open channel 
 1: No such 
device or address here = 0, tmp-channel = 1, channel = 1
 Nov 14 12:13:56 ERROR[1490]: chan_zap.c:9202 setup_zap: Unable to register 
 channel '1'
 Nov 14 12:13:56 WARNING[1490]: loader.c:385 ast_load_resource: chan_zap.so: 
 load_module 
failed, returning -1
   Unregistered channel type 'Zap'
 Nov 14 12:13:56 WARNING[1490]: loader.c:480 load_modules: Loading module 
 chan_zap.so 
failed!

Try these steps if you haven't already:
1. in the /usr/src/zaptel directory, do a 'make config'
2. execute a 'modprobe wctdm'
3. execute a 'ztcfg -vvv'
3. execute 'service zaptel stop' followed by 'service zaptel start'
4. start asterisk

Any difference?



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Soren Rathje
Thomas Andrews wrote:
 I've never set up asterisk before.
 
 I hear no dialtone on the telephone plugged into the TDM400 card.
 
 This is what ztcfg -vv gives me:
 
 Zaptel Configuration
 ==
 
 Channel map:
 
 Channel 01: FXO Loopstart (Default) (Slaves: 01)
 Channel 02: FXS Loopstart (Default) (Slaves: 02)
 
 2 channels configured.
 
 I've used this link to set up the ports:
 http://www.digium.com/index.php?menu=faq#Configuration_0
 

Can you post your actual configuration ?

/etc/zaptel.conf
/etc/asterisk/zapata.conf

/Soren

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
Hi Rich,

On Sun, Nov 14, 2004 at 04:27:44AM -0600, Rich Adamson wrote:

 1. in the /usr/src/zaptel directory, do a 'make config'

Sorry, I didn't mention that I'm running debian, so that init.d script will
need tweaking. I'll look at it to see if it's doing anything that I'm
not.

 2. execute a 'modprobe wctdm'

I already have the zaptel and wctdm modules loaded. I assume that's
enough ?

 3. execute a 'ztcfg -vvv'

I posted the results to that in my first mail. But I'm assuming that
you're thinking that the init.d script may have changed something ?

 3. execute 'service zaptel stop' followed by 'service zaptel start'

You must be running Red Hat. On debian that's invoke-rc.d zaptel restart ...

 4. start asterisk
 Any difference?

The wierd thing is that after an arbitrary amount of time, asterisk
*does* start. I have linked this with the Power alarms. It won't start
before I get them, and it always does afterwards 

Thanks for the help!
Thomas
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
On Sun, Nov 14, 2004 at 11:46:15AM +0100, Soren Rathje wrote:

 Can you post your actual configuration ?
 
 /etc/zaptel.conf

fxols=1 #S100U
fxsls=2 #X100P
loadzone = us
defaultzone=us

 /etc/asterisk/zapata.conf

[trunkgroups]
[channels]
context=default
switchtype=national
signalling=fxo_ls
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
context=internal
signalling=fxo_ls
channel=1
context=incoming
signalling=fxs_ls
channel=2

Regards,
Thomas
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Cirelle Enterprises

- Original Message - 
From: Thomas Andrews [EMAIL PROTECTED]
To: Asterisk [EMAIL PROTECTED]
Sent: Sunday, November 14, 2004 4:19 AM
Subject: [Asterisk-Users] (newbie) no dialtone on a TDM400P card


| I've never set up asterisk before.
| 
| I hear no dialtone on the telephone plugged into the TDM400 card.
| 
| This is what ztcfg -vv gives me:
| 
| Zaptel Configuration
| ==
| 
| Channel map:
| 
| Channel 01: FXO Loopstart (Default) (Slaves: 01)
| Channel 02: FXS Loopstart (Default) (Slaves: 02)
| 
| 2 channels configured.
| 
Here's the relevant output from dmesg:

Zapata Telephony Interface Registered on major 196
Freshmaker version: 71
Freshmaker passed register test
Module 0: Installed -- AUTO FXS/DPO
Module 1: Installed -- AUTO FXO (FCC mode)
Module 2: Not installed
Module 3: Not installed
Found a Wildcard TDM: Wildcard TDM400P REV E/F (4 modules)
Registered tone zone 0 (United States / North America)
Power alarm on module 1, resetting!
Power alarm on module 1, resetting!


you might have to power the box down - no power for
the modules to load  (appears to be common for this card)
if that is the case, do a search on tdm in the email archive
as there is a fix for the reboot problem

make sure you plugged the phone line into the correct module

module 1 (closest to the top of the bracket (furthest from the pci connector)
is for the phone line
module 2 is for the handset
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] (newbie) no dialtone on a TDM400P card

2004-11-14 Thread Thomas Andrews
Hi Cirelle,

On Sun, Nov 14, 2004 at 07:28:56AM -0500, Cirelle Enterprises wrote:

 you might have to power the box down - no power for
 the modules to load  (appears to be common for this card)
 if that is the case, do a search on tdm in the email archive
 as there is a fix for the reboot problem

I'm afraid I don't understand this sentence. I did power the machine
down to make sure that the power was indeed plugged in. Are you saying
there's a startup problem with these cards.

 module 1 (closest to the top of the bracket (furthest from the pci connector)
 is for the phone line
 module 2 is for the handset

I don't agree, but perhaps I'm wrong. The green module (fxs) is number 1
and the red module (fxo) is number 2. As I understand it you plug the
handset into the green one (fxs). Not so ?

Thanks for the help.
Thomas
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users