Tarjeta X100P: Problema al detectar el corte de las llamadas entrantes

Tarjeta X100P: Problema al detectar el corte de las llamadas entrantes

Posted Febrero 13th, 2008 by manzurek

Hola a todos, mi consulta es si alguien a logrado configurar correctamente una tarjeta X100P, ya que he tratado con todas las configuraciones y ejemplos que hay en internet sin ningun resultado para poder resolver el problema al detectar el corte de una llamada entrante (es el unico error que le encontre a esta tarjeta, todo lo demas funciona perfectamente)

El Asterisk que tengo es la ultima versión de la 1.4, asi como el Zaptel, instalado en un SO Debian Etch

La tarjeta no muestra alarmas ni problemas (zttool y ztcfg -vv)

En el archivo zapata.conf he probado con las siguientes instrucciones:

busydetect=yes
busycount=6
; lo probe en el rango de valores 3 a 9
callprogress
; es indiferente si esta en yes o no
y elimine todos los faxdetect

Las instrucciones: answeronpolarityswitch y hanguponpolarityswitch, no sirven para estas tarjetas(X100P), solo para las TDM4XXP que si detectan los cambios de polaridad (aunque igual las probe)

Tambien agregue en el archivo indications.conf

[general]
country=pe ; anteriormente probando con us(EEUU) y fr(Francia)

[pe]
description = Peru
ringcadence = 500,500 ;1500,3000
dial = 425
busy = 425/500,0/500
ring = 425/1500,0/3000
congestion = 425/200,0/200,425/200,0/200,425/200,0/600
callwaiting = 425/175,0/175,425/175,0/3500
dialrecall = !425/200,!0/200,!425/200,!0/200,!425/200,!0/200,425
record = 1400/500,0/15000
info = 950/330,0/1000
dialout = 500

luego en el archivo zaptel.conf
loadzone = pe
defaultzone = pe

Y el resultado sigue siendo el mismo, demora 65seg en dejar de timbrar el telefono o desconectarse la linea zap

Agradecere cualquier ayuda al respecto

Saludos

Configuracion correcta para X100P

Comparto esta configuracion que me funciono muy bien con una X100P

zapata.conf
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[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

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=1.0
txgain=1.5
group=0
callgroup=1
pickupgroup=1
immediate=no
callprogress=yes
busydetect=yes
busycount=6
answeronpolarityswitch=no
hanguponpolarityswitch=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-channels.conf

group=1

;Include AMP configs

zapata-channels.conf
; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER) RED
;;; line="1 WCFXO/0/0 RED"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
context=default

Posted by manzurek on Vie, 2009-04-17 02:51
Para una TDM400P

Esta es una configuracion para una Digium TDM400P con 4 puertos FXO

zapata.conf
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[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

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
relaxdtmf=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=1.0
txgain=1.5
group=0
callgroup=1
pickupgroup=1
immediate=no
answeronpolarityswitch=yes
hanguponpolarityswitch=yes
;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-channels.conf

group=1

;Include AMP configs

zapata-channels.conf
; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)
;;; line="1 WCTDM/0/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 1
context=default

;;; line="2 WCTDM/0/1"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 2
context=default

;;; line="3 WCTDM/0/2"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 3
context=default

;;; line="4 WCTDM/0/3"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 4
context=default

Posted by manzurek on Vie, 2009-04-17 02:58