Problema con Troncal

Discussion in 'Elastix 2.x' started by zeoneo, Mar 8, 2010.

  1. zeoneo

    Joined:
    Sep 24, 2009
    Messages:
    549
    Likes Received:
    0
    Mis amigos...

    Creo tener todo correctamente configurado pero aun asi no pueod hacer que las llamadas salgan de la central por la troncal.

    dejo un detalle de lo que ahce la central cuando trato de hacer la llamada:

    [hide] -- Executing [90323194817@from-internal:1] Macro("SIP/1000-0000000a", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/1000-0000000a", "AMPUSER=1000") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/1000-0000000a", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/1000-0000000a", "1|Set|REALCALLERIDNUM=1000") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/1000-0000000a", "AMPUSER=1000") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/1000-0000000a", "AMPUSERCIDNAME=Prueba") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1000-0000000a", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/1000-0000000a", "AMPUSERCID=1000") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/1000-0000000a", "CALLERID(all)="Prueba" <1000>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/1000-0000000a", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/1000-0000000a", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/1000-0000000a", "Using CallerID "Prueba" <1000>") in new stack
    -- Executing [90323194817@from-internal:2] Set("SIP/1000-0000000a", "_NODEST=") in new stack
    -- Executing [90323194817@from-internal:3] Macro("SIP/1000-0000000a", "record-enable|1000|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/1000-0000000a", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/1000-0000000a", "recordingcheck|20100308-121350|1268061230.10") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20100308-121350|1268061230.10: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/1000-0000000a", "") in new stack
    -- Executing [90323194817@from-internal:4] Macro("SIP/1000-0000000a", "dialout-trunk|2|0323194817||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/1000-0000000a", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1000-0000000a", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1000-0000000a", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/1000-0000000a", "DIAL_NUMBER=0323194817") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/1000-0000000a", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/1000-0000000a", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1000-0000000a", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1000-0000000a", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/1000-0000000a", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/1000-0000000a", "outbound-callerid|2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1000-0000000a", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1000-0000000a", "0|Set|REALCALLERIDNUM=1000") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1000-0000000a", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/1000-0000000a", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/1000-0000000a", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/1000-0000000a", "TRUNKOUTCID="Telenux"<5628408210>") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1000-0000000a", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/1000-0000000a", "1|Set|CALLERID(all)=Telenux<5628408210>") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/1000-0000000a", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1000-0000000a", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/1000-0000000a", "1|AGI|fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/1000-0000000a", "OUTNUM=0323194817") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/1000-0000000a", "custom=SIP/telenux out") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1000-0000000a", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/1000-0000000a", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1000-0000000a", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/1000-0000000a", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1000-0000000a", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/1000-0000000a", "SIP/telenux out/0323194817|300|") in new stack
    -- Called telenux out/0323194817
    == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:20] Goto("SIP/1000-0000000a", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/1000-0000000a", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/1000-0000000a", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 18) - failing through to other trunks") in new stack
    -- Executing [90323194817@from-internal:5] Macro("SIP/1000-0000000a", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("SIP/1000-0000000a", "all-circuits-busy-now|noanswer") in new stack
    -- <SIP/1000-0000000a> Playing 'all-circuits-busy-now' (language 'en')
    -- Executing [s@macro-outisbusy:2] Playback("SIP/1000-0000000a", "pls-try-call-later|noanswer") in new stack
    -- <SIP/1000-0000000a> Playing 'pls-try-call-later' (language 'en')
    -- Executing [s@macro-outisbusy:3] Macro("SIP/1000-0000000a", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1000-0000000a", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/1000-0000000a", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/1000-0000000a", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/1000-0000000a", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/1000-0000000a' in macro 'hangupcall'
    == Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'SIP/1000-0000000a' in macro 'outisbusy'
    == Spawn extension (from-internal, 90323194817, 5) exited non-zero on 'SIP/1000-0000000a'
    -- Executing [h@from-internal:1] Macro("SIP/1000-0000000a", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1000-0000000a", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/1000-0000000a", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/1000-0000000a", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/1000-0000000a", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/1000-0000000a' in macro 'hangupcall'
    == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1000-0000000a'
    [/hide]

    Ojala alguien de los maestros me pueda ayudar...

    Nos vemos
     
  2. jcastellanos

    Joined:
    Feb 10, 2009
    Messages:
    2,404
    Likes Received:
    0
    es la tronal sip?
     
  3. zeoneo

    Joined:
    Sep 24, 2009
    Messages:
    549
    Likes Received:
    0
    si sr. troncal sip, esta es la que conversabamos en otro foro que quiero hacer una manual más practico..

    Atento a tus comentarios

    Nos vemos
     
  4. jcastellanos

    Joined:
    Feb 10, 2009
    Messages:
    2,404
    Likes Received:
    0
    nos tenemos que programar para ojearlo
     
  5. zeoneo

    Joined:
    Sep 24, 2009
    Messages:
    549
    Likes Received:
    0
    ok, quedo a la espera, en otro foro te postee mi correo para coordinar...

    Nos vemos
     

Share This Page