[Home]

Summary:ASTERISK-08872: Zaptel TDM400P. No Analog ports detected. Duplicate lines in zapata.conf and zaptel.conf
Reporter:Francois MALARD (fmalard)Labels:
Date Opened:2007-02-25 10:20:51.000-0600Date Closed:2007-06-20 13:36:07
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Using asterisk 1.4 on Fedora Core 6

With original versions asterisk-1.4.0.tar.gz , zaptel-1.4.0.tar.gz
asterisk-gui Revison ?

A) /etc/zaptel.conf
#
loadzone=fr
defaultzone=fr
#
fxoks=1
fxsks=4

B)
ztcfg -vvv
Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

C)
fc6*CLI> zap show channels
  Chan Extension  Context         Language   MOH Interpret
pseudo            default                    default
    1                                        default
    4                                        default
 
fc6*CLI> zap show status
Description                              Alarms     IRQ        bpviol     CRC4      
Wildcard TDM400P REV I Board 1           OK         0          0          0        

D) asterisk-gui    install.html
 Analog ports detected OK

E) [root@fc6 zaptel-2224]# ztcfg -vvv
Notice: Configuration file is /etc/zaptel.conf
line 9: Channel 1 already configured as 'FXO Kewlstart' at line 5
line 10: Channel 4 already configured as 'FXS Kewlstart' at line 6
2 error(s) detected

=> to solve this : I delete 2 duplicated lines in /etc/zaptel.conf
fxoks=1
fxsks=4

and delete 4 duplicated lines in /etc/asterisk/zapata.conf
signalling = fxo_ks
channel => 1
signalling = fxs_ks
channel => 4

no duplicate information in /etc/asterisk/zapscan.conf
[1]
port=fxo
[4]
port=fxs


And I could used analog phone on port 1
I didn't tryed port 4

-------------------------------------------------------------------
NOW with
Asterisk Revision 56611
asterisk-gui Revision 377
zaptel Revison 2210

A) ztcfg -vvv

Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

B)
fc6*CLI> zap show channels
  Chan Extension  Context         Language   MOH Interpret        Blocked    State    
pseudo            default                    default                         In Service

!!!!  => PORTS are MISSING

fc6*CLI> zap show status
Description                              Alarms     IRQ        bpviol     CRC4      
Wildcard TDM400P REV I Board 1           OK         0          0          0        

C) asterisk-gui
install.html
no analog ports detected
=> I canceled

D) asterisk-gui cfgadvanced.html
Add Service Provider  
Analog displays  
Lines:   Analog Port #4

Once  => asterisk segmentation error

Other test : accept

I need to delete 2 duplicated lines in /etc/zaptel.conf
fxoks=1
fxsks=4

and delete 4 duplicated lines in /etc/asterisk/zapata.conf
signalling = fxo_ks
channel => 1
signalling = fxs_ks
channel => 4

E)
fc6*CLI> zap show channels
  Chan Extension  Context         Language   MOH Interpret        Blocked    State    
pseudo            DID_trunk_1                default                         In Service
     1            default                    default                         In Service
     4            DID_trunk_2                default                         In Service

Thanks

Francois

Comments:By: Pari Nannapaneni (pari) 2007-03-13 20:58:40

There was a hardware detection problem introduced in commit 311
which was again fixed in commit 394.
http://lists.digium.com/pipermail/asterisk-gui-commits/2007-March/000378.html

As you mentioned your GUI version was 377,
most probably it was this bug that caused this problem.

Closing this issue as this has been fixed.
Please reopen if problem still exists.

thanks for supporting AsteriskNOW
- Pari

By: Pari Nannapaneni (pari) 2007-03-13 20:59:05

see above note

By: Francois MALARD (fmalard) 2007-04-17 04:41:25

A) I put in /etc/zaptel.conf
fxoks=1
fxsks=4

B) ztcfg -vvv
Zaptel Version: SVN-branch-1.4-r2423
Echo Canceller: MG2
Configuration
======================
Channel map:
Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

2 channels configured.

C) But channels don't appears !

fc6*CLI> zap show status
Description                              Alarms     IRQ        bpviol     CRC4      
Wildcard TDM400P REV I Board 1           OK         0          0          0        

fc6*CLI> zap show channels
  Chan Extension  Context         Language   MOH Interpret      
pseudo            default                    default            
fc6*CLI>

D)
http://127.0.0.1:8088/asterisk/static/config/setup/install.html

Step 1 of 7  - Verify Analog Ports
The following analog ports have been detected on your system
Analog(FXO) Port #4
Analog(FXS) Port #1

Step 3 of 7  - Service Providers
  x Analog   Lines  X Analog Port #4

E)
[root@fc6 asterisknow]# ztcfg -vvv
Notice: Configuration file is /etc/zaptel.conf
line 6: Channel 1 already configured as 'FXO Kewlstart' at line 1
line 7: Channel 4 already configured as 'FXS Kewlstart' at line 2
2 error(s) detected

/etc/zaptel.conf is modified !
fxoks=1
fxsks=4

fxoks=1
fxsks=4
----------------------------------
After correction and restart :

F) fc6*CLI> zap show channels
  Chan Extension  Context         Language   MOH Interpret      
pseudo            DID_trunk_1                default            
     1            default                    default            
     4            DID_trunk_1                default

G) Run Setup Wizard
 
  duplicates this 2 lines in zaptel.conf

------------------------------------------------------------------------
Asterisk SVN-branch-1.4-r61666
Asterisk GUI-version Revision: 661 $
Zaptel Version: SVN-branch-1.4-r2423

By: Jason Parker (jparker) 2007-05-11 15:18:56

There was some work done in this area if I remember correctly.  Would that have fixed this issue?

By: Brandon Kruse (bkruse) 2007-06-20 13:22:23

I believe so.

FMALARD was always using really old revisions. I say we go ahead and close
the bug and he can reopen or open a new one if needed.

It is just getting old...

Lower the bug count!

-bk

By: Jason Parker (jparker) 2007-06-20 13:36:06

Closing due to lack of response.  This has very likely already been fixed though.