miguel angel obando lancho
unread,Dec 10, 2010, 5:57:58 PM12/10/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to asterisk-es
Hola Amigos
Soy nuevo en esto de asterisk y DAHDI y se me han presentado unos
problemas para configurar mi tarjeta TDM400P para poder usarla con
asterisk, corri todos los comandos del dahdi para que me generara los
archivos de configuracion para asterisk y lo hizo, pero cuando hago
compruebo en asterisk si la configuracion esta correcta con este
comando, me responde esto
*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
no me da mas información todo en blanco. Para esto quiero separar dos
canales para usarlos como troncales con dos lineas analogicas como
entrada y salida y dos canales para usarlos con los puertos de voz de
mi router.
cat /proc/dahdi/*
Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
1 WCTDM/4/0 FXSKS RED(SWEC: MG2)
2 WCTDM/4/1 FXSKS RED(SWEC: MG2)
3 WCTDM/4/2 FXSKS RED(SWEC: MG2)
4 WCTDM/4/3 FXSKS RED(SWEC: MG2)
La configuracion de mi archivo dahdi-channels.conf
cat dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Fri Dec 10 17:30:39 2010
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is
intended
; to be #include-d by /etc/chan_dahdi.conf that will include the
global settings
;
; Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
;;; line="1 WCTDM/4/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid="501"
group=1
context=default
;;; line="2 WCTDM/4/1 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
callerid="502"
group=1
context=default
;;; line="3 WCTDM/4/2 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid="214544"
group=2
context=default
;;; line="4 WCTDM/4/3 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
callerid="214545"
group=2
context=default
el archivo chan_dahdi.conf tiene esto:
;spanmap => 1,1,1
;spanmap => 2,1,2
;spanmap => 3,1,3
;spanmap => 4,1,4
[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=no
echocancelwhenbridg ed=no
echotraining=no
group=1
callgroup=1
pickupgroup=1
callprogress=yes
progzone=us
tonezone = 0 ; 0 is US
jbenable = yes ; Enables the use of a jitterbuffer on the
[home-phones]
context=internal ; Uses the [internal] context in extensions.conf
signalling=auto ; fxo_ks Use FXO signalling for an FXS channel - as
;channel => 1 ; Telephone attached to port 1
;channel => 2 ; Telephone attached to port 2
;dahdichan => 1,2
[pstn]
context=incoming-pstn-line ; Incoming calls go to [incoming-pstn-line]
signalling=auto ; fxs_ks Use FXS signalling for an FXO channel - use
faxdetect=incoming
busydetect=yes
;channel => 4
;dahdichan => 4 ; PSTN attached to port 4
;Looks OK.
;
; Default language
;
ademas de otras cosas que estan comentadas.
que otra informacion adicional necesitarian para poder ayudarme.
gracias