Problemas con TDM2400 "all-circuits-busy-now"

Discussion in 'General' started by haraujo, Feb 1, 2011.

  1. haraujo

    Joined:
    Sep 20, 2010
    Messages:
    17
    Likes Received:
    0
    Hola a todos, he instalado la version 2.0 de elastix con 1 tarjeta digium tdm2400..la instalacion es sencilla y me reconocio la tarjeta con los 2 modulos FXO que le agregue. Cree un Zap Trunk (DAHDI compatibility mode) y le agregue una ruta saliente con este DIAl-RULE 9|. y el trunk sequence para que salga por el zap trunk que cree anteriormente..

    desde mi softphone intento llamar a un numero de la PSTN marcando 9 luego el numero 942845 y enseguida el asterisk me responde "all-circuits-busy-now&pls-try-call-later" y... cuando llamo desde la PSTN a mi softphone ,la llamada entra, suena mi softphone y cuando atiendo se corta llamada, pero vuelve a sonar mi softphone..

    cualquier ayuda o comentario es apreciada..

    muchas gracias.
     
  2. haraujo

    Joined:
    Sep 20, 2010
    Messages:
    17
    Likes Received:
    0
    quiero agregar algo mas.. solo tengo conectado 1 linea analogica a la tarjeta TDM2400 y..

    desde la CLI de asterisk

    cuando le doy este comando "dahdi show channel 1"

    siempre el estado de ese canal es "OFF-HOOK" mientras que los otros canales siempre estan "ON-HOOK"

    es correcto eso?
     
  3. mm.alpha2k

    Joined:
    Jun 19, 2010
    Messages:
    165
    Likes Received:
    0
    Si pegas la salida del cli.. creo que vamos por buen camino para ayudarte.
     
  4. haraujo

    Joined:
    Sep 20, 2010
    Messages:
    17
    Likes Received:
    0
    elx*CLI> dahdi show channels
    Chan Extension Context Language MOH Interpret Blocked State
    pseudo default default In Service
    1 from-pstn default In Service
    2 from-pstn default In Service
    3 from-pstn default In Service
    4 from-pstn default In Service
    5 from-pstn default In Service
    6 from-pstn default In Service
    7 from-pstn default In Service
    8 from-pstn default In Service

    elx*CLI> dahdi show channel 1

    Channel: 1
    File Descriptor: 18
    Span: 1
    Extension:
    Dialing: no
    Context: from-pstn
    Caller ID:
    Calling TON: 0
    Caller ID name:
    Mailbox: none
    Destroy: 0
    InAlarm: 0
    Signalling Type: FXS Kewlstart
    Radio: 0
    Owner: <None>
    Real: <None>
    Callwait: <None>
    Threeway: <None>
    Confno: -1
    Propagated Conference: -1
    Real in conference: 0
    DSP: no
    Busy Detection: no
    TDD: no
    Relax DTMF: no
    Dialing/CallwaitCAS: 0/0
    Default law: ulaw
    Fax Handled: no
    Pulse phone: no
    DND: no
    Echo Cancellation:
    128 taps
    (unless TDM bridged) currently OFF
    Wait for dialtone: 0ms
    Actual Confinfo: Num/0, Mode/0x0000
    Actual Confmute: No
    Hookstate (FXS only): Offhook

    elx*CLI> dahdi show channel 2
    Channel: 2
    File Descriptor: 19
    Span: 1
    Extension:
    Dialing: no
    Context: from-pstn
    Caller ID:
    Calling TON: 0
    Caller ID name:
    Mailbox: none
    Destroy: 0
    InAlarm: 1
    Signalling Type: FXS Kewlstart
    Radio: 0
    Owner: <None>
    Real: <None>
    Callwait: <None>
    Threeway: <None>
    Confno: -1
    Propagated Conference: -1
    Real in conference: 0
    DSP: no
    Busy Detection: no
    TDD: no
    Relax DTMF: no
    Dialing/CallwaitCAS: 0/0
    Default law: ulaw
    Fax Handled: no
    Pulse phone: no
    DND: no
    Echo Cancellation:
    128 taps
    (unless TDM bridged) currently OFF
    Wait for dialtone: 0ms
    Actual Confinfo: Num/0, Mode/0x0000
    Actual Confmute: No
    Hookstate (FXS only): Onhook
     
  5. haraujo

    Joined:
    Sep 20, 2010
    Messages:
    17
    Likes Received:
    0
    y esta es la salida del CLI cuando intento hacer una llamada desde mi softphone

    elx*CLI>
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Executing [9942845@from-internal:1] Macro("SIP/6000-00000001", "user-callerid,SKIPTTL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/6000-00000001", "AMPUSER=6000") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/6000-00000001", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/6000-00000001", "1?Set(REALCALLERIDNUM=6000)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/6000-00000001", "AMPUSER=6000") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/6000-00000001", "AMPUSERCIDNAME=Hugo Araujo") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/6000-00000001", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/6000-00000001", "AMPUSERCID=6000") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/6000-00000001", "CALLERID(all)="Hugo Araujo" <6000>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/6000-00000001", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/6000-00000001", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/6000-00000001", "Using CallerID "Hugo Araujo" <6000>") in new stack
    -- Executing [9942845@from-internal:2] Set("SIP/6000-00000001", "_NODEST=") in new stack
    -- Executing [9942845@from-internal:3] Macro("SIP/6000-00000001", "record-enable,6000,OUT,") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/6000-00000001", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/6000-00000001", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/6000-00000001", "0?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/6000-00000001", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/6000-00000001", "1?MacroExit()") in new stack
    -- Executing [9942845@from-internal:4] Macro("SIP/6000-00000001", "dialout-trunk,2,9942845,,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/6000-00000001", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/6000-00000001", "0?sub-pincheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/6000-00000001", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/6000-00000001", "DIAL_NUMBER=9942845") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/6000-00000001", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/6000-00000001", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/6000-00000001", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/6000-00000001", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/6000-00000001", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/6000-00000001", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/6000-00000001", "outbound-callerid,2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/6000-00000001", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/6000-00000001", "0?Set(REALCALLERIDNUM=6000)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/6000-00000001", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/6000-00000001", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/6000-00000001", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/6000-00000001", "TRUNKOUTCID=Carpenter") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/6000-00000001", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/6000-00000001", "1?Set(CALLERID(all)=Carpenter)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/6000-00000001", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/6000-00000001", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/6000-00000001", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/6000-00000001", "1?AGI(fixlocalprefix)") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    == fixlocalprefix: Dialpattern XX. matched. 9942845 -> 9942845
    -- <SIP/6000-00000001>AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/6000-00000001", "OUTNUM=9942845") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/6000-00000001", "custom=DAHDI/1") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/6000-00000001", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/6000-00000001", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/6000-00000001", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/6000-00000001", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/6000-00000001", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/6000-00000001", "DAHDI/1/9942845,300,") in new stack
    -- Called 1/9942845
    -- Hungup 'DAHDI/1-1'
    == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/6000-00000001", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0") in new stack
    -- Executing [s@macro-dialout-trunk:21] Goto("SIP/6000-00000001", "s-CHANUNAVAIL,1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/6000-00000001", "RC=0") in new stack
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/6000-00000001", "0,1") in new stack
    -- Goto (macro-dialout-trunk,0,1)
    -- Executing [0@macro-dialout-trunk:1] Goto("SIP/6000-00000001", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/6000-00000001", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,continue,3)
    -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/6000-00000001", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:4] Set("SIP/6000-00000001", "CALLERID(number)=6000") in new stack
    -- Executing [9942845@from-internal:5] Macro("SIP/6000-00000001", "outisbusy,") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/6000-00000001", "") in new stack
    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/6000-00000001", "0?emergency,1") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/6000-00000001", "0?intracompany,1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("SIP/6000-00000001", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
    -- <SIP/6000-00000001> Playing 'all-circuits-busy-now.gsm' (language 'en')
    -- <SIP/6000-00000001> Playing 'pls-try-call-later.gsm' (language 'en')
    -- Executing [s@macro-outisbusy:5] Congestion("SIP/6000-00000001", "20") in new stack
    == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/6000-00000001' in macro 'outisbusy'
    == Spawn extension (from-internal, 9942845, 5) exited non-zero on 'SIP/6000-00000001'
    -- Executing [h@from-internal:1] Macro("SIP/6000-00000001", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/6000-00000001", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] NoOp("SIP/6000-00000001", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/6000-00000001", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/6000-00000001", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,10)
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/6000-00000001", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,12)
    -- Executing [s@macro-hangupcall:12] Hangup("SIP/6000-00000001", "") in new stack
    == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/6000-00000001' in macro 'hangupcall'
    == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/6000-00000001'
     
  6. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    no tenes que usar Dahdi compatibility mode ya no va mas en 2.8 de freepbx...
    borralo create nu dahdi trunk y verifica que tengas todas esas lineas para smiplificarte la vida en un grupo ejemplo group 0 y luego en el dahdi le pones a la regla g0 por ejemplo en vez de canal 1 vas a ver que si te disca correctamente ahi!
     
  7. haraujo

    Joined:
    Sep 20, 2010
    Messages:
    17
    Likes Received:
    0
    Hola Inge., disculpa la ignorancia, pero es que no tengo mucha experiencia tocando los archivos de configuracion de asterisk.. exactamente que archivos deberia borrar y crearlos nuevamente?

    saludos,
     
  8. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    no los tenes que borrar o tocar seguro los tenes creados por default bien...solo en la config de freepbx...tocas el dahdi trunk...bajate el elastix without tears y pegale una leida primero antes de pasar a tocar en la vida real, create una maquina de pruebas que puedas formatear y frmatear y vas a ver como se aprende!!!
     
  9. haraujo

    Joined:
    Sep 20, 2010
    Messages:
    17
    Likes Received:
    0
    Ok Inge leere ese manual.. y esta es mi maquina de pruebas justamente.. en realidad deberia entrar en produccion dentro de unas semanas pero mientras sera de pruebas xD, gracias por la info.
     

Share This Page