Thomas Andrews
2004-Nov-14 02:19 UTC
[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. I've used this link to set up the ports: http://www.digium.com/index.php?menu=faq#Configuration_0 How do I debug this ? Is there supposed to be a log in /var/log/asterisk/event_log ? Regards, Thomas
Matt Riddell
2004-Nov-14 02:32 UTC
[Asterisk-Users] (newbie) no dialtone on a TDM400P card
> 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)
Thomas Andrews
2004-Nov-14 02:33 UTC
[Asterisk-Users] (newbie) no dialtone on a TDM400P card
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!
Thomas Andrews
2004-Nov-14 02:42 UTC
[Asterisk-Users] (newbie) no dialtone on a TDM400P card
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.
Soren Rathje
2004-Nov-14 03:46 UTC
[Asterisk-Users] (newbie) no dialtone on a TDM400P card
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
Thomas Andrews
2004-Nov-14 03:58 UTC
[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.conffxols=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
Cirelle Enterprises
2004-Nov-14 05:28 UTC
[Asterisk-Users] (newbie) no dialtone on a TDM400P card
----- Original Message ----- From: "Thomas Andrews" <tandrews@grok.co.za> To: "Asterisk" <asterisk-users@lists.digium.com> 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
Soren Rathje
2004-Nov-14 06:22 UTC
[Asterisk-Users] (newbie) no dialtone on a TDM400P card
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=usLooks fine allthough the comments are wrong :-)> >> /etc/asterisk/zapata.conf > > [trunkgroups] > [channels] > context=defaultRemove 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=internalcallerid="House Phone" <1234> # Change to match your settings..> signalling=fxo_lsYou may want to change Loop Start to Kewl Start (fxo_ks)> channel=>1 > context=incomingcallerid=asreceived> signalling=fxs_lsYou may want to change Loop Start to Kewl Start (fxs_ks)> channel=>2 >/Soren
Thomas Andrews
2004-Nov-14 06:56 UTC
[Asterisk-Users] (newbie) no dialtone on a TDM400P card
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
Soren Rathje
2004-Nov-14 07:01 UTC
[Asterisk-Users] (newbie) no dialtone on a TDM400P card
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
Cirelle Enterprises
2004-Nov-14 08:43 UTC
[Asterisk-Users] (newbie) no dialtone on a TDM400P card
----- Original Message ----- From: "Thomas Andrews" <tandrews@grok.co.za> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> 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
Soren Rathje
2004-Nov-14 09:42 UTC
[Asterisk-Users] (newbie) no dialtone on a TDM400P card
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