Comandos dahdi en cli no funcionan.

YoSoy

Joined
Sep 14, 2010
Messages
25
Likes
0
Points
0
#1
Primero les quiero agradecer por su tiempo atendiendo mi problema.



Luego de un problema con el servicio electrico largo de nuestra central telefónica, se notó que teníamos un problema con la tarjeta OpenVox que utilizamos para conectar nuestro equipo a líneas telefónicas POTS normales. Las llamadas nio ingresan y tampoco salen.
Datos del sistema:
Elastix 1.6 32 bits.
Tarjetas: OpenVox A400P.
Se realizó un upgrade total del sistema sin sulucionar el problema.
EL PROBLEMA:
Este problema se refleja como la imposibilidad de usar las troncales conectadas hacia la tarjeta OpenVox.
INTENTO DE FALLIDO DE RECARGA DE MODULO DAHDI:
elastix*CLI> dahdi
No such command 'dahdi' (type 'help dahdi' for other possible commands)
[Sep 16 22:08:43] NOTICE[3099]: chan_iax2.c:7564 update_registry: Restricting registration for peer '115' to 60 seconds (requested 300)
elastix*CLI>
elastix*CLI>
elastix*CLI>
elastix*CLI>
elastix*CLI> module reload ch
chan_agent.so chan_iax2.so chan_mgcp.so chan_misdn.so chan_sip.so chan_skype.so chan_woomera.so
chan_dahdi.so
elastix*CLI> module reload chan_dahdi.so
[Sep 16 22:09:05] NOTICE[28301]: loader.c:686 ast_module_reload: The module 'chan_dahdi.so' was not properly initialized. Before reloading the module, you must run "module load chan_dahdi.so" and fix whatever is preventing the module from being initialized.
elastix*CLI> module unload chan_dahdi.so
== Unregistered application 'DAHDISendKeypadFacility'
== Unregistered application 'ZapSendKeypadFacility'
== Unregistered application 'DAHDIAcceptR2Call'
== Unregistered application 'ZapAcceptR2Call'
== Unregistered channel 1
== Unregistered channel 2
== Unregistered channel 3
[Sep 16 22:09:38] NOTICE[3100]: chan_iax2.c:7564 update_registry: Restricting registration for peer '115' to 60 seconds (requested 300)
-- Remote UNIX connection
-- Remote UNIX connection disconnected
elastix*CLI> module load chan_dahdi.so
== Registered application 'DAHDISendKeypadFacility'
== Registered application 'ZapSendKeypadFacility'
== Registered application 'DAHDIAcceptR2Call'
== Registered application 'ZapAcceptR2Call'
== Parsing '/etc/asterisk/chan_dahdi.conf': Found
== Parsing '/etc/asterisk/dahdi-channels.conf': Found
== Parsing '/etc/asterisk/chan_dahdi_additional.conf': Found
[Sep 16 22:10:05] WARNING[28301]: chan_dahdi.c:4998 handle_alarms: Detected alarm on channel 1: Red Alarm
-- Registered channel 1, FXS Kewlstart signalling
[Sep 16 22:10:05] WARNING[28301]: chan_dahdi.c:4998 handle_alarms: Detected alarm on channel 2: Red Alarm
-- Registered channel 2, FXS Kewlstart signalling
[Sep 16 22:10:05] WARNING[28301]: chan_dahdi.c:4998 handle_alarms: Detected alarm on channel 3: Red Alarm
-- Registered channel 3, FXS Kewlstart signalling
[Sep 16 22:10:05] WARNING[28301]: chan_dahdi.c:1816 dahdi_open: Unable to specify channel 4: No such device or address
[Sep 16 22:10:05] ERROR[28301]: chan_dahdi.c:8712 mkintf: Unable to open channel 4: No such device or address
here = 0, tmp->channel = 4, channel = 4
[Sep 16 22:10:05] ERROR[28301]: chan_dahdi.c:13000 build_channels: Unable to register channel '4'
[Sep 16 22:10:33] NOTICE[3093]: chan_iax2.c:7564 update_registry: Restricting registration for peer '115' to 60 seconds (requested 300)
elastix*CLI> dah
No such command 'dah' (type 'help dah' for other possible commands)
elastix*CLI> dahdi
No such command 'dahdi' (type 'help dahdi' for other possible commands)
elastix*CLI>
[root@elastix asterisk]# more chan_dahdi.conf
; Auto-generated by /usr/sbin/hardware_detector
[trunkgroups]
[channels]
; cambios para definir
;context=from-pstn
context=from-zaptel ; agregado
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
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
;Uncomment these lines if you have problems with the disconection of your analog lines
busydetect=yes
busycount=3
;language=es
loadzone=us
immediate=no
#include dahdi-channels.conf
#include chan_dahdi_additional.conf
[root@elastix asterisk]# more dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Tue Sep 14 23:15:19 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 E/F Board 5" (MASTER)
;;; line="1 WCTDM/4/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default
;;; line="2 WCTDM/4/1 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
callerid=
group=
context=default
;;; line="3 WCTDM/4/2 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default
[root@elastix asterisk]# more chan_dahdi_additional.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;
;;;;;;[110]
signalling=fxo_ks
pickupgroup=
mailbox=110@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <110>
busydetect=no
busycount=7
accountcode=
channel=>4
 

ingcomrbr

Joined
Aug 12, 2008
Messages
8
Likes
0
Points
0
#2
Ya intentaste hacer que tu tarjeta sea reconocida de nuevo por el menu hardware detection? Saludos. Intentalo y dime que pasa.
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#3
estimado YoSoy,

Las preguntas en español las deberías hacer en el foro correspondiente en español. Moví este post al mismo.

Saludos,

Rafael
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top