Alta troncal SIP en el sistema.

Discussion in 'Elastix 2.x' started by wysiwyg, Jun 9, 2010.

  1. wysiwyg

    Joined:
    Jan 13, 2009
    Messages:
    45
    Likes Received:
    0
    Buenas tardes,

    Un proveedor de voz ip nos ha proporcionado las claves y configuracion para activar la TRONCAL SIP en nuestro servidor elastix. Nuestro servidor esta registrado en los sistemas del proveedor pero no ponemos realizar llamadas.

    En varios contactos con el proveedor nos dicen que el problema lo tenemos nosotros sin embargo tenemos otra TRONCAL sip con otro proveedor diferente y podemos realizar llamadas.

    Les adjunto el log que me da el CLI cuando intento llamar desde una extension a un numero movil.
    Quisiera saber si es que el proveedor tiene saturacion o que hay algo mal configurado en nuestro sistema.

    Si necesitan mas detalles para poder ayudarme ruego me lo hagan saber.

    Gracias.

    elastix*CLI>
    -- Executing [605894769@from-internal:1] Macro("SIP/3001-b66e9648", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/3001-b66e9648", "AMPUSER=3001") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/3001-b66e9648", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/3001-b66e9648", "1|Set|REALCALLERIDNUM=3001") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/3001-b66e9648", "AMPUSER=3001") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/3001-b66e9648", "AMPUSERCIDNAME=Ciber - Oficina") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/3001-b66e9648", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/3001-b66e9648", "AMPUSERCID=3001") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/3001-b66e9648", "CALLERID(all)="Ciber - Oficina" <3001>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/3001-b66e9648", "1|Set|CHANNEL(language)=es") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/3001-b66e9648", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/3001-b66e9648", "Using CallerID "Ciber - Oficina" <3001>") in new stack
    -- Executing [605894769@from-internal:2] Set("SIP/3001-b66e9648", "_NODEST=") in new stack
    -- Executing [605894769@from-internal:3] Macro("SIP/3001-b66e9648", "record-enable|3001|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/3001-b66e9648", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/3001-b66e9648", "0|MacroExit|") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/3001-b66e9648", "0?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/3001-b66e9648", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/3001-b66e9648", "1|MacroExit|") in new stack
    -- Executing [605894769@from-internal:4] Macro("SIP/3001-b66e9648", "dialout-trunk|6|605894769||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/3001-b66e9648", "DIAL_TRUNK=6") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/3001-b66e9648", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/3001-b66e9648", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/3001-b66e9648", "DIAL_NUMBER=605894769") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/3001-b66e9648", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/3001-b66e9648", "OUTBOUND_GROUP=OUT_6") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/3001-b66e9648", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/3001-b66e9648", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/3001-b66e9648", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/3001-b66e9648", "outbound-callerid|6") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/3001-b66e9648", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/3001-b66e9648", "0|Set|REALCALLERIDNUM=3001") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/3001-b66e9648", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/3001-b66e9648", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/3001-b66e9648", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/3001-b66e9648", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/3001-b66e9648", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/3001-b66e9648", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/3001-b66e9648", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/3001-b66e9648", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/3001-b66e9648", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/3001-b66e9648", "0|AGI|fixlocalprefix") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/3001-b66e9648", "OUTNUM=605894769") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/3001-b66e9648", "custom=SIP/Adiptel-Vozip") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/3001-b66e9648", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/3001-b66e9648", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/3001-b66e9648", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/3001-b66e9648", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/3001-b66e9648", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/3001-b66e9648", "SIP/Adiptel-Vozip/605894769|300|") in new stack
    == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/3001-b66e9648", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 20") in new stack
    -- Executing [s@macro-dialout-trunk:21] Goto("SIP/3001-b66e9648", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/3001-b66e9648", "RC=20") in new stack
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/3001-b66e9648", "20|1") in new stack
    -- Goto (macro-dialout-trunk,20,1)
    -- Executing [20@macro-dialout-trunk:1] Goto("SIP/3001-b66e9648", "continue|1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/3001-b66e9648", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,continue,3)
    -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/3001-b66e9648", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 20 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:4] Set("SIP/3001-b66e9648", "CALLERID(number)=3001") in new stack
    -- Executing [605894769@from-internal:5] Macro("SIP/3001-b66e9648", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/3001-b66e9648", "") in new stack
    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/3001-b66e9648", "0?emergency|1") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/3001-b66e9648", "0?intracompany|1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("SIP/3001-b66e9648", "all-circuits-busy-now&pls-try-call-later| noanswer") in new stack
    -- <SIP/3001-b66e9648> Playing 'all-circuits-busy-now' (language 'es')
    -- <SIP/3001-b66e9648> Playing 'pls-try-call-later' (language 'es')
    == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/3001-b66e9648' in macro 'outisbusy'
    == Spawn extension (from-internal, 605894769, 5) exited non-zero on 'SIP/3001-b66e9648'
    -- Executing [h@from-internal:1] Macro("SIP/3001-b66e9648", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/3001-b66e9648", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/3001-b66e9648", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/3001-b66e9648", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/3001-b66e9648", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/3001-b66e9648' in macro 'hangupcall'
    == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/3001-b66e9648'
     
  2. nano

    Joined:
    Mar 2, 2008
    Messages:
    59
    Likes Received:
    0
    mejor coloca la configuracion sip de la troncal. Podrias probar con sip show registry o sip show peers desde la consola de asterisk, para ver si esta registrada la troncal.

    saludos
     

Share This Page