Hola
Tengo una tarjeta Sangoma USBFXO U100 todo marchaba bien, pero el equipo se movió de lugar y no logro hacerla jalar
Se ejecuto de nuevo el proceso de instalación y si realizo los test al hardware todo se ve bien.
Ejecute el siguiente procedimiento
http://wiki.sangoma.com/sangoma-wanpipe-usbfxo#firmware-installation
Resulta que cuando pongo la dahdi en el dial plan, pareciera que todo marcha bien, marca sin hacer somido y mi softphone se cualga como si estuviera llamando pero el teléfono del cliente nunca timbra.
Tengo mi dial plan de la siguiente forma:
exten => _35281XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _35281XXXXXXXX,2,NoOp(${EXTEN})
exten => _35281XXXXXXXX,3,Dial(DAHDI/2/${EXTEN:-8},60,tTorR)
exten => _35281XXXXXXXX,4,Dial(DAHDI/1/${EXTEN:-8},60,tTorR)
exten => _35281XXXXXXXX,7,Hangup
Y en el log veo lo siguiente:
xecuting [3528181232173@default:1] AGI("IAX2/cc300-6725", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [3528181232173@default:2] NoOp("IAX2/cc300-6725", "3528181232176") in new stack
-- Executing [3528181232173@default:3] Dial("IAX2/cc300-6725", "dahdi/2/81232176|60|tTorR") in new stack
-- Called 2/81232173
-- DAHDI/2-1 answered IAX2/cc300-6725
[Jan 13 22:44:17] NOTICE: chan_sip.c:8208 sip_reg_timeout: -- Registration for '20110221@65.132.31.165' timed out, trying again (Attempt #189)
[Jan 13 22:44:17] NOTICE: chan_sip.c:8208 sip_reg_timeout: -- Registration for '8006078427@65.132.31.165' timed out, trying again (Attempt #189)
-- Registered IAX2 'cc300' (AUTHENTICATED) at 189.224.111.8:56128
-- Added extension 'cc300' priority 1 to default
-- Executing [h@default:1] DeadAGI("IAX2/cc300-6725", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----10-----7") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----10-----7 completed, returning 0
-- Hungup 'DAHDI/2-1'
== Spawn extension (default, 3528181232173, 3) exited non-zero on 'IAX2/cc300-6725'
-- Hungup 'IAX2/cc300-6725'
Veo los canales
Vicibox*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret
pseudo default default
1 from-zaptel default
2 from-zaptel default
Veo este mensaje que me llama la atención pero no se como arreglarlo
Vicibox:/home/callcom # dahdi_hardware
driver should be 'wanpipe' but is actually 'sdlausb'
usb:005/002 wanpipe+ 10c4:8461 Sangoma WANPIPE USB-FXO Device
Si hago wanroute restart obtengo error, como si el wanpipe1 estuviera bloqueado por algún dispositivo.
wanrouter restart
Shutting down wanpipe1 interface: w1g1
Shutting down device: wanpipe1
wanconfig: WAN device wanpipe1 did not shutdown
: ioctl(wanpipe1,ROUTER_DOWN) failed:
: 16 - Device or resource busy
If you router was not running ignore this message
!! Otherwise, check the /var/log/wanrouter and
/var/log/messages for errors
Devices Still Running:
wanpipe1
Error: Device wanpipe1 is already running
Run 'wanrouter stop wanpipe1' first
Configuring interfaces: w1g1 SIOCSIFFLAGS: Invalid argument
done.
Waiting for Dahdi /dev/dahdi ...
DAHDI Tools Version - 2.4.1
DAHDI Version: 2.4.1.2
Echo Canceller(s): MG2
Configuration
2 channels to configure.
Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Espero puedan apoyarme