Re: [asterisk-users] TDM400P Dialtone problem

2008-04-11 Thread Faraz R. Khan
Did you provide power to the card? FXS extensions need power.

On Fri, 2008-04-11 at 08:11 +0300, Murithi Martin wrote:
 Hi Guys,
 I have a TDM400P (2FXS and 2FXO) installed on my asterisk (1.4.18.1)
 Zaptel (1.4.9.2) running on Fedora Core 7, below are my configurations
 and some diagnosis I did. The problem is when I connect an analogue
 phone on either of the FXS channels I don't get a dialtone, I can't
 call any of the sip clients or even call my echo test, number, which
 is an context included in that of the FXS port.
 How can I solve this problem? Please assist.
 
 After doing a /sbin/ztcfg -vv, after listing the zaptel channels
 configuration it says 4 channels to configure instead of 4 channels
 configured. is there any additional configuration or dependency I need
 to load (I've done modprobe wctdm and modprobe zaptel before doing
 /sbin/ztcfg -vv).
 
 
 zaptel.conf
 # Span 1: WCTDM/0 Wildcard TDM400P REV I Board 1 (MASTER)
 fxoks=1
 fxoks=2
 fxsks=3
 fxsks=4
 
 # Global data
 
 loadzone = us
 defaultzone = us
 
 
 zapata.conf
 [trunkgroups]
 ; define any trunk groups
 
 [channels]
 ; hardware channels
 
 ;language=en
 ;context=from-zaptel
 ;signalling=fxs_ks
 ;rxwink=300 ; Atlas seems to use long (250ms) winks
 ;
 ; Whether or not to do distinctive ring detection on FXO lines
 ;
 usedistinctiveringdetection=yes
 ; default
 usecallerid=yes
 hidecallerid=no
 callwaiting=no
 usecallingpres=yes
 callwaitingcallerid=yes
 threewaycalling=yes
 transfer=yes
 cancallforward=yes
 callreturn=yes
 echocancel=yes
 echocancelwhenbridged=no
 ;echotraining=800
 echotraining=yes
 rxgain=0.0
 txgain=0.0
 
 ;group=0
 callgroup=1
 pickupgroup=1
 immediate=no
 context=phone
 signalling=fxo_ks
 channel = 1
 ;callerid=
 ;mailbox=
 ;group=
 context=phone
 
 ;;; line=2 WCTDM/0/1 FXOKS (In use)
 signalling=fxo_ks
 ;context=phone
 channel = 2
 ;callerid=
 ;mailbox=
 ;group=
 context=incoming
 
 ;;; line=3 WCTDM/0/2 FXSKS (In use)
 signalling=fxs_ks
 ;callerid=asreceived
 ;group=0
 channel = 3
 context=incoming
 
 ;;; line=4 WCTDM/0/3 FXSKS (In use)
 signalling=fxs_ks
 ;callerid=asreceived
 ;group=0
 ;context=incoming
 channel = 4
 ;context=default
 
 
 
 [EMAIL PROTECTED] /]# /sbin/ztcfg -vv
 
 Zaptel Version: 1.4.9.2
 Echo Canceller: MG2
 Configuration
 ==
 
 
 Channel map:
 
 Channel 01: FXO Kewlstart (Default) (Slaves: 01)
 Channel 02: FXO Kewlstart (Default) (Slaves: 02)
 Channel 03: FXS Kewlstart (Default) (Slaves: 03)
 Channel 04: FXS Kewlstart (Default) (Slaves: 04)
 
 4 channels to configure.
 
 
 
 
 Asterisk CLI
 core score show channeltypes
 Type Description Devicestate Indications Transfer
 -- --- --- --- 
 Feature Feature Proxy Channel Driver no yes no
 IAX2 Inter Asterisk eXchange Driver (Ver 2) yes yes yes
 Local Local Proxy Channel Driver yes yes no
 SIP Session Initiation Protocol (SIP) yes yes yes
 Phone Standard Linux Telephony API Driver no yes no
 MGCP Media Gateway Control Protocol (MGCP) yes yes no
 Agent Call Agent Proxy Channel yes yes no
 --
 7 channel drivers registered.
 
 *CLI module reload chan_zap.so
 No such module 'chan_zap.so'
 
 *CLI
-- 
Faraz R Khan
Chief Architect
Emergen Consulting Pvt Ltd
+92.21.111.111.320 x200
www.emergen.biz


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] TDM400P Dialtone problem

2008-04-10 Thread Murithi Martin
Hi Guys,
I have a TDM400P (2FXS and 2FXO) installed on my asterisk (1.4.18.1)
Zaptel (1.4.9.2) running on Fedora Core 7, below are my configurations
and some diagnosis I did. The problem is when I connect an analogue
phone on either of the FXS channels I don't get a dialtone, I can't
call any of the sip clients or even call my echo test, number, which
is an context included in that of the FXS port.
How can I solve this problem? Please assist.

After doing a /sbin/ztcfg -vv, after listing the zaptel channels
configuration it says 4 channels to configure instead of 4 channels
configured. is there any additional configuration or dependency I need
to load (I've done modprobe wctdm and modprobe zaptel before doing
/sbin/ztcfg -vv).


zaptel.conf
# Span 1: WCTDM/0 Wildcard TDM400P REV I Board 1 (MASTER)
fxoks=1
fxoks=2
fxsks=3
fxsks=4

# Global data

loadzone = us
defaultzone = us


zapata.conf
[trunkgroups]
; define any trunk groups

[channels]
; hardware channels

;language=en
;context=from-zaptel
;signalling=fxs_ks
;rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
usedistinctiveringdetection=yes
; default
usecallerid=yes
hidecallerid=no
callwaiting=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
echotraining=yes
rxgain=0.0
txgain=0.0

;group=0
callgroup=1
pickupgroup=1
immediate=no
context=phone
signalling=fxo_ks
channel = 1
;callerid=
;mailbox=
;group=
context=phone

;;; line=2 WCTDM/0/1 FXOKS (In use)
signalling=fxo_ks
;context=phone
channel = 2
;callerid=
;mailbox=
;group=
context=incoming

;;; line=3 WCTDM/0/2 FXSKS (In use)
signalling=fxs_ks
;callerid=asreceived
;group=0
channel = 3
context=incoming

;;; line=4 WCTDM/0/3 FXSKS (In use)
signalling=fxs_ks
;callerid=asreceived
;group=0
;context=incoming
channel = 4
;context=default



[EMAIL PROTECTED] /]# /sbin/ztcfg -vv

Zaptel Version: 1.4.9.2
Echo Canceller: MG2
Configuration
==


Channel map:

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

4 channels to configure.




Asterisk CLI
core score show channeltypes
Type Description Devicestate Indications Transfer
-- --- --- --- 
Feature Feature Proxy Channel Driver no yes no
IAX2 Inter Asterisk eXchange Driver (Ver 2) yes yes yes
Local Local Proxy Channel Driver yes yes no
SIP Session Initiation Protocol (SIP) yes yes yes
Phone Standard Linux Telephony API Driver no yes no
MGCP Media Gateway Control Protocol (MGCP) yes yes no
Agent Call Agent Proxy Channel yes yes no
--
7 channel drivers registered.

*CLI module reload chan_zap.so
No such module 'chan_zap.so'

*CLI
-- 
Murithi Martin

NOTICE: The contents of this e-mail and any accompanying
documentation is confidential and any use thereof, in whatever form,
by anyone other than the addressee for whom it is intended is strictly
prohibited.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users