• Goltratec Blog

  • Configurar tarjeta FXO WILDCARD X100P con Asterisk FREEPBX

28th April 2007

Configurar tarjeta FXO WILDCARD X100P con Asterisk FREEPBX

posted in Linux |

Breve Explicación:
La tarjetas x101p y x100p, son tarjetas compatibles con el sistema Asterisk, las cuales te permiten implementar de manera muy economica, un sistema de PBX tradiconal para su hogar u oficina que incluye caracteristicas como:

Multiples troncales y extensiones
Identificador de Llamadas
Buzon de Mensajes
Conferencia multiple
Sistemas de respuesta interactiva (IVR)
Grabacion digital de llamadas
Limite de tiempo para llamadas
Estadisticas de llamadas

Los dispositivos FXO permiten manejar una línea telefónica externa, los dispositivos FXO solo “reciben” tono de marcado. Una tarjeta FXO analógica es un modem. Por definición. Modula y demodula datos por banda analógica. Con asterisk las extensiones no estan limitadas al uso de dispositivos FXO.

Instalación:
Instalamos nuestra tarjeta en un bus PCI libre, iniciamos la PC y al cargar la aplicación KUDUZU reconocerá el chip de nuestra tarjeta que por lo general será Motorola, Intel o Ambient. Seleccionamos CONFIGURE, y dejamos que siga cargando el sistema.

Para instalar este hardware solo basta con definir los parametros de inicialización de la tarjeta, tener cargado el módulo de la tarjeta (wcfxo) y configurar el archivo /etc/asterisk/zapata.conf para que Asterisk utilice este dispositivo:

Hacemos un genzaptelconf para que Trixbox lo reconozca.

[root@danetperu.com ~]# genzaptelconf

Esto creará una entrada en nuestro zaptel.conf y quedará algo así:

[root@danetperu.com ~]# cat /etc/zaptel.conf
fxsks=1
loadzone = us
defaultzone=us

Hacemos un Ztcfg para chequear que nuestra señalización sea FXS KS

[root@danetperu.com ~]# ztcfg -vvv
Zaptel Configuration
======================
Channel map:

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

1 channels configured.

Ahora Editaremos nuestro Zapata.conf y veremos que quede como en el siguiente ejemplo:

[root@danetperu.com ~]# nano /etc/asterisk/zapata.conf
[trunkgroups]

[channels]

language=es
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=1.0
txgain=1.0
group=0
callgroup=1
pickupgroup=1
immediate=no
busydetect=yes ; Muy Importante para esta tarjeta
busycount=6 ; Muy Importante para esta tarjeta

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf

——————
Verificamos que esté bien configurado y sin alarmas, para eso debemos conectar nuestra linea análoga en el puerto LINE de nuestra tarjeta y debemos tener lo siguiente:

[root@danetperu.com ~]# zttool
———— Zapata Telephony Interfaces ——–
Alarms Span
OK Wildcard X100P Board
UNCONFIGURED ZTDUMMY/1 1

******* select ******* OK ********

Para ver que tipo de tarjeta tenemos en nuestro sistema tipeamos lo siguiente:

[root@danetperu.com ~]# dmesg
(….)
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.2.5 Echo Canceller: KB1
Registered Tormenta2 PCI
ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 9 (level, low) -> IRQ 9
PCI: Setting latency timer of device 0000:00:0e.0 to 64
wcfxo: DAA mode is ‘FCC’
Found a Wildcard FXO: Wildcard X100P

Registered tone zone 0 (United States / North America)

Ahora solo tenemos que entrar en el Freepbx y verificar:

Ajustes -> Troncales -> Zap/g0
Maximo de Canales Simultaneos = 1

This entry was posted on Saturday, April 28th, 2007 at 7:07 and is filed under Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

There is currently one response to “Configurar tarjeta FXO WILDCARD X100P con Asterisk FREEPBX”

Why not let us know what you think by adding your own comment! Your opinion is as valid as anyone elses, so come on... let us know what you think.

  1. 1 On December 20th, 2008, Wasn't what I was looking for, but very neat stuff. Have a super day. said:

    Marlene A…

    Heya, just happened in….

Leave a Reply